🦄 refactor(decoder glimpse detector): rename to lpi plugin

This commit is contained in:
yangwei
2024-08-28 20:45:57 +08:00
parent b2647a5a75
commit 2f586a456b
648 changed files with 125 additions and 181 deletions

View File

@@ -1,3 +1,8 @@
set(LIBRARY session_manager plugin_manager ip_reassembly packet_io snowflake packet pthread fieldstat4 toml nmx_pool)
set(PLUGIN http lpi)
include_directories(${CMAKE_SOURCE_DIR}/infra)
add_subdirectory(log)
add_subdirectory(tuple)
add_subdirectory(packet_parser)

View File

@@ -1,7 +1,4 @@
set(SOURCE stellar_config.c stellar_stat.c stellar_core.c)
set(LIBRARY session_manager plugin_manager ip_reassembly packet_io snowflake packet pthread fieldstat4 toml nmx_pool)
set(PLUGIN http glimpse_detector)
add_library(core STATIC ${SOURCE})
target_link_libraries(core PUBLIC ${LIBRARY})
@@ -9,3 +6,4 @@ target_link_libraries(core PUBLIC ${LIBRARY})
add_library(stellar_devel SHARED ${SOURCE})
set_target_properties(stellar_devel PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/version.map")
target_link_libraries(stellar_devel PRIVATE -Wl,--whole-archive ${LIBRARY} -Wl,--no-whole-archive)

View File

@@ -72,8 +72,8 @@ global:
http_decoder_tcp_stream_msg_cb;
http_tunnel_message_*;
APP_GLIMPSE_DETECTOR_LOAD;
APP_GLIMPSE_DETECTOR_UNLOAD;
lpi_plugin_load;
lpi_plugin_unload;
local: *;
};