Products Support Documentation Download
TFS Initialization functions
Collaboration diagram for TFS Initialization functions:

Functions

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

Detailed Description

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

    -lrdmtfs

Function Documentation

◆ rdm_tfsAllocDatabase()

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.

Return values
sOKAYNormal, successful return.
See also
rdm_rdmAllocTFS
rdm_dbFree
rdm_dbOpen
rdm_rdmAllocDatabase
rdm_tfsFree
Parameters
[in]tfsThe RDM_TFS associated with the RDM_DB
[out]pDbA pointer an RDM_DB
Examples:
tutorials/HelloWorld/hello_worldTutorial_main.c.