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

Ns_ModLogRegister

Overview

Register a new realm

Syntax

    void Ns_ModLogRegister(
    char *realm,
    Ns_ModLogHandle *handle
    );

Description

The Ns_ModLogRegister function allocates a new handle. The new handle initialized with the realm, the default logging severity, and the default server log file. A realm is a character string. The default handle is returned if realm is null.

Examples

    static Ns_ModLogHandle cgiModLogHandle;
    int Ns_ModuleInit(char *server, char *name)
    {
      Ns_ModLogRegister(name, &cgiModLogHandle);
      CgiInit(server);
      return NS_OK;
    }

See also

ns_modlogcontrol register

Top of Page

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