Download Dynamic C TCP/IP

Transcript
sspec_setformepilog
int sspec_setformepilog( int form, int function );
DESCRIPTION
Sets the user-specified function that will be called when the form has been successfully
submitted. This function can, for example, execute a cgi_redirectto to redirect
to a specific page. It should accept HttpState *state as an argument, return 0
when it is not finished, and 1 when it is finished (i.e., behave like a normal CGI function).
PARAMETERS
form
spec index of the form
function
spec index of the function to call when the specified form has been
successfully submitted. This is the return value of the function
sspec_addfunction().
RETURN VALUE
0: Success.
-1: Failure.
LIBRARY
ZSERVER.LIB
SEE ALSO
sspec_setformprolog
Chapter 3: Server Utility Library
131