$(CC) $(CFLAGS) -I ../Server -c -o $@ $<
clean:
- rm -f *.o *.so *.a *.dll *.tds
+ rm -f *.o *.so *.a *.dll *.tds *.obj
#include <cm_string.h>
int MODULE_DECL mod_init(struct tw_config* config, struct tw_tool* tools) {
- tools->log("CGI", "Initializing Proxy module");
+ tools->log("Proxy", "Initializing Proxy module");
tools->add_version("Proxy/1.0");
return 0;
}
Haiku Working
Minix Working
UnixWare Working on 7.1.1
-OS/2 Mostly working, module is broken. Help required!
+OS/2 Working
+NetWare WIP
PlayStation Portable Working, missing module support
TODO: Get multi-threading working (maybe)
PlayStation 2 Not working
}
#endif
for(i = 0; i < config.module_count; i++) {
+#ifdef __OS2__
+ tw_mod_request_t mod_req = (tw_mod_request_t)tw_module_symbol(config.modules[i], "MOD_REQUEST");
+#else
tw_mod_request_t mod_req = (tw_mod_request_t)tw_module_symbol(config.modules[i], "mod_request");
+#endif
if(mod_req != NULL) {
int ret = mod_req(&tools, &req, &res);
int co = ret & 0xff;
#define INCL_DOSMODULEMGR
#define INCL_DOSERRORS
#include <os2.h>
-#define MODULE_DECL APIENTRY
+#define MODULE_DECL __export APIENTRY
#else
#define MODULE_DECL
#endif