VisualIB
1.0
IBExpress library for making use of Borland IBExpress outside of C++Builder
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
vibtransaction.h
Go to the documentation of this file.
1
9
#ifndef VIBTRANSACTION_H__
10
#define VIBTRANSACTION_H__
11
12
#include "
vibdefines.h
"
13
#include "
vibtypes.h
"
14
18
struct
VIBTransaction
19
{
20
VIBBOOL
isWeak
;
21
void
*
opaque
;
22
};
23
24
#include "
vibdatabase.h
"
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
31
VIBDLLFUNC
VIBTransaction
*
VIBCALL
VIBTransaction_New
();
33
VIBDLLFUNC
void
VIBCALL
VIBTransaction_Destroy
(
VIBTransaction
*vtr);
35
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_Call
(
VIBTransaction
*vtr,
int
ErrCode,
VIBBOOL
RaiseError,
int
*ret);
37
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_Commit
(
VIBTransaction
*vtr);
39
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_CommitRetaining
(
VIBTransaction
*vtr);
41
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_Rollback
(
VIBTransaction
*vtr);
43
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_RollbackRetaining
(
VIBTransaction
*vtr);
45
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_StartTransaction
(
VIBTransaction
*vtr);
47
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_CheckInTransaction
(
VIBTransaction
*vtr);
49
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_CheckNotInTransaction
(
VIBTransaction
*vtr);
51
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_CheckAutoStop
(
VIBTransaction
*vtr);
53
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_AddDatabase
(
VIBTransaction
*vtr,
VIBDatabase
*vdb,
int
*ret);
55
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_FindDatabase
(
VIBTransaction
*vtr,
VIBDatabase
*vdb,
int
*ret);
60
VIBDLLFUNC
VIBDatabase
*
VIBCALL
VIBTransaction_FindDefaultDatabase
(
VIBTransaction
*vtr);
62
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_RemoveDatabase
(
VIBTransaction
*vtr,
int
Idx);
64
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_RemoveDatabases
(
VIBTransaction
*vtr);
66
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_CheckDatabasesInList
(
VIBTransaction
*vtr);
68
VIBDLLFUNC
int
VIBCALL
VIBTransaction_DatabaseCount
(
VIBTransaction
*vtr);
73
VIBDLLFUNC
VIBDatabase
*
VIBCALL
VIBTransaction_Databases
(
VIBTransaction
*vtr,
int
Index);
74
/* Obtain a count of SQLObjects attached to the transaction. */
75
VIBDLLFUNC
int
VIBCALL
VIBTransaction_SQLObjectCount(
VIBTransaction
*vtr);
77
VIBDLLFUNC
void
*
VIBCALL
VIBTransaction_Handle
(
VIBTransaction
*vtr);
79
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_HandleIsShared
(
VIBTransaction
*vtr);
81
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_InTransaction
(
VIBTransaction
*vtr);
83
VIBDLLFUNC
char
*
VIBCALL
VIBTransaction_TPB
(
VIBTransaction
*vtr);
85
VIBDLLFUNC
short
VIBCALL
VIBTransaction_TPBLength
(
VIBTransaction
*vtr);
87
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_GetActive
(
VIBTransaction
*vtr);
89
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_SetActive
(
VIBTransaction
*vtr,
VIBBOOL
Active);
94
VIBDLLFUNC
VIBDatabase
*
VIBCALL
VIBTransaction_GetDefaultDatabase
(
VIBTransaction
*vtr);
96
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_SetDefaultDatabase
(
VIBTransaction
*vtr,
VIBDatabase
*DefaultDatabase);
98
VIBDLLFUNC
int
VIBCALL
VIBTransaction_GetIdleTimer
(
VIBTransaction
*vtr);
100
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_SetIdleTimer
(
VIBTransaction
*vtr,
int
IdleTimer);
102
VIBDLLFUNC
VIBTransactionAction
VIBCALL
VIBTransaction_GetDefaultAction
(
VIBTransaction
*vtr);
104
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_SetDefaultAction
(
VIBTransaction
*vtr, VIBTransactionAction action);
106
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_Params_Add
(
VIBTransaction
*vtr,
const
char
*Param);
108
VIBDLLFUNC
VIBAutoStopAction
VIBCALL
VIBTransaction_GetAutoStopAction
(
VIBTransaction
*vtr);
110
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBTransaction_SetAutoStopAction
(
VIBTransaction
*vtr, VIBAutoStopAction action);
111
112
#ifdef __cplusplus
113
}
114
#endif
115
116
#endif
117
118
// EOF
119
vibtransaction.h
Generated on Thu Jun 20 2013 10:46:26 for VisualIB by
1.8.2