From: Stephen D. <sd...@us...> - 2005-07-30 03:17:58
|
Update of /cvsroot/naviserver/naviserver/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29888/include Modified Files: ns.h Log Message: * include/ns.h: * nsd/nsd.h: * nsd/server.c: * nsd/tclinit.c: * nsd/tclmisc.c: Add Ns_TclLogErrorInfo and allow admin to configure which conenction headers to log for Tcl errors. (RFE #1241432) Index: ns.h =================================================================== RCS file: /cvsroot/naviserver/naviserver/include/ns.h,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** ns.h 22 Jul 2005 06:46:40 -0000 1.38 --- ns.h 30 Jul 2005 03:17:50 -0000 1.39 *************** *** 1319,1330 **** NS_GNUC_NONNULL(1); - NS_EXTERN char * - Ns_TclLogError(Tcl_Interp *interp) - NS_GNUC_NONNULL(1); - - NS_EXTERN char * - Ns_TclLogErrorRequest(Tcl_Interp *interp, Ns_Conn *conn) - NS_GNUC_NONNULL(1) NS_GNUC_NONNULL(2); - NS_EXTERN int Ns_TclInitModule(CONST char *server, CONST char *module) --- 1319,1322 ---- *************** *** 1362,1365 **** --- 1354,1369 ---- NS_GNUC_PRINTF(2, 3); + NS_EXTERN CONST char * + Ns_TclLogErrorInfo(Tcl_Interp *interp, CONST char *info) + NS_GNUC_NONNULL(1); + + NS_EXTERN CONST char * + Ns_TclLogError(Tcl_Interp *interp) + NS_GNUC_NONNULL(1); + + NS_EXTERN CONST char * + Ns_TclLogErrorRequest(Tcl_Interp *interp, Ns_Conn *conn) + NS_GNUC_NONNULL(1) NS_GNUC_DEPRECATED; + /* * tclrequest.c: |