Index: mod_nsd/adp.c =================================================================== RCS file: /usr/local/cvsroot/mod_nsd/adp.c,v diff -u -r1.1 -r1.2 --- mod_nsd/adp.c 13 Apr 2001 21:09:32 -0000 1.1 +++ mod_nsd/adp.c 5 Jun 2001 12:07:12 -0000 1.2 @@ -82,7 +82,7 @@ static Ns_OpProc AdpProc; #endif static void (DelAdpData)(void *); -static void ParsePage(Ns_DString *, char *page); +/*static void ParsePage(Ns_DString *, char *page);*/ static int ParseFile(Tcl_Interp *, char *file, size_t size, Ns_DString *); static void PushFrame(Frame *framePtr, char *file, int argc, char **argv); static void PopFrame(Frame *framePtr); @@ -91,7 +91,7 @@ char *procs); static Ns_TclInterpInitProc EnableCmds; #endif -static void TextChunk(Ns_DString *dsPtr, char *text); +/*static void TextChunk(Ns_DString *dsPtr, char *text);*/ static void SetMimeType(AdpData *adPtr, char *mimeType); /* @@ -271,7 +271,7 @@ path = Ns_ConfigPath(nsServer, NULL, "adp", "parsers", NULL); NsAdpFancyInit(nsServer, path); - Ns_AdpRegisterParser("adp", ParsePage); +/* Ns_AdpRegisterParser("adp", ParsePage);*/ if (path != NULL) { setPtr = Ns_ConfigGetSection(path); @@ -1618,6 +1618,7 @@ } +#if 0 /* *---------------------------------------------------------------------- * @@ -1664,6 +1665,7 @@ Ns_DStringNAppend(dsPtr, "t", 1); Ns_DStringNAppend(dsPtr, text, strlen(text)+1); } +#endif /*