Products Support Documentation Download
Database Initialization
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 Transactional File Server Interface Library (TFS). Linker option:

    -lrdmtfs

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
sOKAYNormal, successful return.
See also
rdm_tfsAllocDatabase
rdm_dbFree
rdm_dbOpen
Parameters
[out]pDbA pointer an RDM_DB