mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Compatibility with Watcom's DLL exports for plugins
This commit is contained in:
1 parent
88263ebde9
commit
c650d32206
4 files changed
+22
-34
No files matched your search
@@ -15,10 +15,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
__declspec(dllexport) int WindowsAuthentication(struct pluginlink * pluginlink,
|
||||
int argc, char** argv);
|
||||
|
||||
|
||||
static struct auth alwaysauth;
|
||||
|
||||
static char sidbuf[4096];
|
||||
@@ -62,12 +58,7 @@ extern "C" {
|
||||
return 7;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
int WindowsAuthentication(struct pluginlink * pluginlink, int argc, char** argv){
|
||||
__declspec(dllexport) int WindowsAuthentication(struct pluginlink * pluginlink, int argc, char** argv){
|
||||
char tmpbuf[4096];
|
||||
DWORD dlen, sidlen;
|
||||
SID_NAME_USE snu;
|
||||
@@ -91,4 +82,7 @@ int WindowsAuthentication(struct pluginlink * pluginlink, int argc, char** argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user