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

Ns_DbRegisterDriver

Overview

Register database driver with the server

Syntax

    int Ns_DbRegisterDriver(
    char *hDriver,
    Ns_DbProc *procs
    );

Description

The Ns_DbRegisterDriver function registers a database driver with the server. The procs argument specifies the functions that implement the driver. For a complete example of a database driver for the Postgres95 DBMS, see the directory example/C/nspg under the AOLserver installation directory. Ns_DbRegisterDriver returns a status of NS_OK or NS_ERROR.

Top of Page

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