Install a C Web event hook functionint sm_web_set_onevent(char *handler);
- The name of the Web event handler. If
handleris the null pointer or the null string, the Web event handler is uninstalled. Otherwise, it must be the name of a C function installed in the prototyped function list.
handler is called after processing has completed for each request. The prototype of this function is:
This function is passed the following parameters:
- A string containing the web command that was processed. It will be either
- This is the value of
PATH_INFOin the CGI request.
- The query string for GET and the form name for POST.
- This is the elapsed time for the
Webcommand in milliseconds.