Changeset 315 in Main for trunk/Server/tw_module.h
- Timestamp:
- Oct 14, 2024, 7:01:02 PM (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/tw_module.h
r314 r315 16 16 #include <os2.h> 17 17 #define MODULE_DECL __export APIENTRY 18 #elif defined(__WATCOMC__) 19 #define MODULE_DECL __export 18 20 #else 19 21 #define MODULE_DECL … … 47 49 #define TW_CONFIG_ERROR _TW_CONFIG_ERROR 48 50 49 typedef int (MODULE_DECL *tw_mod_init_t)(struct tw_config* config, struct tw_tool* tools);50 typedef int (MODULE_DECL *tw_mod_request_t)(struct tw_tool* tools, struct tw_http_request* req, struct tw_http_response* res);51 typedef int (MODULE_DECL *tw_mod_config_t)(struct tw_tool* tools, char** argv, int argc);51 typedef int(MODULE_DECL* tw_mod_init_t)(struct tw_config* config, struct tw_tool* tools); 52 typedef int(MODULE_DECL* tw_mod_request_t)(struct tw_tool* tools, struct tw_http_request* req, struct tw_http_response* res); 53 typedef int(MODULE_DECL* tw_mod_config_t)(struct tw_tool* tools, char** argv, int argc); 52 54 53 55 #ifdef SOURCE
Note:
See TracChangeset
for help on using the changeset viewer.