#include "nsd.h"Functions | |
| int | NsTclStripHtmlCmd (ClientData dummy, Tcl_Interp *interp, int argc, char **argv) |
| int | NsTclCryptObjCmd (ClientData arg, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
| int | NsTclHrefsCmd (ClientData dummy, Tcl_Interp *interp, int argc, char **argv) |
| int | NsTclGmTimeObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj **objv) |
| int | NsTclLocalTimeObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj **objv) |
| int | NsTclSleepObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj **objv) |
| int | NsTclHTUUEncodeObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj **objv) |
| int | NsTclHTUUDecodeObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj **objv) |
| int | NsTclTimeObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj **objv) |
| int | NsTclStrftimeObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj **objv) |
| int | NsTclCrashCmd (ClientData dummy, Tcl_Interp *interp, int argc, char **argv) |
| int NsTclCrashCmd | ( | ClientData | dummy, | |
| Tcl_Interp * | interp, | |||
| int | argc, | |||
| char ** | argv | |||
| ) |
----------------------------------------------------------------------
NsTclCrashCmd --
Crash the server to test exception handling.
Results: None.
Side effects: Server will segfault.
----------------------------------------------------------------------
| int NsTclCryptObjCmd | ( | ClientData | arg, | |
| Tcl_Interp * | interp, | |||
| int | objc, | |||
| Tcl_Obj *CONST | objv[] | |||
| ) |
----------------------------------------------------------------------
NsTclCryptObjCmd --
Implements ns_crypt as ObjCommand.
Results: Tcl result.
Side effects: See docs.
----------------------------------------------------------------------
| int NsTclGmTimeObjCmd | ( | ClientData | dummy, | |
| Tcl_Interp * | interp, | |||
| int | objc, | |||
| Tcl_Obj ** | objv | |||
| ) |
| int NsTclHrefsCmd | ( | ClientData | dummy, | |
| Tcl_Interp * | interp, | |||
| int | argc, | |||
| char ** | argv | |||
| ) |
----------------------------------------------------------------------
NsTclHrefsCmd --
Implements ns_hrefs.
Results: Tcl result.
Side effects: See docs.
----------------------------------------------------------------------
| int NsTclHTUUDecodeObjCmd | ( | ClientData | dummy, | |
| Tcl_Interp * | interp, | |||
| int | objc, | |||
| Tcl_Obj ** | objv | |||
| ) |
----------------------------------------------------------------------
HTUUDecodeObjcmd --
Implements ns_uudecode as obj command.
Results: Tcl result.
Side effects: See docs.
----------------------------------------------------------------------
| int NsTclHTUUEncodeObjCmd | ( | ClientData | dummy, | |
| Tcl_Interp * | interp, | |||
| int | objc, | |||
| Tcl_Obj ** | objv | |||
| ) |
----------------------------------------------------------------------
NsTclHTUUEncodeObjCmd --
Implements ns_uuencode as obj command.
Results: Tcl result.
Side effects: See docs.
----------------------------------------------------------------------
| int NsTclLocalTimeObjCmd | ( | ClientData | dummy, | |
| Tcl_Interp * | interp, | |||
| int | objc, | |||
| Tcl_Obj ** | objv | |||
| ) |
| int NsTclSleepObjCmd | ( | ClientData | dummy, | |
| Tcl_Interp * | interp, | |||
| int | objc, | |||
| Tcl_Obj ** | objv | |||
| ) |
----------------------------------------------------------------------
NsTclSleepObjCmd --
Tcl result.
Results: See docs.
Side effects: See docs.
----------------------------------------------------------------------
| int NsTclStrftimeObjCmd | ( | ClientData | dummy, | |
| Tcl_Interp * | interp, | |||
| int | objc, | |||
| Tcl_Obj ** | objv | |||
| ) |
----------------------------------------------------------------------
NsTclStrftimeObjCmd --
Implements ns_fmttime.
Results: Tcl result.
Side effects: See docs.
----------------------------------------------------------------------
| int NsTclStripHtmlCmd | ( | ClientData | dummy, | |
| Tcl_Interp * | interp, | |||
| int | argc, | |||
| char ** | argv | |||
| ) |
----------------------------------------------------------------------
NsTclStripHtmlCmd --
Implements ns_striphtml.
Results: Tcl result.
Side effects: See docs.
----------------------------------------------------------------------
flag to see if are we inside a tag
flag to see if we are inside a special char
copy of input string
moving pointer to input string
moving pointer to output string
Make a copy of the input and point the moving and output ptrs to it.
inside a tag that closes
inside a special character that closes
regular text
starting a new special character
incr pointer only if we're not in something htmlish
null-terminator
| int NsTclTimeObjCmd | ( | ClientData | dummy, | |
| Tcl_Interp * | interp, | |||
| int | objc, | |||
| Tcl_Obj ** | objv | |||
| ) |
----------------------------------------------------------------------
NsTclTimeObjCmd --
Implements ns_time.
Results: Tcl result.
Side effects: See docs.
----------------------------------------------------------------------
1.5.1