mirror of
https://github.com/minetest/minetest.git
synced 2024-12-12 09:23:15 +01:00
31e0667a4a
This allows mods to perform both asynchronous and synchronous HTTP requests. Mods are only granted access to HTTP APIs if either mod security is disabled or if they are whitelisted in any of the the secure.http_mods and secure.trusted_mods settings. Adds httpfetch_caller_alloc_secure to generate random, non-predictable caller IDs so that lua mods cannot spy on each others HTTP queries.
26 lines
899 B
CMake
26 lines
899 B
CMake
set(common_SCRIPT_LUA_API_SRCS
|
|
${CMAKE_CURRENT_SOURCE_DIR}/l_areastore.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/l_base.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/l_craft.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/l_env.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/l_inventory.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/l_item.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/l_mapgen.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/l_nodemeta.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/l_nodetimer.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/l_noise.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/l_object.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/l_particles.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/l_rollback.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/l_server.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/l_util.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/l_vmanip.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/l_settings.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/l_http.cpp
|
|
PARENT_SCOPE)
|
|
|
|
set(client_SCRIPT_LUA_API_SRCS
|
|
${CMAKE_CURRENT_SOURCE_DIR}/l_mainmenu.cpp
|
|
PARENT_SCOPE)
|
|
|