|
|
int Ns_DbRegisterDriver(
char *hDriver,
Ns_DbProc *procs
);
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.