C API Reference -- Ns_RegisterCleanup

### Ns_RegisterCleanup

#### Overview

Register a procedure for connection cleanup trace

#### Syntax

        void *Ns_RegisterCleanup(
        Ns_TraceProc *proc,
        void *arg
        );

#### Description

Register a connection cleanup trace procedure. Traces registered with this procedure are always called in LIFO order at the end of connection, regardless of the result code from the connection's request procedure. In other words, the procedure is called even if the client drops connection.

It returns a pointer to the trace.

Top of Page
Copyright © 1998-99 America Online, Inc.