#include "nsd.h"Data Structures | |
| struct | Callback |
Functions | |
| void * | Ns_RegisterAtReady (Ns_Callback *proc, void *arg) |
| void | NsRunAtReadyProcs (void) |
| void * | Ns_RegisterAtStartup (Ns_Callback *proc, void *arg) |
| void * | Ns_RegisterAtPreStartup (Ns_Callback *proc, void *arg) |
| void * | Ns_RegisterAtSignal (Ns_Callback *proc, void *arg) |
| void * | Ns_RegisterAtServerShutdown (Ns_Callback *proc, void *arg) |
| void * | Ns_RegisterServerShutdown (char *ignored, Ns_Callback *proc, void *arg) |
| void * | Ns_RegisterAtShutdown (Ns_Callback *proc, void *arg) |
| void * | Ns_RegisterShutdown (Ns_Callback *proc, void *arg) |
| void * | Ns_RegisterAtExit (Ns_Callback *proc, void *arg) |
| void | NsRunStartupProcs (void) |
| void | NsRunPreStartupProcs (void) |
| void | NsRunSignalProcs (void) |
| void | NsStartShutdownProcs (void) |
| void | NsWaitShutdownProcs (Ns_Time *toPtr) |
| void | NsRunAtExitProcs (void) |
| void | NsGetCallbacks (Tcl_DString *dsPtr) |
| void* Ns_RegisterAtExit | ( | Ns_Callback * | proc, | |
| void * | arg | |||
| ) |
----------------------------------------------------------------------
Ns_RegisterAtExit --
Register a callback to be run at server exit.
Results: None.
Side effects: The callback will be registerd.
----------------------------------------------------------------------
| void* Ns_RegisterAtPreStartup | ( | Ns_Callback * | proc, | |
| void * | arg | |||
| ) |
----------------------------------------------------------------------
Ns_RegisterAtPreStartup --
Register a callback to run at pre-server startup
Results: None
Side effects: The callback will be registered
----------------------------------------------------------------------
| void* Ns_RegisterAtReady | ( | Ns_Callback * | proc, | |
| void * | arg | |||
| ) |
| void* Ns_RegisterAtServerShutdown | ( | Ns_Callback * | proc, | |
| void * | arg | |||
| ) |
----------------------------------------------------------------------
Ns_RegisterAtServerShutdown --
Register a callback to run at server shutdown. This is identical to Ns_RegisterShutdown and only exists for historical reasons.
Results: None.
Side effects: The callback will be registered
----------------------------------------------------------------------
| void* Ns_RegisterAtShutdown | ( | Ns_Callback * | proc, | |
| void * | arg | |||
| ) |
----------------------------------------------------------------------
Ns_RegisterAtShutdown --
Register a callback to run at server shutdown.
Results: None.
Side effects: The callback will be registered.
----------------------------------------------------------------------
| void* Ns_RegisterAtSignal | ( | Ns_Callback * | proc, | |
| void * | arg | |||
| ) |
----------------------------------------------------------------------
Ns_RegisterAtSignal --
Register a callback to run when a signal arrives
Results: None
Side effects: The callback will be registered
----------------------------------------------------------------------
| void* Ns_RegisterAtStartup | ( | Ns_Callback * | proc, | |
| void * | arg | |||
| ) |
----------------------------------------------------------------------
Ns_RegisterAtStartup --
Register a callback to run at server startup
Results: None
Side effects: The callback will be registered
----------------------------------------------------------------------
| void* Ns_RegisterServerShutdown | ( | char * | ignored, | |
| Ns_Callback * | proc, | |||
| void * | arg | |||
| ) |
| void* Ns_RegisterShutdown | ( | Ns_Callback * | proc, | |
| void * | arg | |||
| ) |
| void NsGetCallbacks | ( | Tcl_DString * | dsPtr | ) |
| void NsRunAtExitProcs | ( | void | ) |
| void NsRunAtReadyProcs | ( | void | ) |
| void NsRunPreStartupProcs | ( | void | ) |
----------------------------------------------------------------------
NsRunPreStartupProcs --
Run any callbacks registered for pre-server startup.
Results: None.
Side effects: Callbacks called back.
----------------------------------------------------------------------
| void NsRunSignalProcs | ( | void | ) |
----------------------------------------------------------------------
NsRunSignalProcs --
Run any callbacks registered for when a signal arrives
Results: None.
Side effects: Callbacks called back.
----------------------------------------------------------------------
| void NsRunStartupProcs | ( | void | ) |
----------------------------------------------------------------------
NsRunStartupProcs --
Run any callbacks registered for server startup.
Results: None.
Side effects: Callbacks called back.
----------------------------------------------------------------------
| void NsStartShutdownProcs | ( | void | ) |
----------------------------------------------------------------------
NsRunExitProcs --
Run any callbacks registered for server startup, then shutdown, then exit.
Results: None.
Side effects: Callbacks called back.
----------------------------------------------------------------------
| void NsWaitShutdownProcs | ( | Ns_Time * | toPtr | ) |
1.5.1