Database Instantiation Functions
Collaboration diagram for Database Instantiation Functions:


RDM_RETCODE rdm_tfsAllocDatabase (RDM_TFS tfs, RDM_DB *pDb)
Allocate memory for a new RDM db. More...

Detailed Description

The database instantiation API. The functions here are located in Transactional File Server Interface Library. Linker option:


Function Documentation


RDM_RETCODE rdm_tfsAllocDatabase ( RDM_TFS tfs,
RDM_DB * pDb

#include <rdmtfsapi.h>

Allocate memory for a new RDM db.

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

This function can be called from several threads in parallel to obtain thread specific database handles as long as no other operations are performed on the tfs handle.

Return values
sOKAY Normal, successful return.
See also
[in] tfs The RDM_TFS associated with the RDM_DB
[out] pDb A pointer an RDM_DB
core01Example_main.c, core09Example_main.c, core12Example_main.c, core15Example_main.c, core16Example_main.c, core17Example_main.c, core18Example_main.c, core19Example_main.c, core31Example_main.c, core32Example_main.c, core33Example_main.c, core34Example_main.c, core35Example_main.c, core36Example_main.c, core37Example_main.c, cpp50Example_main.cpp, cpp55Example_main.cpp, cpp70Example_main.cpp, learn/bookStore_client.c, learn/bookStore_embed.c, learn/bookStore_vxWorks7.c, and tfs/rdmAllocTFS.c.