Changeset 314 in Main for trunk


Ignore:
Timestamp:
Oct 14, 2024, 4:37:04 PM (5 weeks ago)
Author:
Nishi
Message:

module works

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Module/Makefile

    r305 r314  
    1919
    2020clean:
    21         rm -f *.o *.so *.a *.dll *.tds
     21        rm -f *.o *.so *.a *.dll *.tds *.obj
  • trunk/Module/mod_proxy.c

    r313 r314  
    66
    77int MODULE_DECL mod_init(struct tw_config* config, struct tw_tool* tools) {
    8         tools->log("CGI", "Initializing Proxy module");
     8        tools->log("Proxy", "Initializing Proxy module");
    99        tools->add_version("Proxy/1.0");
    1010        return 0;
  • trunk/README.tmpl

    r313 r314  
    4545Minix                    Working
    4646UnixWare                 Working on 7.1.1
    47 OS/2                     Mostly working, module is broken. Help required!
     47OS/2                     Working
     48NetWare                  WIP
    4849PlayStation Portable     Working, missing module support
    4950                         TODO: Get multi-threading working (maybe)
  • trunk/Server/server.c

    r312 r314  
    629629#endif
    630630                for(i = 0; i < config.module_count; i++) {
     631#ifdef __OS2__
     632                        tw_mod_request_t mod_req = (tw_mod_request_t)tw_module_symbol(config.modules[i], "MOD_REQUEST");
     633#else
    631634                        tw_mod_request_t mod_req = (tw_mod_request_t)tw_module_symbol(config.modules[i], "mod_request");
     635#endif
    632636                        if(mod_req != NULL) {
    633637                                int ret = mod_req(&tools, &req, &res);
  • trunk/Server/tw_module.h

    r313 r314  
    1515#define INCL_DOSERRORS
    1616#include <os2.h>
    17 #define MODULE_DECL APIENTRY
     17#define MODULE_DECL __export APIENTRY
    1818#else
    1919#define MODULE_DECL
Note: See TracChangeset for help on using the changeset viewer.