Query: ns_setlocationproc
OS: debian
Section: 3aolserv
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Ns_Location(3aolserver) AOLserver Library Procedures Ns_Location(3aolserver) __________________________________________________________________________________________________________________________________________________NAMENs_SetConnLocationProc, Ns_SetLocationProc - Set the location procedure to useSYNOPSIS#include "ns.h" void Ns_SetConnLocationProc(Ns_LocationProc *procPtr) void Ns_SetLocationProc(char *ignored, Ns_LocationProc *procPtr) _________________________________________________________________DESCRIPTIONThese functions set the procedure to run when a call to Ns_ConnLocation is made. The location is defined in the form METHOD://HOST- NAME:PORT, e.g. http://myhost.com:8443. Setting the location procedure with these functions will cause all calls to Ns_ConnLocation to use the location procedure you define instead of using the location procedure callback in the communication module for the connection. There may be cases where you want to do this. For example, you could create a location procedure that reports on the values returned by communication module location procedure callbacks. At the end of that procedure, you could then return that value after logging the infor- mation making your location procedure is effectively transparent to the server and other modules. Ns_SetConnLocationProc(procPtr) Set the function to use when Ns_ConnLocation is called. This function is deprecated. Use Ns_SetLocationProc instead. Ns_SetLocationProc(ignored, procPtr) Set the function to use when Ns_ConnLocation is called. The ignored argument is reserved for future use.SEE ALSOnsd(1), info(n), Ns_ConnLocation(3)KEYWORDSAOLserver 4.0 Ns_Location(3aolserver)
Related Man Pages |
---|
ns_conndrivername(3aolserv) - debian |
ns_seturltofileproc(3aolserv) - debian |
ns_urltofile(3aolserv) - debian |
xaddconnectionwatch(3) - debian |
xaddconnectionwatch(3) - centos |
Similar Topics in the Unix Linux Community |
---|
environment checkout procedure |
Help with pl/sql stored procedure |
how to call oracle stored procedure from unix shell |
How to create and call mysql stored procedure in perl? |
Linux process exit |