Collaboration diagram for Database Initialization:

Functions

RDM_RETCODE rdm_rdmAllocDatabase (RDM_DB *pDb)
Allocate memory for a new RDM db. More...

Detailed Description

The core database instantiation API.  The functions here are
located in \ref lib_tfs. Linker option:\
 <pre><code>    -l<tt><a href="lib_tfs.html">rdmtfs</a></tt></code></pre>

Function Documentation

rdm_rdmAllocDatabase()

RDM_RETCODE rdm_rdmAllocDatabase ( RDM_DB * pDb )

#include <rdmrdmapi.h>

Allocate memory for a new RDM db.

This function allocates memory for and initializes an RDM_DB using the default RDM_TFS. You must call rdm_dbOpen() to associate a database with the handle.

Note
Database configuration options associated with the RDM_TFS handle will be inherited at this point. Changes to the RDM_TFS handle options after this point will not change the values now associated with the RDM_DB handle.
Return values
sOKAY Normal, successful return.
See also
rdm_tfsAllocDatabase
rdm_dbFree
rdm_dbOpen
Parameters
[out] pDb [out] A pointer an RDM_DB