Products Support Documentation Download
rdmrdmapi.h
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * Raima Database Manager
3  *
4  * Copyright (c) 2014 Raima Inc., All rights reserved.
5  *
6  * Use of this software, whether in source code format, or in executable,
7  * binary object code form, is governed by the Raima LICENSE which
8  * is fully described in the LICENSE.TXT file, included within this
9  * distribution of files.
10  * ----------------------------------------------------------------------------
11  */
12 
17 #include "rdmtypes.h"
18 #include "rdmtfstypes.h"
19 
58 #if defined(RDM_UNICODE)
59 #define rdm_rdmAllocTFS RDM_T_FUNC (rdm_rdmAllocTFS)
60 #define rdm_rdmAllocTFSWithMemBuf RDM_T_FUNC (rdm_rdmAllocTFSWithMemBuf)
61 #define rdm_rdmGetVersion RDM_T_FUNC (rdm_rdmGetVersion)
62 #endif
63 
64 #if defined(__cplusplus)
65 extern "C" {
66 #endif
67 
87 RDM_EXPORT RDM_RETCODE EXTERNAL_FCN rdm_rdmAllocDatabase (
88  RDM_DB *pDb
89 );
90 
142 RDM_EXPORT RDM_RETCODE EXTERNAL_FCN rdm_rdmAllocTFS (
143  const RDM_TCHAR_T *optString,
144  RDM_TFS *phTFS
145 );
146 
188 RDM_EXPORT RDM_RETCODE EXTERNAL_FCN rdm_rdmAllocTFSWithMemBuf (
189  const RDM_TCHAR_T *optString,
190  void *pMemBuf,
191  size_t memSize,
192  RDM_TFS *phTFS
193 );
194 
215 RDM_EXPORT RDM_RETCODE EXTERNAL_FCN rdm_rdmGetAfterLast (
216  RDM_CURSOR *pCursor
218 );
219 
238 RDM_EXPORT RDM_RETCODE EXTERNAL_FCN rdm_rdmGetBeforeFirst (
239  RDM_CURSOR *pCursor
241 );
242 
272 RDM_EXPORT RDM_RETCODE EXTERNAL_FCN rdm_rdmGetVersion (
273  const RDM_TCHAR_T *fmt,
275  RDM_TCHAR_T *
276  buf,
277  size_t bytesIn
278 );
279 
280 #if defined(__cplusplus)
281 }
282 #endif
struct RDM_CURSOR_S * RDM_CURSOR
Definition: rdmtypes.h:266
Header for the native RDM Runtime types.
RDM_RETCODE rdm_rdmGetAfterLast(RDM_CURSOR *pCursor)
Get the special AfterLast cursor.
struct RDM_TFS_S * RDM_TFS
RDM TFS Handle.
Definition: rdmtfstypes.h:21
RDM_RETCODE rdm_rdmAllocDatabase(RDM_DB *pDb)
Allocate memory for a new RDM db.
RDM_RETCODE
RDM status and error return codes.
RDM_RETCODE rdm_rdmAllocTFS(const RDM_TCHAR_T *optString, RDM_TFS *phTFS)
Allocate the TFS handle.
RDM_RETCODE rdm_rdmAllocTFSWithMemBuf(const RDM_TCHAR_T *optString, void *pMemBuf, size_t memSize, RDM_TFS *phTFS)
Allocate the TFS with an associated memory buffer.
RDM_RETCODE rdm_rdmGetBeforeFirst(RDM_CURSOR *pCursor)
Get the special BeforeFirst cursor.
struct RDM_DB_S * RDM_DB
Definition: rdmtypes.h:265
RDM_RETCODE rdm_rdmGetVersion(const RDM_TCHAR_T *fmt, RDM_TCHAR_T *buf, size_t bytesIn)
Return RDM Db Engine version information.
Header for the Transactional File Server (TFS) types.
#define RDM_TCHAR_T
Definition: psptypes.h:130