Changeset 20 in Main for trunk/Server/tw_module.h
- Timestamp:
- Sep 14, 2024, 6:59:15 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/tw_module.h
r18 r20 13 13 14 14 enum TW_MODULE_RETURN { 15 TW_MODULE_PASS = 0, /* Pass to the next module. */16 TW_MODULE_STOP,/* Do not pass to the next module. */17 TW_MODULE_ERROR/* Error, and do not pass to the next module. */15 _TW_MODULE_PASS = 0, /* Pass to the next module. */ 16 _TW_MODULE_STOP, /* Do not pass to the next module. */ 17 _TW_MODULE_ERROR /* Error, and do not pass to the next module. */ 18 18 }; 19 20 #define TW_MODULE_PASS _TW_MODULE_PASS 21 #define TW_MODULE_STOP _TW_MODULE_STOP 22 #define TW_MODULE_ERROR(x) (_TW_MODULE_ERROR | ((x) << 8)) 19 23 20 24 typedef int (*tw_mod_init_t)(struct tw_config* config, struct tw_tool* tools);
Note:
See TracChangeset
for help on using the changeset viewer.