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 #if !defined(RDMTRANSAPI_H_INCLUDED_)
18 #define RDMTRANSAPI_H_INCLUDED_
19 
20 #if defined(__cplusplus) && !defined(CPP_HEADER_INCLUDED)
21 #error rdmtransapi.h is only for C applications. Do not include it directly in C++ applications. Use cpp-rdmtransapi.h instead
22 #endif
23 
24 #include "rdmtypes.h"
25 
58 RDM_EXPORT RDM_RETCODE EXTERNAL_FCN rdm_transEnd (
59  RDM_TRANS trans
60  );
61 
82 RDM_EXPORT RDM_RETCODE EXTERNAL_FCN rdm_transEndRollback (
83  RDM_TRANS trans
84  );
85 
102 RDM_EXPORT RDM_RETCODE EXTERNAL_FCN rdm_transFree (
103  RDM_TRANS hTrans
104  );
105 
106 
133 RDM_EXPORT RDM_RETCODE EXTERNAL_FCN rdm_transPrecommit (
134  RDM_TRANS trans
135  );
136 
158 RDM_EXPORT RDM_RETCODE EXTERNAL_FCN rdm_transRollback (
159  RDM_TRANS hTrans
160  );
161 
162 #endif /* RDMTRANSAPI_H_INCLUDED_ */
struct RDM_TRANS_S * RDM_TRANS
Definition: rdmtypes.h:242
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_transRollback(RDM_TRANS hTrans)
Rollback transactional operations.
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.