mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Use pragma aux to export valid names from DLL in Watcom
This commit is contained in:
1 parent
a9fb0ea969
commit
945c30c5ee
13 files changed
+88
-41
No files matched your search
+15
-3
@@ -162,7 +162,21 @@ typedef void (*TRAFCOUNTFUNC)(struct clientparam * param);
|
||||
typedef void * (*EXTENDFUNC) (struct node *node);
|
||||
typedef void (*CBFUNC)(void *cb, char * buf, int inbuf);
|
||||
typedef void (*PRINTFUNC) (struct node *node, CBFUNC cbf, void*cb);
|
||||
typedef int (*PLUGINFUNC) (struct pluginlink *pluginlink, int argc, char** argv);
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
#define PLUGINAPI __declspec(dllexport)
|
||||
typedef int (__cdecl *PLUGINFUNC) (struct pluginlink *pluginlink, int argc, char** argv);
|
||||
#define PLUGINCALL __cdecl
|
||||
|
||||
#else
|
||||
|
||||
#define PLUGINCALL
|
||||
#define PLUGINAPI
|
||||
typedef int (*PLUGINFUNC)(struct pluginlink *pluginlink, int argc, char** argv);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
struct auth {
|
||||
struct auth *next;
|
||||
@@ -752,8 +766,6 @@ typedef enum {
|
||||
TYPE_SERVER
|
||||
}DATA_TYPE;
|
||||
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user