diff options
author | Bradley Nicholes <bnicholes@apache.org> | 2001-10-23 23:38:55 +0000 |
---|---|---|
committer | Bradley Nicholes <bnicholes@apache.org> | 2001-10-23 23:38:55 +0000 |
commit | deae76954c9d1a72b5043ea94bdc7f1e10e5b9fe (patch) | |
tree | 165913af986faa115dd1447e444df33aac313298 /misc/netware | |
parent | 2da45312cbda3f24873d409170a6ed35f3847b8c (diff) | |
download | apr-deae76954c9d1a72b5043ea94bdc7f1e10e5b9fe.tar.gz |
Updated to the LibC NLM startup code
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62461 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc/netware')
-rw-r--r-- | misc/netware/libprews.c | 37 |
1 files changed, 33 insertions, 4 deletions
diff --git a/misc/netware/libprews.c b/misc/netware/libprews.c index 100e2f308..efa475fc6 100644 --- a/misc/netware/libprews.c +++ b/misc/netware/libprews.c @@ -8,18 +8,47 @@ to do any cleanup other than the mechanism Apache modules provide. ------------------------------------------------------------------*/ -#include "stddef.h" +#include <netware.h> +//#include "stddef.h" #include "ws2nlm.h" -int _lib_start_ws() +int _NonAppStart +( + void *NLMHandle, + void *errorScreen, + const char *cmdLine, + const char *loadDirPath, + size_t uninitializedDataLength, + void *NLMFileHandle, + int (*readRoutineP)( int conn, void *fileHandle, size_t offset, + size_t nbytes, size_t *bytesRead, void *buffer ), + size_t customDataOffset, + size_t customDataSize, + int messageCount, + const char **messages +) { +#pragma unused(cmdLine) +#pragma unused(loadDirPath) +#pragma unused(uninitializedDataLength) +#pragma unused(NLMFileHandle) +#pragma unused(readRoutineP) +#pragma unused(customDataOffset) +#pragma unused(customDataSize) +#pragma unused(messageCount) +#pragma unused(messages) + WSADATA wsaData; return WSAStartup((WORD) MAKEWORD(2, 0), &wsaData); } -int _lib_stop_ws() +void _NonAppStop( void ) { WSACleanup(); - return 0; +} + +int _NonAppCheckUnload( void ) +{ + return 0; } |