Refactored plugin management interface
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
[PLUGINFO]
|
||||
INIT_FUNC=custom_plugin_init
|
||||
DESTROY_FUNC=custom_plugin_destroy
|
||||
LIBARY_PATH=./plugins/custom_event_plugin/custom_event_plugin.so
|
||||
EXIT_FUNC=custom_plugin_exit
|
||||
LIBRARY_PATH=./plugins/custom_event_plugin/custom_event_plugin.so
|
||||
|
||||
|
||||
# Support SESSION_EVENT_TYPE
|
||||
# OPENING,RAWPKT,ORDPKT,META,CLOSING,ALL
|
||||
|
||||
[SESSION_TYPE.TCP]
|
||||
SESSION_EVENT_TYPE=ALL
|
||||
SESSION_EVENT_CALLBACK=custom_plugin_entry
|
||||
|
||||
[SESSION_TYPE.CUSTOM_A]
|
||||
SESSION_EVENT_TYPE=ALL
|
||||
SESSION_EVENT_TYPE=OPENING,ORDPKT,CLOSING
|
||||
SESSION_EVENT_CALLBACK=custom_event_plugin_entry
|
||||
Reference in New Issue
Block a user