DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

dbDeleteDatabase(3dba)


dbDeleteDatabase -- delete an EELS database

Synopsis

cc [flag ...] file ... -kthread -leels [library] ...
#include <eelsdba.h>

int dbDeleteDatabase(char *name);

Description

dbDeleteDatabase removes the named database and purges the entries associated with the database from the EELS_Database table in the EELS_Admin data base. The database must have been created by a prior call to dbCreateDatabase(3dba).

An error is returned if the specified database is not known to EELS.

Arguments


name
(Input) The name of the database to be deleted.

Return values

dbDeleteDatabase returns 0 if successful. Otherwise, it returns -1.

Diagnostics

An application can call dbGetError(3dba) to obtain the error message returned from the database.

References

dbCreateDatabase(3dba), dbGetError(3dba), dbListDatabases(3dba), Intro(3dba)


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004