[ Previous ] [ Contents ] [ Index ] [ Next ]



Register a trace procedure for a server.


    typedef void (Ns_TraceProc) (void *context, Ns_Conn *conn);
    Ns_ProcHandle Ns_RegisterServerTrace(
    char *hServer,
    Ns_TraceProc *proc,
    void *context


The Ns_RegisterServerTrace function registers proc as a trace for the specified server. The server calls all trace procedures after every HTTP connection with the context and the Ns_Conn for that connection. The procedures are run in last-registered first-run order. A trace procedure is often used for logging.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1998-99 America Online, Inc.