return TW_MODULE_STOP;
}
-#ifdef __NETWARE__
-int main() { return 0; }
-#endif
+END_MODULE
int MODULE_DECL mod_request(struct tw_tool* tools, struct tw_http_request* req, struct tw_http_response* res) { return TW_MODULE_ERROR(403); }
-#ifdef __NETWARE__
-int main() { return 0; }
-#endif
+END_MODULE
int MODULE_DECL mod_request(struct tw_tool* tools, struct tw_http_request* req, struct tw_http_response* res) { return TW_MODULE_PASS; }
-#ifdef __NETWARE__
-int main() { return 0; }
-#endif
+END_MODULE
#include "tw_config.h"
#include "tw_http.h"
+#ifdef __NETWARE__
+#include <nwconio.h>
+#define END_MODULE int main(){DestroyScreen(GetCurrentScreen());while(1);return 0;}
+#else
+#define END_MODULE
+#endif
+
#if defined(__OS2__)
#define INCL_DOSMODULEMGR
#define INCL_DOSERRORS