From: Vlad S. <ser...@us...> - 2005-08-01 19:51:15
|
Update of /cvsroot/naviserver/modules/nszlib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12196 Modified Files: nszlib.c Log Message: removed old compat functions Index: nszlib.c =================================================================== RCS file: /cvsroot/naviserver/modules/nszlib/nszlib.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** nszlib.c 12 Jun 2005 22:34:24 -0000 1.3 --- nszlib.c 1 Aug 2005 19:51:05 -0000 1.4 *************** *** 59,63 **** #define VERSION "1.1" ! DllExport int Ns_ModuleVersion = 1; static int NsZlibInterpInit(Tcl_Interp *,void *) ; --- 59,63 ---- #define VERSION "1.1" ! NS_EXPORT int Ns_ModuleVersion = 1; static int NsZlibInterpInit(Tcl_Interp *,void *) ; *************** *** 67,75 **** unsigned char *Ns_ZlibUncompress(unsigned char *inbuf,unsigned long inlen,unsigned long *outlen); ! DllExport int Ns_ModuleInit(char *hServer,char *hModule) { Ns_Log(Notice,"nszlib: zlib module version %s started",VERSION); ! return (Ns_TclInitInterps(hServer,NsZlibInterpInit, NULL)); } --- 67,76 ---- unsigned char *Ns_ZlibUncompress(unsigned char *inbuf,unsigned long inlen,unsigned long *outlen); ! NS_EXPORT int Ns_ModuleInit(char *hServer,char *hModule) { Ns_Log(Notice,"nszlib: zlib module version %s started",VERSION); ! Ns_TclRegisterTrace(hServer, NsZlibInterpInit, 0, NS_TCL_TRACE_CREATE); ! return NS_OK; } |