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
vibdatabase.h
Go to the documentation of this file.
1
9
#ifndef VIBDATABASE_H__
10
#define VIBDATABASE_H__
11
12
#include "
vibdefines.h
"
13
#include "
vibtypes.h
"
14
#include "
vibstring.h
"
15
20
struct
VIBDatabase
21
{
22
VIBBOOL
isWeak
;
23
void
*
opaque
;
24
};
25
26
#include "
vibtransaction.h
"
27
#include "
vibdataset.h
"
28
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
32
34
VIBDLLFUNC
VIBDatabase
*
VIBCALL
VIBDatabase_New
();
36
VIBDLLFUNC
void
VIBCALL
VIBDatabase_Destroy
(
VIBDatabase
*vdb);
38
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_CloseDataSets
(
VIBDatabase
*vdb);
40
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_CheckActive
(
VIBDatabase
*vdb);
42
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_CheckInactive
(
VIBDatabase
*vdb);
44
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_CreateDatabase
(
VIBDatabase
*vdb);
46
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_DropDatabase
(
VIBDatabase
*vdb);
48
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_ForceClose
(
VIBDatabase
*vdb);
50
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_IndexOfDBConst
(
VIBDatabase
*vdb,
const
char
*st,
int
*ret);
52
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_TestConnected
(
VIBDatabase
*vdb);
54
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_CheckDatabaseName
(
VIBDatabase
*vdb);
56
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_Call
(
VIBDatabase
*vdb,
int
ErrCode,
VIBBOOL
RaiseError,
int
*ret);
58
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_AddTransaction
(
VIBDatabase
*vdb,
VIBTransaction
*vtr,
int
*ret);
60
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_FindTransaction
(
VIBDatabase
*vdb,
VIBTransaction
*vtr,
int
*ret);
65
VIBDLLFUNC
VIBTransaction
*
VIBCALL
VIBDatabase_FindDefaultTransaction
(
VIBDatabase
*vdb);
67
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_RemoveTransaction
(
VIBDatabase
*vdb,
int
Idx);
69
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_RemoveTransactions
(
VIBDatabase
*vdb);
71
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_SetHandle
(
VIBDatabase
*vdb,
void
**Value);
73
VIBDLLFUNC
void
**
VIBCALL
VIBDatabase_Handle
(
VIBDatabase
*vdb);
75
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_IsReadOnly
(
VIBDatabase
*vdb);
80
VIBDLLFUNC
VIBString
*
VIBCALL
VIBDatabase_DBParamByDPB
(
VIBDatabase
*vdb,
int
Idx);
82
VIBDLLFUNC
int
VIBCALL
VIBDatabase_SQLObjectCount
(
VIBDatabase
*vdb);
84
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_HandleIsShared
(
VIBDatabase
*vdb);
86
VIBDLLFUNC
int
VIBCALL
VIBDatabase_TransactionCount
(
VIBDatabase
*vdb);
91
VIBDLLFUNC
VIBTransaction
*
VIBCALL
VIBDatabase_Transactions
(
VIBDatabase
*vdb,
int
Index);
96
VIBDLLFUNC
VIBTransaction
*
VIBCALL
VIBDatabase_InternalTransaction
(
VIBDatabase
*vdb);
98
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_Has_DEFAULT_VALUE
(
VIBDatabase
*vdb,
const
char
*Relation,
const
char
*Field);
100
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_Has_COMPUTED_BLR
(
VIBDatabase
*vdb,
const
char
*Relation,
const
char
*Field);
102
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_FlushSchema
(
VIBDatabase
*vdb);
107
VIBDLLFUNC
VIBString
*
VIBCALL
VIBDatabase_GetDatabaseName
(
VIBDatabase
*vdb);
109
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_SetDatabaseName
(
VIBDatabase
*vdb,
const
char
*name);
111
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_Params_Add
(
VIBDatabase
*vdb,
const
char
*param);
113
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_GetLoginPrompt
(
VIBDatabase
*vdb);
115
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_SetLoginPrompt
(
VIBDatabase
*vdb,
VIBBOOL
LoginPrompt);
120
VIBDLLFUNC
VIBTransaction
*
VIBCALL
VIBDatabase_GetDefaultTransaction
(
VIBDatabase
*vdb);
122
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_SetDefaultTransaction
(
VIBDatabase
*vdb,
VIBTransaction
*vtr);
124
VIBDLLFUNC
int
VIBCALL
VIBDatabase_GetIdleTimer
(
VIBDatabase
*vdb);
126
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_SetIdleTimer
(
VIBDatabase
*vdb,
int
IdleTimer);
128
VIBDLLFUNC
int
VIBCALL
VIBDatabase_GetSQLDialect
(
VIBDatabase
*vdb);
130
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_SetSQLDialect
(
VIBDatabase
*vdb,
int
SQLDialect);
132
VIBDLLFUNC
int
VIBCALL
VIBDatabase_DBSQLDialect
(
VIBDatabase
*vdb);
134
VIBDLLFUNC
VIBTraceFlags
VIBCALL
VIBDatabase_GetTraceFlags
(
VIBDatabase
*vdb);
136
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_SetTraceFlags
(
VIBDatabase
*vdb, VIBTraceFlags flags);
138
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_GetAllowStreamedConnected
(
VIBDatabase
*vdb);
140
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_SetAllowStreamedConnected
(
VIBDatabase
*vdb,
VIBBOOL
AllowStreamedConnected);
142
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_Open
(
VIBDatabase
*vdb);
144
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_Close
(
VIBDatabase
*vdb);
146
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_GetConnected
(
VIBDatabase
*vdb);
148
VIBDLLFUNC
VIBBOOL
VIBCALL
VIBDatabase_SetConnected
(
VIBDatabase
*vdb,
VIBBOOL
Connected);
153
VIBDLLFUNC
VIBDataSet
*
VIBCALL
VIBDatabase_DataSets
(
VIBDatabase
*vdb,
int
Index);
155
VIBDLLFUNC
int
VIBCALL
VIBDatabase_DataSetCount
(
VIBDatabase
*vdb);
156
157
#ifdef __cplusplus
158
}
159
#endif
160
161
#endif
162
163
// EOF
164
vibdatabase.h
Generated on Thu Jun 20 2013 10:46:26 for VisualIB by
1.8.2