Products Support Documentation Download
rdmtransapi.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 
34 #if defined(__cplusplus)
35 extern "C" {
36 #endif
37 
60 RDM_EXPORT RDM_RETCODE EXTERNAL_FCN rdm_transEnd (
61  RDM_TRANS trans
62 );
63 
87 RDM_EXPORT RDM_RETCODE EXTERNAL_FCN rdm_transEndRollback (
88  RDM_TRANS trans
89 );
90 
109 RDM_EXPORT RDM_RETCODE EXTERNAL_FCN rdm_transFree (
110  RDM_TRANS hTrans
111 );
112 
139 RDM_EXPORT RDM_RETCODE EXTERNAL_FCN rdm_transPrecommit (
140  RDM_TRANS trans
141 );
142 
165 RDM_EXPORT RDM_RETCODE EXTERNAL_FCN rdm_transRollback (
166  RDM_TRANS hTrans
167 );
168 
169 #if defined(__cplusplus)
170 }
171 #endif
172 
struct RDM_TRANS_S * RDM_TRANS
Definition: rdmtypes.h:292
RDM_RETCODE rdm_transPrecommit(RDM_TRANS trans)
Precommit a transactional operation (Two-Phase Commit phase 1)
RDM_RETCODE rdm_transEnd(RDM_TRANS trans)
End a transactional operation.
Header for the native RDM Runtime types.
RDM_RETCODE rdm_transEndRollback(RDM_TRANS trans)
End a transactional operation with a rollback.
RDM_RETCODE rdm_transFree(RDM_TRANS hTrans)
Free a transaction handle.
RDM_RETCODE
RDM status and error return codes.
RDM_RETCODE rdm_transRollback(RDM_TRANS hTrans)
Rollback transactional operations.