tfs/rdmAllocDatabase.c
{
RDM_RETCODE rc;
RDM_TFS tfs;
RDM_DB db;
rc = rdm_rdmAllocDatabase (&db);
{
if (rc == sOKAY)
{
printf ("Database (%s) is open!\n", databaseName);
rc = rdm_dbClose (db);
}
rc = rdm_dbFree (db);
}
return rc;
}
RDM_RETCODE rdm_dbClose(RDM_DB db)
Close the database associated with a database handle.
RDM_RETCODE rdm_dbOpen(RDM_DB db, const char *dbNameSpec, RDM_OPEN_MODE mode)
Open an existing RDM database using the specified database handle.