Functions | |
RDM_RETCODE | rdm_tfsDropDatabase (RDM_TFS tfs, const char *dbNameSpec) |
Drop the specified database. More... | |
RDM_RETCODE | rdm_tfsFree (RDM_TFS hTFS) |
Terminate a TFS service. More... | |
The TFS cleanup API. The functions here are located in Transactional File Server Interface Library. Linker option:
-lrdmtfs
RDM_RETCODE rdm_tfsDropDatabase | ( | RDM_TFS | tfs, |
const char * | dbNameSpec | ||
) |
#include <rdmtfsapi.h>
Drop the specified database.
This function drops the entire contents of the database, including
It will fail if the database is open by any other users. This operation is not transactional and cannot be undone or rolled back.
This function is primarily used to maintain temporary or working databases that exist only for the duration of the application program.
sOKAY | Normal, successful return. |
eDBOPENED | Operation not completed because database is open. |
sNODB | Database does not exist. |
[in] | tfs | A TFS handle |
[in] | dbNameSpec | The database name specification for the database to be dropped |
RDM_RETCODE rdm_tfsFree | ( | RDM_TFS | hTFS | ) |
#include <rdmtfsapi.h>
Terminate a TFS service.
sOKAY | Normal, successful return. |
[in] | hTFS | The TFS instance |