Products Support Documentation Download
rdmrowidapi.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 "rdmrowidtypes.h"
18 
29 #if defined(__cplusplus)
30 extern "C" {
31 #endif
32 
53 RDM_EXPORT RDM_SLOT EXTERNAL_FCN rdm_rowidDecode (
54  RDM_ROWID_T rowid,
55  RDM_UNO *uno
56 );
57 
70 RDM_EXPORT RDM_ROWID_T EXTERNAL_FCN rdm_rowidEncode (
71  RDM_UNO uno,
72  RDM_SLOT slot
73 );
74 
75 #if defined(__cplusplus)
76 }
77 #endif
78 
RDM_SLOT rdm_rowidDecode(RDM_ROWID_T rowid, RDM_UNO *uno)
Decode a ROWID into a union number and slot.
RDM_ROWID_T rdm_rowidEncode(RDM_UNO uno, RDM_SLOT slot)
Encode a union number and slot into a ROWID.
uint8_t RDM_UNO
Definition: rdmrowidtypes.h:22
uint64_t RDM_ROWID_T
Definition: rdmrowidtypes.h:21
Header for row ID types.
uint64_t RDM_SLOT
Definition: rdmrowidtypes.h:23