OCILIB (C and C++ Driver for Oracle)  4.0.0
ocilib.h
1 /*
2  +-----------------------------------------------------------------------------------------+
3  | |
4  | OCILIB - C Driver for Oracle |
5  | |
6  | (C Wrapper for Oracle OCI) |
7  | |
8  | Website : http://www.ocilib.net |
9  | |
10  | Copyright (c) 2007-2014 Vincent ROGIER <vince.rogier@ocilib.net> |
11  | |
12  +-----------------------------------------------------------------------------------------+
13  | |
14  | This library is free software; you can redistribute it and/or |
15  | modify it under the terms of the GNU Lesser General Public |
16  | License as published by the Free Software Foundation; either |
17  | version 2 of the License, or (at your option) any later version. |
18  | |
19  | This library is distributed in the hope that it will be useful, |
20  | but WITHOUT ANY WARRANTY; without even the implied warranty of |
21  | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
22  | Lesser General Public License for more details. |
23  | |
24  | You should have received a copy of the GNU Lesser General Public |
25  | License along with this library; if not, write to the Free |
26  | Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
27  | |
28  +-----------------------------------------------------------------------------------------+
29 
30  +-----------------------------------------------------------------------------------------+
31  | IMPORTANT NOTICE |
32  +-----------------------------------------------------------------------------------------+
33  | |
34  | This file contains explanations about Oracle and OCI technologies. |
35  | OCILIB is a wrapper around OCI and thus exposes OCI features. |
36  | The OCILIB documentation intends to explain Oracle / OCI concepts |
37  | and is naturally based on the official Oracle OCI documentation. |
38  | |
39  | Some parts of OCILIB documentation may include some informations |
40  | taken and adapted from the following Oracle documentations : |
41  | - Oracle Call Interface Programmer's Guide |
42  | - Oracle Streams - Advanced Queuing User's Guide |
43  | |
44  +-----------------------------------------------------------------------------------------+
45 
46  */
47 
48 /* --------------------------------------------------------------------------------------------- *
49  * $Id: ocilib.h, Vincent Rogier $
50  * --------------------------------------------------------------------------------------------- */
51 
52 #ifndef OCILIB_H_INCLUDED
53 #define OCILIB_H_INCLUDED
54 
55 #ifdef __cplusplus
56 extern "C" {
57 #endif /* __cplusplus */
58 
59 
66 /* --------------------------------------------------------------------------------------------- *
67  * Platform configuration
68  * --------------------------------------------------------------------------------------------- */
69 
70 #ifdef HAVE_CONFIG_H
71  #include <config.h>
72 #endif
73 
74 /* --------------------------------------------------------------------------------------------- *
75  * C headers
76  * --------------------------------------------------------------------------------------------- */
77 
78 #include <stdlib.h>
79 #include <stdio.h>
80 #include <stdarg.h>
81 #include <ctype.h>
82 #include <string.h>
83 #include <time.h>
84 #include <errno.h>
85 #include <limits.h>
86 
87 /* --------------------------------------------------------------------------------------------- *
88  * MS Windows platform detection
89  * --------------------------------------------------------------------------------------------- */
90 
91 #ifndef _WINDOWS
92  #if defined(_WIN32)|| defined(WIN32) || defined(_WIN64) || defined(WIN64) || defined(_WIN32_WINNT)
93  #define _WINDOWS
94  #endif
95 #endif
96 
97 #ifdef _WINDOWS
98  #ifdef boolean
99  #undef boolean
100  #endif
101  #include <windows.h>
102  #ifdef boolean
103  #undef boolean
104  #endif
105 #endif
106 
107 /* --------------------------------------------------------------------------------------------- *
108  * OCILIB version information
109  * --------------------------------------------------------------------------------------------- */
110 
111 #define OCILIB_MAJOR_VERSION 4
112 #define OCILIB_MINOR_VERSION 0
113 #define OCILIB_REVISION_VERSION 0
114 
115 /* Import mode */
116 
117 #define OCI_IMPORT_MODE_LINKAGE 1
118 #define OCI_IMPORT_MODE_RUNTIME 2
119 
120 #ifdef OCI_IMPORT_RUNTIME
121  #undef OCI_IMPORT_LINKAGE
122 #endif
123 
124 #ifdef OCI_IMPORT_LINKAGE
125  #undef OCI_IMPORT_RUNTIME
126 #endif
127 
128 #if !defined(OCI_IMPORT_RUNTIME) && !defined(OCI_IMPORT_LINKAGE)
129  #define OCI_IMPORT_LINKAGE
130 #endif
131 
132 #ifdef OCI_IMPORT_RUNTIME
133  #define OCI_IMPORT_MODE OCI_IMPORT_MODE_RUNTIME
134 #else
135  #define OCI_IMPORT_MODE OCI_IMPORT_MODE_LINKAGE
136 #endif
137 
138 /* Charset modes */
139 
140 #ifdef OCI_CHARSET_UNICODE
141  #define OCI_CHARSET_WIDE
142 #endif
143 
144 #ifdef OCI_CHARSET_WIDE
145  #undef OCI_CHARSET_ANSI
146 #endif
147 
148 #ifdef OCI_CHARSET_ANSI
149  #undef OCI_CHARSET_ANSI
150 #endif
151 
152 #if !defined(OCI_CHARSET_ANSI) && !defined(OCI_CHARSET_WIDE)
153  #define OCI_CHARSET_ANSI
154 #endif
155 
156 /* Calling convention */
157 
158 #ifndef OCI_API
159  #ifdef _MSC_VER
160  #define OCI_API __stdcall
161  #else
162  #define OCI_API
163  #endif
164 #endif
165 
166 /* Build mode */
167 
168 #ifndef OCI_EXPORT
169  #define OCI_EXPORT
170 #endif
171 
261 #include <wctype.h>
262 
263 #if (_MSC_VER < 1300) && defined(__cplusplus)
264  extern "C++" {
265 #endif
266 
267 #include <wchar.h>
268 
269 #if (_MSC_VER < 1300) && defined(__cplusplus)
270  }
271 #endif
272 
273 /* Charset macros */
274 
275 #define OCI_CHAR_ANSI 1
276 #define OCI_CHAR_WIDE 2
277 
278 #ifdef OCI_CHARSET_ANSI
279  typedef char otext;
280  #define OTEXT(x) x
281  #define OCI_CHAR_TEXT OCI_CHAR_ANSI
282 #else
283  typedef wchar_t otext;
284  #define OTEXT(x) L ## x
285  #define OCI_CHAR_TEXT OCI_CHAR_WIDE
286 #endif
287 
288 /*
289  For ISO conformance, strdup/wcsdup/stricmp/strncasecmp are not used.
290  All wide char routines are part of the 1995 Normative Addendum 1 to the ISO C90 standard.
291  OCILIB also needs an ANSI equivalent to swprintf => ocisprintf
292  Thus OCILIB exports the following helper functions
293 
294 */
295 
296 OCI_EXPORT int ocisprintf
297 (
298  char *str,
299  int size,
300  const char *format,
301  ...
302 );
303 
304 OCI_EXPORT char * ocistrdup
305 (
306  const char * src
307 );
308 
309 OCI_EXPORT int ocistrcasecmp
310 (
311  const char *str1,
312  const char *str2
313 );
314 
315 OCI_EXPORT wchar_t * ociwcsdup
316 (
317  const wchar_t * src
318 );
319 
320 OCI_EXPORT int ociwcscasecmp
321 (
322  const wchar_t *str1,
323  const wchar_t *str2
324 );
325 
326 /* special defines for Microsoft C runtime that is not C ISO compliant */
327 
328 #ifdef _WINDOWS
329 
330  #define vsnprintf _vsnprintf
331  #define swprintf _snwprintf
332 
333 #endif
334 
335 /* helpers mapping macros */
336 
337 #ifdef OCI_CHARSET_ANSI
338  #define ostrdup ocistrdup
339  #define ostrcpy strcpy
340  #define ostrncpy strncpy
341  #define ostrcat strcat
342  #define ostrncat strncat
343  #define ostrlen strlen
344  #define ostrcmp strcmp
345  #define ostrcasecmp ocistrcasecmp
346  #define osprintf ocisprintf
347  #define ostrtol strtol
348  #define osscanf sscanf
349  #define otoupper toupper
350  #define oisdigit isdigit
351 #else
352  #define ostrdup ociwcsdup
353  #define ostrcpy wcscpy
354  #define ostrncpy wcsncpy
355  #define ostrcat wcscat
356  #define ostrncat wcsncat
357  #define ostrlen wcslen
358  #define ostrcmp wcscmp
359  #define ostrcasecmp ociwcscasecmp
360  #define osprintf swprintf
361  #define ostrtol wcstol
362  #define osscanf swscanf
363  #define otoupper towupper
364  #define oisdigit iswdigit
365 
366 #endif
367 
368 /* string size macros */
369 
370 #define otextsize(s) (ostrlen(s) * sizeof(otext))
371 
426 typedef struct OCI_Pool OCI_Pool;
427 
443 typedef struct OCI_Connection OCI_Connection;
444 
455 typedef struct OCI_Statement OCI_Statement;
456 
467 typedef struct OCI_Bind OCI_Bind;
468 
482 typedef struct OCI_Resultset OCI_Resultset;
483 
494 typedef struct OCI_Column OCI_Column;
495 
517 typedef struct OCI_Lob OCI_Lob;
518 
542 typedef struct OCI_File OCI_File;
543 
557 typedef struct OCI_Transaction OCI_Transaction;
558 
579 typedef struct OCI_Long OCI_Long;
580 
589 typedef struct OCI_Date OCI_Date;
590 
599 typedef struct OCI_Timestamp OCI_Timestamp;
600 
609 typedef struct OCI_Interval OCI_Interval;
610 
619 typedef struct OCI_Object OCI_Object;
620 
629 typedef struct OCI_Coll OCI_Coll;
630 
639 typedef struct OCI_Elem OCI_Elem;
640 
648 typedef struct OCI_Iter OCI_Iter;
649 
666 typedef struct OCI_Ref OCI_Ref;
667 
676 typedef struct OCI_TypeInfo OCI_TypeInfo;
677 
686 typedef struct OCI_HashTable OCI_HashTable;
687 
700 typedef struct OCI_Error OCI_Error;
701 
710 typedef struct OCI_Mutex OCI_Mutex;
711 
720 typedef struct OCI_Thread OCI_Thread;
721 
730 typedef struct OCI_DirPath OCI_DirPath;
731 
740 typedef struct OCI_Subscription OCI_Subscription;
741 
750 typedef struct OCI_Event OCI_Event;
751 
760 typedef struct OCI_Msg OCI_Msg;
761 
770 typedef struct OCI_Agent OCI_Agent;
771 
780 typedef struct OCI_Dequeue OCI_Dequeue;
781 
790 typedef struct OCI_Enqueue OCI_Enqueue;
791 
802 typedef void (*POCI_ERROR)
803 (
804  OCI_Error *err
805 );
806 
818 typedef void (*POCI_THREAD)
819 (
820  OCI_Thread *thread,
821  void *arg
822 );
823 
834 typedef void (*POCI_THREADKEYDEST)
835 (
836  void *data
837 );
838 
849 typedef void (*POCI_NOTIFY)
850 (
851  OCI_Event *event
852 );
853 
864 typedef void (*POCI_NOTIFY_AQ)
865 (
866  OCI_Dequeue *dequeue
867 );
868 
900 typedef unsigned int (*POCI_TAF_HANDLER)
901 (
902  OCI_Connection *con,
903  unsigned int type,
904  unsigned int event
905 );
906 
938 typedef void (*POCI_HA_HANDLER)
939 (
940  OCI_Connection *con,
941  unsigned int source,
942  unsigned int event,
943  OCI_Timestamp *time
944 );
945 
946 /* public structures */
947 
956 typedef struct OCI_XID {
957  long formatID;
958  long gtrid_length;
959  long bqual_length;
960  char data[128];
961 } OCI_XID;
962 
975 typedef union OCI_Variant {
976  /* integers */
977  int num;
978 
979  /* raw data */
980  unsigned char *p_bytes;
981 
982  /* pointer to c natives types */
983  void *p_void;
984  int *p_int;
985  float *p_float;
986  double *p_double;
987  otext *p_text;
988 
989  /* ocilib object types */
990  OCI_Date *p_date;
991  OCI_Interval *p_interval;
992  OCI_Timestamp *p_timestamp;
993  OCI_Long *p_long;
994  OCI_Lob *p_lob;
995  OCI_File *p_file;
996  OCI_Statement *p_stmt;
997  OCI_Column *p_col;
998  OCI_Object *p_obj;
999  OCI_Coll *p_coll;
1000  OCI_Iter *p_iter;
1001  OCI_Elem *p_elem;
1002 } OCI_Variant;
1003 
1014 typedef struct OCI_HashValue {
1015  OCI_Variant value;
1016  struct OCI_HashValue *next;
1017 } OCI_HashValue;
1018 
1027 typedef struct OCI_HashEntry {
1028  otext *key;
1029  struct OCI_HashValue *values;
1030  struct OCI_HashEntry *next;
1031 } OCI_HashEntry;
1032 
1042 /* check for long long support */
1043 
1044 #if defined(_LONGLONG) || defined(LONG_LONG_MAX) || defined(LLONG_MAX) || defined(__LONG_LONG_MAX__)
1045 
1046 /* C99 long long supported */
1047 
1048 typedef long long big_int;
1049 typedef unsigned long long big_uint;
1050 
1051  #define OCI_BIG_UINT_ENABLED
1052 
1053 #elif defined(_WINDOWS)
1054 
1055 /* Microsoft extension supported */
1056 
1057 typedef __int64 big_int;
1058 typedef unsigned __int64 big_uint;
1059 
1060  #define OCI_BIG_UINT_ENABLED
1061 
1062 #else
1063 
1064 typedef int big_int;
1065 typedef unsigned int big_uint;
1066 
1067 #endif
1068 
1073 /* boolean values */
1074 
1075 #ifndef TRUE
1076  #define TRUE 1
1077  #define FALSE 0
1078 #endif
1079 
1080 #ifndef boolean
1081  #define boolean int
1082 #endif
1083 
1084 /* oracle OCI key versions*/
1085 
1086 #define OCI_8_0 800
1087 #define OCI_8_1 810
1088 #define OCI_9_0 900
1089 #define OCI_9_2 920
1090 #define OCI_10_1 1010
1091 #define OCI_10_2 1020
1092 #define OCI_11_1 1110
1093 #define OCI_11_2 1120
1094 #define OCI_12_1 1210
1095 
1096 /* versions extract macros */
1097 
1098 #define OCI_VER_MAJ(v) (unsigned int) (v/100)
1099 #define OCI_VER_MIN(v) (unsigned int) ((v/10) - ((v/100)*10))
1100 #define OCI_VER_REV(v) (unsigned int) ((v) - ((v/10)*10))
1101 
1102 /* OCILIB Error types */
1103 
1104 #define OCI_ERR_ORACLE 1
1105 #define OCI_ERR_OCILIB 2
1106 #define OCI_ERR_WARNING 3
1107 
1108 /* OCILIB Error codes */
1109 
1110 #define OCI_ERR_NONE 0
1111 #define OCI_ERR_NOT_INITIALIZED 1
1112 #define OCI_ERR_LOADING_SHARED_LIB 2
1113 #define OCI_ERR_LOADING_SYMBOLS 3
1114 #define OCI_ERR_MULTITHREADED 4
1115 #define OCI_ERR_MEMORY 5
1116 #define OCI_ERR_NOT_AVAILABLE 6
1117 #define OCI_ERR_NULL_POINTER 7
1118 #define OCI_ERR_DATATYPE_NOT_SUPPORTED 8
1119 #define OCI_ERR_PARSE_TOKEN 9
1120 #define OCI_ERR_MAP_ARGUMENT 10
1121 #define OCI_ERR_OUT_OF_BOUNDS 11
1122 #define OCI_ERR_UNFREED_DATA 12
1123 #define OCI_ERR_MAX_BIND 13
1124 #define OCI_ERR_ATTR_NOT_FOUND 14
1125 #define OCI_ERR_MIN_VALUE 15
1126 #define OCI_ERR_NOT_COMPATIBLE 16
1127 #define OCI_ERR_STMT_STATE 17
1128 #define OCI_ERR_STMT_NOT_SCROLLABLE 18
1129 #define OCI_ERR_BIND_ALREADY_USED 19
1130 #define OCI_ERR_BIND_ARRAY_SIZE 20
1131 #define OCI_ERR_COLUMN_NOT_FOUND 21
1132 #define OCI_ERR_DIRPATH_STATE 22
1133 #define OCI_ERR_CREATE_OCI_ENVIRONMENT 23
1134 #define OCI_ERR_REBIND_BAD_DATATYPE 24
1135 #define OCI_ERR_TYPEINFO_DATATYPE 25
1136 #define OCI_ERR_ITEM_NOT_FOUND 26
1137 
1138 #define OCI_ERR_COUNT 27
1139 
1140 /* binding */
1141 
1142 #define OCI_BIND_BY_POS 0
1143 #define OCI_BIND_BY_NAME 1
1144 #define OCI_BIND_SIZE 6
1145 #define OCI_BIND_MAX 1024
1146 
1147 /* fetching */
1148 
1149 #define OCI_FETCH_SIZE 20
1150 #define OCI_PREFETCH_SIZE 20
1151 #define OCI_LONG_EXPLICIT 1
1152 #define OCI_LONG_IMPLICIT 2
1153 
1154 /* unknown value */
1155 
1156 #define OCI_UNKNOWN 0
1157 
1158 /* C Data Type mapping */
1159 
1160 #define OCI_CDT_NUMERIC 1
1161 #define OCI_CDT_DATETIME 3
1162 #define OCI_CDT_TEXT 4
1163 #define OCI_CDT_LONG 5
1164 #define OCI_CDT_CURSOR 6
1165 #define OCI_CDT_LOB 7
1166 #define OCI_CDT_FILE 8
1167 #define OCI_CDT_TIMESTAMP 9
1168 #define OCI_CDT_INTERVAL 10
1169 #define OCI_CDT_RAW 11
1170 #define OCI_CDT_OBJECT 12
1171 #define OCI_CDT_COLLECTION 13
1172 #define OCI_CDT_REF 14
1173 
1174 /* Data Type codes for OCI_ImmediateXXX() calls */
1175 
1176 #define OCI_ARG_SHORT 1
1177 #define OCI_ARG_USHORT 2
1178 #define OCI_ARG_INT 3
1179 #define OCI_ARG_UINT 4
1180 #define OCI_ARG_BIGINT 5
1181 #define OCI_ARG_BIGUINT 6
1182 #define OCI_ARG_DOUBLE 7
1183 #define OCI_ARG_DATETIME 8
1184 #define OCI_ARG_TEXT 9
1185 #define OCI_ARG_LOB 10
1186 #define OCI_ARG_FILE 11
1187 #define OCI_ARG_TIMESTAMP 12
1188 #define OCI_ARG_INTERVAL 13
1189 #define OCI_ARG_RAW 14
1190 #define OCI_ARG_OBJECT 15
1191 #define OCI_ARG_COLLECTION 16
1192 #define OCI_ARG_REF 17
1193 #define OCI_ARG_FLOAT 18
1194 
1195 /* statement types */
1196 
1197 #define OCI_CST_SELECT 1
1198 #define OCI_CST_UPDATE 2
1199 #define OCI_CST_DELETE 3
1200 #define OCI_CST_INSERT 4
1201 #define OCI_CST_CREATE 5
1202 #define OCI_CST_DROP 6
1203 #define OCI_CST_ALTER 7
1204 #define OCI_CST_BEGIN 8
1205 #define OCI_CST_DECLARE 9
1206 #define OCI_CST_CALL 10
1207 
1208 /* environment modes */
1209 
1210 #define OCI_ENV_DEFAULT 0
1211 #define OCI_ENV_THREADED 1
1212 #define OCI_ENV_CONTEXT 2
1213 #define OCI_ENV_EVENTS 4
1214 
1215 /* sessions modes */
1216 
1217 #define OCI_SESSION_DEFAULT 0
1218 #define OCI_SESSION_XA 1
1219 #define OCI_SESSION_SYSDBA 2
1220 #define OCI_SESSION_SYSOPER 4
1221 #define OCI_SESSION_PRELIM_AUTH 8
1222 
1223 /* change notification types */
1224 
1225 #define OCI_CNT_OBJECTS 1
1226 #define OCI_CNT_ROWS 2
1227 #define OCI_CNT_DATABASES 4
1228 #define OCI_CNT_ALL OCI_CNT_OBJECTS | OCI_CNT_ROWS | OCI_CNT_DATABASES
1229 
1230 /* event notification types */
1231 
1232 #define OCI_ENT_STARTUP 1
1233 #define OCI_ENT_SHUTDOWN 2
1234 #define OCI_ENT_SHUTDOWN_ANY 3
1235 #define OCI_ENT_DROP_DATABASE 4
1236 #define OCI_ENT_DEREGISTER 5
1237 #define OCI_ENT_OBJECT_CHANGED 6
1238 
1239 /* event object notification types */
1240 
1241 #define OCI_ONT_INSERT 0x2
1242 #define OCI_ONT_UPDATE 0x4
1243 #define OCI_ONT_DELETE 0x8
1244 #define OCI_ONT_ALTER 0x10
1245 #define OCI_ONT_DROP 0x20
1246 #define OCI_ONT_GENERIC 0x40
1247 
1248 /* database startup modes */
1249 
1250 #define OCI_DB_SPM_START 1
1251 #define OCI_DB_SPM_MOUNT 2
1252 #define OCI_DB_SPM_OPEN 4
1253 #define OCI_DB_SPM_FULL OCI_DB_SPM_START | OCI_DB_SPM_MOUNT | OCI_DB_SPM_OPEN
1254 
1255 /* database startup flags */
1256 
1257 #define OCI_DB_SPF_DEFAULT 0
1258 #define OCI_DB_SPF_FORCE 1
1259 #define OCI_DB_SPF_RESTRICT 2
1260 
1261 /* database shutdown modes */
1262 
1263 #define OCI_DB_SDM_SHUTDOWN 1
1264 #define OCI_DB_SDM_CLOSE 2
1265 #define OCI_DB_SDM_DISMOUNT 4
1266 #define OCI_DB_SDM_FULL OCI_DB_SDM_SHUTDOWN | OCI_DB_SDM_CLOSE | OCI_DB_SDM_DISMOUNT
1267 
1268 /* database shutdown flags */
1269 
1270 #define OCI_DB_SDF_DEFAULT 0
1271 #define OCI_DB_SDF_TRANS 1
1272 #define OCI_DB_SDF_TRANS_LOCAL 2
1273 #define OCI_DB_SDF_IMMEDIATE 3
1274 #define OCI_DB_SDF_ABORT 4
1275 
1276 /* charset form types */
1277 
1278 #define OCI_CSF_NONE 0
1279 #define OCI_CSF_DEFAULT 1
1280 #define OCI_CSF_NATIONAL 2
1281 
1282 /* statement fetch mode */
1283 
1284 #define OCI_SFM_DEFAULT 0
1285 #define OCI_SFM_SCROLLABLE 0x08
1286 
1287 /* statement fetch direction */
1288 
1289 #define OCI_SFD_ABSOLUTE 0x20
1290 #define OCI_SFD_RELATIVE 0x40
1291 
1292 /* bind allocation mode */
1293 
1294 #define OCI_BAM_EXTERNAL 1
1295 #define OCI_BAM_INTERNAL 2
1296 
1297 /* bind direction mode */
1298 
1299 #define OCI_BDM_IN 1
1300 #define OCI_BDM_OUT 2
1301 #define OCI_BDM_IN_OUT (OCI_BDM_IN | OCI_BDM_OUT)
1302 
1303 /* Column property flags */
1304 
1305 #define OCI_CPF_NONE 0
1306 #define OCI_CPF_IS_IDENTITY 1
1307 #define OCI_CPF_IS_GEN_ALWAYS 2
1308 #define OCI_CPF_IS_GEN_BY_DEFAULT_ON_NULL 4
1309 
1310 /* Integer sign flag */
1311 
1312 #define OCI_NUM_UNSIGNED 2
1313 
1314 /* External Integer types */
1315 
1316 #define OCI_NUM_SHORT 4
1317 #define OCI_NUM_INT 8
1318 #define OCI_NUM_BIGINT 16
1319 #define OCI_NUM_FLOAT 32
1320 #define OCI_NUM_DOUBLE 64
1321 
1322 #define OCI_NUM_USHORT (OCI_NUM_SHORT | OCI_NUM_UNSIGNED)
1323 #define OCI_NUM_UINT (OCI_NUM_INT | OCI_NUM_UNSIGNED)
1324 #define OCI_NUM_BIGUINT (OCI_NUM_BIGINT | OCI_NUM_UNSIGNED)
1325 
1326 /* timestamp types */
1327 
1328 #define OCI_TIMESTAMP 1
1329 #define OCI_TIMESTAMP_TZ 2
1330 #define OCI_TIMESTAMP_LTZ 3
1331 
1332 /* interval types */
1333 
1334 #define OCI_INTERVAL_YM 1
1335 #define OCI_INTERVAL_DS 2
1336 
1337 /* long types */
1338 
1339 #define OCI_BLONG 1
1340 #define OCI_CLONG 2
1341 
1342 /* lob types */
1343 
1344 #define OCI_BLOB 1
1345 #define OCI_CLOB 2
1346 #define OCI_NCLOB 3
1347 
1348 /* lob opening mode */
1349 
1350 #define OCI_LOB_READONLY 1
1351 #define OCI_LOB_READWRITE 2
1352 
1353 /* file types */
1354 
1355 #define OCI_BFILE 1
1356 #define OCI_CFILE 2
1357 
1358 /* lob browsing mode */
1359 
1360 #define OCI_SEEK_SET 1
1361 #define OCI_SEEK_END 2
1362 #define OCI_SEEK_CUR 3
1363 
1364 /* type info types */
1365 
1366 #define OCI_TIF_TABLE 1
1367 #define OCI_TIF_VIEW 2
1368 #define OCI_TIF_TYPE 3
1369 
1370 /* object type */
1371 
1372 #define OCI_OBJ_PERSISTENT 1
1373 #define OCI_OBJ_TRANSIENT 2
1374 #define OCI_OBJ_VALUE 3
1375 
1376 /* collection types */
1377 
1378 #define OCI_COLL_VARRAY 1
1379 #define OCI_COLL_NESTED_TABLE 2
1380 
1381 /* pool types */
1382 
1383 #define OCI_POOL_CONNECTION 1
1384 #define OCI_POOL_SESSION 2
1385 
1386 /* AQ message state */
1387 
1388 #define OCI_AMS_READY 1
1389 #define OCI_AMS_WAITING 2
1390 #define OCI_AMS_PROCESSED 3
1391 #define OCI_AMS_EXPIRED 4
1392 
1393 /* AQ sequence deviation */
1394 
1395 #define OCI_ASD_BEFORE 2
1396 #define OCI_ASD_TOP 3
1397 
1398 /* AQ message visibility */
1399 
1400 #define OCI_AMV_IMMEDIATE 1
1401 #define OCI_AMV_ON_COMMIT 2
1402 
1403 /* AQ dequeue mode */
1404 
1405 #define OCI_ADM_BROWSE 1
1406 #define OCI_ADM_LOCKED 2
1407 #define OCI_ADM_REMOVE 3
1408 #define OCI_ADM_REMOVE_NODATA 4
1409 
1410 /* AQ dequeue navigation */
1411 
1412 #define OCI_ADN_FIRST_MSG 1
1413 #define OCI_ADN_NEXT_TRANSACTION 2
1414 #define OCI_ADN_NEXT_MSG 3
1415 
1416 /* AQ queue table purge mode */
1417 
1418 #define OCI_APM_BUFFERED 1
1419 #define OCI_APM_PERSISTENT 2
1420 #define OCI_APM_ALL (OCI_APM_BUFFERED | OCI_APM_PERSISTENT)
1421 
1422 /* AQ queue table grouping mode */
1423 
1424 #define OCI_AGM_NONE 0
1425 #define OCI_AGM_TRANSACTIONNAL 1
1426 
1427 /* AQ queue table type */
1428 
1429 #define OCI_AQT_NORMAL 0
1430 #define OCI_AQT_EXCEPTION 1
1431 #define OCI_AQT_NON_PERSISTENT 2
1432 
1433 /* direct path processing return status */
1434 
1435 #define OCI_DPR_COMPLETE 1
1436 #define OCI_DPR_ERROR 2
1437 #define OCI_DPR_FULL 3
1438 #define OCI_DPR_PARTIAL 4
1439 #define OCI_DPR_EMPTY 5
1440 
1441 /* direct path conversion modes */
1442 
1443 #define OCI_DCM_DEFAULT 1
1444 #define OCI_DCM_FORCE 2
1445 
1446 /* trace size constants */
1447 
1448 #define OCI_SIZE_TRACE_ID 64
1449 #define OCI_SIZE_TRACE_MODULE 48
1450 #define OCI_SIZE_TRACE_ACTION 32
1451 #define OCI_SIZE_TRACE_INFO 64
1452 
1453 /* trace types */
1454 
1455 #define OCI_TRC_IDENTITY 1
1456 #define OCI_TRC_MODULE 2
1457 #define OCI_TRC_ACTION 3
1458 #define OCI_TRC_DETAIL 4
1459 
1460 /* HA event type */
1461 
1462 #define OCI_HET_DOWN 0
1463 #define OCI_HET_UP 1
1464 
1465 /* HA event source */
1466 #define OCI_HES_INSTANCE 0
1467 #define OCI_HES_DATABASE 1
1468 #define OCI_HES_NODE 2
1469 #define OCI_HES_SERVICE 3
1470 #define OCI_HES_SERVICE_MEMBER 4
1471 #define OCI_HES_ASM_INSTANCE 5
1472 #define OCI_HES_PRECONNECT 6
1473 
1474 /* Fail over types */
1475 
1476 #define OCI_FOT_NONE 1
1477 #define OCI_FOT_SESSION 2
1478 #define OCI_FOT_SELECT 4
1479 
1480 /* fail over notifications */
1481 
1482 #define OCI_FOE_END 1
1483 #define OCI_FOE_ABORT 2
1484 #define OCI_FOE_REAUTH 4
1485 #define OCI_FOE_BEGIN 8
1486 #define OCI_FOE_ERROR 16
1487 
1488 /* fail over callback return code */
1489 
1490 #define OCI_FOC_OK 0
1491 #define OCI_FOC_RETRY 25410
1492 
1493 /* hash tables support */
1494 
1495 #define OCI_HASH_STRING 1
1496 #define OCI_HASH_INTEGER 2
1497 #define OCI_HASH_POINTER 3
1498 
1499 /* transaction types */
1500 
1501 #define OCI_TRS_NEW 0x00000001
1502 #define OCI_TRS_READONLY 0x00000100
1503 #define OCI_TRS_READWRITE 0x00000200
1504 #define OCI_TRS_SERIALIZABLE 0x00000400
1505 #define OCI_TRS_LOOSE 0x00010000
1506 #define OCI_TRS_TIGHT 0x00020000
1507 
1508 /* sql function codes */
1509 
1510 #define OCI_SFC_CREATE_TABLE 1
1511 #define OCI_SFC_SET_ROLE 2
1512 #define OCI_SFC_INSERT 3
1513 #define OCI_SFC_SELECT 4
1514 #define OCI_SFC_UPDATE 5
1515 #define OCI_SFC_DROP_ROLE 6
1516 #define OCI_SFC_DROP_VIEW 7
1517 #define OCI_SFC_DROP_TABLE 8
1518 #define OCI_SFC_DELETE 9
1519 #define OCI_SFC_CREATE_VIEW 10
1520 #define OCI_SFC_DROP_USER 11
1521 #define OCI_SFC_CREATE_ROLE 12
1522 #define OCI_SFC_CREATE_SEQUENCE 13
1523 #define OCI_SFC_ALTER_SEQUENCE 14
1524 
1525 #define OCI_SFC_DROP_SEQUENCE 16
1526 #define OCI_SFC_CREATE_SCHEMA 17
1527 #define OCI_SFC_CREATE_CLUSTER 18
1528 #define OCI_SFC_CREATE_USER 19
1529 #define OCI_SFC_CREATE_INDEX 20
1530 #define OCI_SFC_DROP_INDEX 21
1531 #define OCI_SFC_DROP_CLUSTER 22
1532 #define OCI_SFC_VALIDATE_INDEX 23
1533 #define OCI_SFC_CREATE_PROCEDURE 24
1534 #define OCI_SFC_ALTER_PROCEDURE 25
1535 #define OCI_SFC_ALTER_TABLE 26
1536 #define OCI_SFC_EXPLAIN 27
1537 #define OCI_SFC_GRANT 28
1538 #define OCI_SFC_REVOKE 29
1539 #define OCI_SFC_CREATE_SYNONYM 30
1540 #define OCI_SFC_DROP_SYNONYM 31
1541 #define OCI_SFC_ALTER_SYSTEM_SWITCHLOG 32
1542 #define OCI_SFC_SET_TRANSACTION 33
1543 #define OCI_SFC_PLSQL_EXECUTE 34
1544 #define OCI_SFC_LOCK 35
1545 #define OCI_SFC_NOOP 36
1546 #define OCI_SFC_RENAME 37
1547 #define OCI_SFC_COMMENT 38
1548 #define OCI_SFC_AUDIT 39
1549 #define OCI_SFC_NO_AUDIT 40
1550 #define OCI_SFC_ALTER_INDEX 41
1551 #define OCI_SFC_CREATE_EXTERNAL_DATABASE 42
1552 #define OCI_SFC_DROP_EXTERNALDATABASE 43
1553 #define OCI_SFC_CREATE_DATABASE 44
1554 #define OCI_SFC_ALTER_DATABASE 45
1555 #define OCI_SFC_CREATE_ROLLBACK_SEGMENT 46
1556 #define OCI_SFC_ALTER_ROLLBACK_SEGMENT 47
1557 #define OCI_SFC_DROP_ROLLBACK_SEGMENT 48
1558 #define OCI_SFC_CREATE_TABLESPACE 49
1559 #define OCI_SFC_ALTER_TABLESPACE 50
1560 #define OCI_SFC_DROP_TABLESPACE 51
1561 #define OCI_SFC_ALTER_SESSION 52
1562 #define OCI_SFC_ALTER_USER 53
1563 #define OCI_SFC_COMMIT_WORK 54
1564 #define OCI_SFC_ROLLBACK 55
1565 #define OCI_SFC_SAVEPOINT 56
1566 #define OCI_SFC_CREATE_CONTROL_FILE 57
1567 #define OCI_SFC_ALTER_TRACING 58
1568 #define OCI_SFC_CREATE_TRIGGER 59
1569 #define OCI_SFC_ALTER_TRIGGER 60
1570 #define OCI_SFC_DROP_TRIGGER 61
1571 #define OCI_SFC_ANALYZE_TABLE 62
1572 #define OCI_SFC_ANALYZE_INDEX 63
1573 #define OCI_SFC_ANALYZE_CLUSTER 64
1574 #define OCI_SFC_CREATE_PROFILE 65
1575 #define OCI_SFC_DROP_PROFILE 66
1576 #define OCI_SFC_ALTER_PROFILE 67
1577 #define OCI_SFC_DROP_PROCEDURE 68
1578 
1579 #define OCI_SFC_ALTER_RESOURCE_COST 70
1580 #define OCI_SFC_CREATE_SNAPSHOT_LOG 71
1581 #define OCI_SFC_ALTER_SNAPSHOT_LOG 72
1582 #define OCI_SFC_DROP_SNAPSHOT_LOG 73
1583 #define OCI_SFC_DROP_SUMMARY 73
1584 #define OCI_SFC_CREATE_SNAPSHOT 74
1585 #define OCI_SFC_ALTER_SNAPSHOT 75
1586 #define OCI_SFC_DROP_SNAPSHOT 76
1587 #define OCI_SFC_CREATE_TYPE 77
1588 #define OCI_SFC_DROP_TYPE 78
1589 #define OCI_SFC_ALTER_ROLE 79
1590 #define OCI_SFC_ALTER_TYPE 80
1591 #define OCI_SFC_CREATE_TYPE_BODY 81
1592 #define OCI_SFC_ALTER_TYPE_BODY 82
1593 #define OCI_SFC_DROP_TYPE_BODY 83
1594 #define OCI_SFC_DROP_LIBRARY 84
1595 #define OCI_SFC_TRUNCATE_TABLE 85
1596 #define OCI_SFC_TRUNCATE_CLUSTER 86
1597 #define OCI_SFC_CREATE_BITMAPFILE 87
1598 #define OCI_SFC_ALTER_VIEW 88
1599 #define OCI_SFC_DROP_BITMAPFILE 89
1600 #define OCI_SFC_SET_CONSTRAINTS 90
1601 #define OCI_SFC_CREATE_FUNCTION 91
1602 #define OCI_SFC_ALTER_FUNCTION 92
1603 #define OCI_SFC_DROP_FUNCTION 93
1604 #define OCI_SFC_CREATE_PACKAGE 94
1605 #define OCI_SFC_ALTER_PACKAGE 95
1606 #define OCI_SFC_DROP_PACKAGE 96
1607 #define OCI_SFC_CREATE_PACKAGE_BODY 97
1608 #define OCI_SFC_ALTER_PACKAGE_BODY 98
1609 #define OCI_SFC_DROP_PACKAGE_BODY 99
1610 #define OCI_SFC_CREATE_DIRECTORY 157
1611 #define OCI_SFC_DROP_DIRECTORY 158
1612 #define OCI_SFC_CREATE_LIBRARY 159
1613 #define OCI_SFC_CREATE_JAVA 160
1614 #define OCI_SFC_ALTER_JAVA 161
1615 #define OCI_SFC_DROP_JAVA 162
1616 #define OCI_SFC_CREATE_OPERATOR 163
1617 #define OCI_SFC_CREATE_INDEXTYPE 164
1618 #define OCI_SFC_DROP_INDEXTYPE 165
1619 #define OCI_SFC_ALTER_INDEXTYPE 166
1620 #define OCI_SFC_DROP_OPERATOR 167
1621 #define OCI_SFC_ASSOCIATE_STATISTICS 168
1622 #define OCI_SFC_DISASSOCIATE_STATISTICS 169
1623 #define OCI_SFC_CALL_METHOD 170
1624 #define OCI_SFC_CREATE_SUMMARY 171
1625 #define OCI_SFC_ALTER_SUMMARY 172
1626 #define OCI_SFC_CREATE_DIMENSION 174
1627 #define OCI_SFC_ALTER_DIMENSION 175
1628 #define OCI_SFC_DROP_DIMENSION 176
1629 #define OCI_SFC_CREATE_CONTEXT 177
1630 #define OCI_SFC_DROP_CONTEXT 178
1631 #define OCI_SFC_ALTER_OUTLINE 179
1632 #define OCI_SFC_CREATE_OUTLINE 180
1633 #define OCI_SFC_DROP_OUTLINE 181
1634 #define OCI_SFC_UPDATE_INDEXES 182
1635 #define OCI_SFC_ALTER_OPERATOR 183
1636 
1637 /* size constants */
1638 
1639 #define OCI_SIZE_FORMAT 64
1640 #define OCI_SIZE_BUFFER 512
1641 #define OCI_SIZE_LONG (64*1024)-1
1642 #define OCI_SIZE_DATE 45
1643 #define OCI_SIZE_TIMESTAMP 54
1644 #define OCI_SIZE_FORMAT_TODATE 14
1645 #define OCI_SIZE_NULL 4
1646 #define OCI_SIZE_PRECISION 10
1647 #define OCI_SIZE_ROWID 23
1648 #define OCI_SIZE_DIRECTORY 30
1649 #define OCI_SIZE_FILENAME 255
1650 #define OCI_SIZE_FORMAT_NUMS 40
1651 #define OCI_SIZE_FORMAT_NUML 65
1652 #define OCI_SIZE_OBJ_NAME 32 // 30 is DB limit + 2 quotes
1653 
1654 #define OCI_HASH_DEFAULT_SIZE 256
1655 
1656 /* string constants */
1657 
1658 #define OCILIB_DRIVER_NAME OTEXT("OCILIB")
1659 #define OCI_STRING_NULL OTEXT("NULL")
1660 #define OCI_STRING_EMPTY OTEXT("")
1661 #define OCI_STRING_FORMAT_DATE OTEXT("YYYY-MM-DD")
1662 #define OCI_STRING_DEFAULT_PREC 3
1663 #define OCI_STRING_FORMAT_NUM \
1664  OTEXT("FM99999999999999999999999999999999999990.999999999999999999999999")
1665 #define OCI_STRING_FORMAT_NUM_BIN \
1666  OTEXT("%lf")
1667 
1668 #ifdef _WINDOWS
1669  #define OCI_CHAR_SLASH '\\'
1670 #else
1671  #define OCI_CHAR_SLASH '/'
1672 #endif
1673 
1733 OCI_EXPORT boolean OCI_API OCI_Initialize
1734 (
1735  POCI_ERROR err_handler,
1736  const otext *lib_path,
1737  unsigned int mode
1738 );
1739 
1758 OCI_EXPORT boolean OCI_API OCI_Cleanup
1759 (
1760  void
1761 );
1762 
1774 OCI_EXPORT unsigned int OCI_API OCI_GetOCICompileVersion
1775 (
1776  void
1777 );
1778 
1791 OCI_EXPORT unsigned int OCI_API OCI_GetOCIRuntimeVersion
1792 (
1793  void
1794 );
1795 
1807 OCI_EXPORT unsigned int OCI_API OCI_GetImportMode
1808 (
1809  void
1810 );
1811 
1823 OCI_EXPORT unsigned int OCI_API OCI_GetCharset
1824 (
1825  void
1826 );
1827 
1839 OCI_EXPORT void OCI_API OCI_EnableWarnings
1840 (
1841  boolean value
1842 );
1843 
1855 OCI_EXPORT void OCI_API OCI_SetErrorHandler
1856 (
1857  POCI_ERROR handler
1858 );
1859 
1882 OCI_EXPORT boolean OCI_API OCI_SetHAHandler
1883 (
1884  POCI_HA_HANDLER handler
1885 );
1886 
1955 OCI_EXPORT OCI_Error * OCI_API OCI_GetLastError
1956 (
1957  void
1958 );
1959 
1968 OCI_EXPORT const otext * OCI_API OCI_ErrorGetString
1969 (
1970  OCI_Error *err
1971 );
1972 
1991 OCI_EXPORT unsigned int OCI_API OCI_ErrorGetType
1992 (
1993  OCI_Error *err
1994 );
1995 
2004 OCI_EXPORT int OCI_API OCI_ErrorGetOCICode
2005 (
2006  OCI_Error *err
2007 );
2008 
2017 OCI_EXPORT int OCI_API OCI_ErrorGetInternalCode
2018 (
2019  OCI_Error *err
2020 );
2021 
2030 OCI_EXPORT OCI_Connection * OCI_API OCI_ErrorGetConnection
2031 (
2032  OCI_Error *err
2033 );
2034 
2046 OCI_EXPORT OCI_Statement * OCI_API OCI_ErrorGetStatement
2047 (
2048  OCI_Error *err
2049 );
2050 
2066 OCI_EXPORT unsigned int OCI_API OCI_ErrorGetRow
2067 (
2068  OCI_Error *err
2069 );
2070 
2148 OCI_EXPORT OCI_Connection * OCI_API OCI_ConnectionCreate
2149 (
2150  const otext *db,
2151  const otext *user,
2152  const otext *pwd,
2153  unsigned int mode
2154 );
2155 
2167 OCI_EXPORT boolean OCI_API OCI_ConnectionFree
2168 (
2169  OCI_Connection *con
2170 );
2171 
2180 OCI_EXPORT boolean OCI_API OCI_IsConnected
2181 (
2182  OCI_Connection *con
2183 );
2184 
2193 OCI_EXPORT void * OCI_API OCI_GetUserData
2194 (
2195  OCI_Connection *con
2196 );
2197 
2210 OCI_EXPORT boolean OCI_API OCI_SetUserData
2211 (
2212  OCI_Connection *con,
2213  void *data
2214 );
2215 
2239 OCI_EXPORT boolean OCI_API OCI_SetSessionTag
2240 (
2241  OCI_Connection *con,
2242  const otext *tag
2243 );
2244 
2253 OCI_EXPORT const otext * OCI_API OCI_GetSessionTag
2254 (
2255  OCI_Connection *con
2256 );
2257 
2266 OCI_EXPORT const otext * OCI_API OCI_GetDatabase
2267 (
2268  OCI_Connection *con
2269 );
2270 
2279 OCI_EXPORT const otext * OCI_API OCI_GetUserName
2280 (
2281  OCI_Connection *con
2282 );
2283 
2292 OCI_EXPORT const otext * OCI_API OCI_GetPassword
2293 (
2294  OCI_Connection *con
2295 );
2296 
2309 OCI_EXPORT boolean OCI_API OCI_SetPassword
2310 (
2311  OCI_Connection *con,
2312  const otext *password
2313 );
2314 
2329 OCI_EXPORT boolean OCI_API OCI_SetUserPassword
2330 (
2331  const otext *db,
2332  const otext *user,
2333  const otext *pwd,
2334  const otext *new_pwd
2335 );
2336 
2348 OCI_EXPORT unsigned int OCI_API OCI_GetSessionMode
2349 (
2350  OCI_Connection *con
2351 );
2352 
2361 OCI_EXPORT const otext * OCI_API OCI_GetVersionServer
2362 (
2363  OCI_Connection *con
2364 );
2365 
2377 OCI_EXPORT unsigned int OCI_API OCI_GetServerMajorVersion
2378 (
2379  OCI_Connection *con
2380 );
2381 
2393 OCI_EXPORT unsigned int OCI_API OCI_GetServerMinorVersion
2394 (
2395  OCI_Connection *con
2396 );
2397 
2409 OCI_EXPORT unsigned int OCI_API OCI_GetServerRevisionVersion
2410 (
2411  OCI_Connection *con
2412 );
2413 
2431 OCI_EXPORT boolean OCI_API OCI_SetDefaultFormatDate
2432 (
2433  OCI_Connection *con,
2434  const otext *format
2435 );
2436 
2448 OCI_EXPORT const otext * OCI_API OCI_GetDefaultFormatDate
2449 (
2450  OCI_Connection *con
2451 );
2452 
2479 OCI_EXPORT boolean OCI_API OCI_SetDefaultFormatNumeric
2480 (
2481  OCI_Connection *con,
2482  const otext *format
2483 );
2484 
2496 OCI_EXPORT const otext * OCI_API OCI_GetDefaultFormatNumeric
2497 (
2498  OCI_Connection *con
2499 );
2500 
2512 OCI_EXPORT OCI_Transaction * OCI_API OCI_GetTransaction
2513 (
2514  OCI_Connection *con
2515 );
2516 
2533 OCI_EXPORT boolean OCI_API OCI_SetTransaction
2534 (
2535  OCI_Connection *con,
2536  OCI_Transaction *trans
2537 );
2538 
2564 OCI_EXPORT unsigned int OCI_API OCI_GetVersionConnection
2565 (
2566  OCI_Connection *con
2567 );
2568 
2613 OCI_EXPORT boolean OCI_API OCI_SetTrace
2614 (
2615  OCI_Connection *con,
2616  unsigned int trace,
2617  const otext *value
2618 );
2619 
2632 OCI_EXPORT const otext * OCI_API OCI_GetTrace
2633 (
2634  OCI_Connection *con,
2635  unsigned int trace
2636 );
2637 
2653 OCI_EXPORT boolean OCI_API OCI_Ping
2654 (
2655  OCI_Connection *con
2656 );
2657 
2670 OCI_EXPORT const otext * OCI_API OCI_GetDBName
2671 (
2672  OCI_Connection *con
2673 );
2674 
2687 OCI_EXPORT const otext * OCI_API OCI_GetInstanceName
2688 (
2689  OCI_Connection *con
2690 );
2691 
2692 
2705 OCI_EXPORT const otext * OCI_API OCI_GetServiceName
2706 (
2707  OCI_Connection *con
2708 );
2709 
2710 
2723 OCI_EXPORT const otext * OCI_API OCI_GetServerName
2724 (
2725  OCI_Connection *con
2726 );
2727 
2728 
2741 OCI_EXPORT const otext * OCI_API OCI_GetDomainName
2742 (
2743  OCI_Connection *con
2744 );
2745 
2746 
2760 OCI_EXPORT OCI_Timestamp * OCI_API OCI_GetInstanceStartTime
2761 (
2762  OCI_Connection *con
2763 );
2764 
2780 OCI_EXPORT boolean OCI_API OCI_IsTAFCapable
2781 (
2782  OCI_Connection *con
2783 );
2784 
2804 OCI_EXPORT boolean OCI_API OCI_SetTAFHandler
2805 (
2806  OCI_Connection *con,
2807  POCI_TAF_HANDLER handler
2808 );
2809 
2824 OCI_EXPORT unsigned int OCI_API OCI_GetStatementCacheSize
2825 (
2826  OCI_Connection *con
2827 );
2828 
2844 OCI_EXPORT boolean OCI_API OCI_SetStatementCacheSize
2845 (
2846  OCI_Connection *con,
2847  unsigned int value
2848 );
2849 
2869 OCI_EXPORT unsigned int OCI_API OCI_GetDefaultLobPrefetchSize
2870 (
2871  OCI_Connection *con
2872 );
2873 
2903 OCI_EXPORT boolean OCI_API OCI_SetDefaultLobPrefetchSize
2904 (
2905  OCI_Connection *con,
2906  unsigned int value
2907 );
2908 
3001 OCI_EXPORT OCI_Pool * OCI_API OCI_PoolCreate
3002 (
3003  const otext *db,
3004  const otext *user,
3005  const otext *pwd,
3006  unsigned int type,
3007  unsigned int mode,
3008  unsigned int min_con,
3009  unsigned int max_con,
3010  unsigned int incr_con
3011 );
3012 
3024 OCI_EXPORT boolean OCI_API OCI_PoolFree
3025 (
3026  OCI_Pool *pool
3027 );
3028 
3061 OCI_EXPORT OCI_Connection * OCI_API OCI_PoolGetConnection
3062 (
3063  OCI_Pool *pool,
3064  const otext *tag
3065 );
3066 
3083 OCI_EXPORT unsigned int OCI_API OCI_PoolGetTimeout
3084 (
3085  OCI_Pool *pool
3086 );
3087 
3105 OCI_EXPORT boolean OCI_API OCI_PoolSetTimeout
3106 (
3107  OCI_Pool *pool,
3108  unsigned int value
3109 );
3110 
3124 OCI_EXPORT boolean OCI_API OCI_PoolGetNoWait
3125 (
3126  OCI_Pool *pool
3127 );
3128 
3146 OCI_EXPORT boolean OCI_API OCI_PoolSetNoWait
3147 (
3148  OCI_Pool *pool,
3149  boolean value
3150 );
3151 
3160 OCI_EXPORT unsigned int OCI_API OCI_PoolGetBusyCount
3161 (
3162  OCI_Pool *pool
3163 );
3164 
3173 OCI_EXPORT unsigned int OCI_API OCI_PoolGetOpenedCount
3174 (
3175  OCI_Pool *pool
3176 );
3177 
3186 OCI_EXPORT unsigned int OCI_API OCI_PoolGetMin
3187 (
3188  OCI_Pool *pool
3189 );
3190 
3199 OCI_EXPORT unsigned int OCI_API OCI_PoolGetMax
3200 (
3201  OCI_Pool *pool
3202 );
3203 
3213 OCI_EXPORT unsigned int OCI_API OCI_PoolGetIncrement
3214 (
3215  OCI_Pool *pool
3216 );
3217 
3229 OCI_EXPORT unsigned int OCI_API OCI_PoolGetStatementCacheSize
3230 (
3231  OCI_Pool *pool
3232 );
3233 
3246 OCI_EXPORT boolean OCI_API OCI_PoolSetStatementCacheSize
3247 (
3248  OCI_Pool *pool,
3249  unsigned int value
3250 );
3251 
3299 OCI_EXPORT boolean OCI_API OCI_Commit
3300 (
3301  OCI_Connection *con
3302 );
3303 
3315 OCI_EXPORT boolean OCI_API OCI_Rollback
3316 (
3317  OCI_Connection *con
3318 );
3319 
3334 OCI_EXPORT boolean OCI_API OCI_SetAutoCommit
3335 (
3336  OCI_Connection *con,
3337  boolean enable
3338 );
3339 
3351 OCI_EXPORT boolean OCI_API OCI_GetAutoCommit
3352 (
3353  OCI_Connection *con
3354 );
3355 
3386 OCI_EXPORT OCI_Transaction * OCI_API OCI_TransactionCreate
3387 (
3388  OCI_Connection *con,
3389  unsigned int timeout,
3390  unsigned int mode,
3391  OCI_XID *pxid
3392 );
3393 
3405 OCI_EXPORT boolean OCI_API OCI_TransactionFree
3406 (
3407  OCI_Transaction *trans
3408 );
3409 
3421 OCI_EXPORT boolean OCI_API OCI_TransactionStart
3422 (
3423  OCI_Transaction *trans
3424 );
3425 
3437 OCI_EXPORT boolean OCI_API OCI_TransactionStop
3438 (
3439  OCI_Transaction *trans
3440 );
3441 
3452 OCI_EXPORT boolean OCI_API OCI_TransactionResume
3453 (
3454  OCI_Transaction *trans
3455 );
3456 
3468 OCI_EXPORT boolean OCI_API OCI_TransactionPrepare
3469 (
3470  OCI_Transaction *trans
3471 );
3472 
3484 OCI_EXPORT boolean OCI_API OCI_TransactionForget
3485 (
3486  OCI_Transaction *trans
3487 );
3488 
3503 OCI_EXPORT unsigned int OCI_API OCI_TransactionGetMode
3504 (
3505  OCI_Transaction *trans
3506 );
3507 
3519 OCI_EXPORT unsigned int OCI_API OCI_TransactionGetTimeout
3520 (
3521  OCI_Transaction *trans
3522 );
3523 
3577 OCI_EXPORT OCI_Statement * OCI_API OCI_StatementCreate
3578 (
3579  OCI_Connection *con
3580 );
3581 
3593 OCI_EXPORT boolean OCI_API OCI_StatementFree
3594 (
3595  OCI_Statement *stmt
3596 );
3597 
3612 OCI_EXPORT boolean OCI_API OCI_Prepare
3613 (
3614  OCI_Statement *stmt,
3615  const otext *sql
3616 );
3617 
3637 OCI_EXPORT boolean OCI_API OCI_Execute
3638 (
3639  OCI_Statement *stmt
3640 );
3641 
3662 OCI_EXPORT boolean OCI_API OCI_ExecuteStmt
3663 (
3664  OCI_Statement *stmt,
3665  const otext *sql
3666 );
3667 
3696 OCI_EXPORT boolean OCI_API OCI_Parse
3697 (
3698  OCI_Statement *stmt,
3699  const otext *sql
3700 );
3701 
3734 OCI_EXPORT boolean OCI_API OCI_Describe
3735 (
3736  OCI_Statement *stmt,
3737  const otext *sql
3738 );
3739 
3748 OCI_EXPORT const otext * OCI_API OCI_GetSql
3749 (
3750  OCI_Statement *stmt
3751 );
3752 
3765 OCI_EXPORT unsigned int OCI_API OCI_GetSqlErrorPos
3766 (
3767  OCI_Statement *stmt
3768 );
3769 
3786 OCI_EXPORT unsigned int OCI_API OCI_GetAffectedRows
3787 (
3788  OCI_Statement *stmt
3789 );
3790 
3805 OCI_EXPORT unsigned int OCI_API OCI_GetSQLCommand
3806 (
3807  OCI_Statement *stmt
3808 );
3809 
3827 OCI_EXPORT const otext * OCI_API OCI_GetSQLVerb
3828 (
3829  OCI_Statement *stmt
3830 );
3831 
3968 OCI_EXPORT boolean OCI_API OCI_BindArraySetSize
3969 (
3970  OCI_Statement *stmt,
3971  unsigned int size
3972 );
3973 
3985 OCI_EXPORT unsigned int OCI_API OCI_BindArrayGetSize
3986 (
3987  OCI_Statement *stmt
3988 );
3989 
4009 OCI_EXPORT boolean OCI_API OCI_AllowRebinding
4010 (
4011  OCI_Statement *stmt,
4012  boolean value
4013 );
4014 
4028 OCI_EXPORT boolean OCI_API OCI_IsRebindingAllowed
4029 (
4030  OCI_Statement *stmt
4031 );
4032 
4049 OCI_EXPORT boolean OCI_API OCI_BindShort
4050 (
4051  OCI_Statement *stmt,
4052  const otext *name,
4053  short *data
4054 );
4055 
4077 OCI_EXPORT boolean OCI_API OCI_BindArrayOfShorts
4078 (
4079  OCI_Statement *stmt,
4080  const otext *name,
4081  short *data,
4082  unsigned int nbelem
4083 );
4084 
4101 OCI_EXPORT boolean OCI_API OCI_BindUnsignedShort
4102 (
4103  OCI_Statement *stmt,
4104  const otext *name,
4105  unsigned short *data
4106 );
4107 
4129 OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedShorts
4130 (
4131  OCI_Statement *stmt,
4132  const otext *name,
4133  unsigned short *data,
4134  unsigned int nbelem
4135 );
4136 
4153 OCI_EXPORT boolean OCI_API OCI_BindInt
4154 (
4155  OCI_Statement *stmt,
4156  const otext *name,
4157  int *data
4158 );
4159 
4181 OCI_EXPORT boolean OCI_API OCI_BindArrayOfInts
4182 (
4183  OCI_Statement *stmt,
4184  const otext *name,
4185  int *data,
4186  unsigned int nbelem
4187 );
4188 
4205 OCI_EXPORT boolean OCI_API OCI_BindUnsignedInt
4206 (
4207  OCI_Statement *stmt,
4208  const otext *name,
4209  unsigned int *data
4210 );
4211 
4233 OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedInts
4234 (
4235  OCI_Statement *stmt,
4236  const otext *name,
4237  unsigned int *data,
4238  unsigned int nbelem
4239 );
4240 
4257 OCI_EXPORT boolean OCI_API OCI_BindBigInt
4258 (
4259  OCI_Statement *stmt,
4260  const otext *name,
4261  big_int *data
4262 );
4263 
4285 OCI_EXPORT boolean OCI_API OCI_BindArrayOfBigInts
4286 (
4287  OCI_Statement *stmt,
4288  const otext *name,
4289  big_int *data,
4290  unsigned int nbelem
4291 );
4292 
4309 OCI_EXPORT boolean OCI_API OCI_BindUnsignedBigInt
4310 (
4311  OCI_Statement *stmt,
4312  const otext *name,
4313  big_uint *data
4314 );
4315 
4337 OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedBigInts
4338 (
4339  OCI_Statement *stmt,
4340  const otext *name,
4341  big_uint *data,
4342  unsigned int nbelem
4343 );
4344 
4366 OCI_EXPORT boolean OCI_API OCI_BindString
4367 (
4368  OCI_Statement *stmt,
4369  const otext *name,
4370  otext *data,
4371  unsigned int len
4372 );
4373 
4401 OCI_EXPORT boolean OCI_API OCI_BindArrayOfStrings
4402 (
4403  OCI_Statement *stmt,
4404  const otext *name,
4405  otext *data,
4406  unsigned int len,
4407  unsigned int nbelem
4408 );
4409 
4430 OCI_EXPORT boolean OCI_API OCI_BindRaw
4431 (
4432  OCI_Statement *stmt,
4433  const otext *name,
4434  void *data,
4435  unsigned int len
4436 );
4437 
4466 OCI_EXPORT boolean OCI_API OCI_BindArrayOfRaws
4467 (
4468  OCI_Statement *stmt,
4469  const otext *name,
4470  void *data,
4471  unsigned int len,
4472  unsigned int nbelem
4473 );
4474 
4491 OCI_EXPORT boolean OCI_API OCI_BindDouble
4492 (
4493  OCI_Statement *stmt,
4494  const otext *name,
4495  double *data
4496 );
4497 
4519 OCI_EXPORT boolean OCI_API OCI_BindArrayOfDoubles
4520 (
4521  OCI_Statement *stmt,
4522  const otext *name,
4523  double *data,
4524  unsigned int nbelem
4525 );
4526 
4527 
4544 OCI_EXPORT boolean OCI_API OCI_BindFloat
4545 (
4546  OCI_Statement *stmt,
4547  const otext *name,
4548  float *data
4549 );
4550 
4572 OCI_EXPORT boolean OCI_API OCI_BindArrayOfFloats
4573 (
4574  OCI_Statement *stmt,
4575  const otext *name,
4576  float *data,
4577  unsigned int nbelem
4578 );
4579 
4596 OCI_EXPORT boolean OCI_API OCI_BindDate
4597 (
4598  OCI_Statement *stmt,
4599  const otext *name,
4600  OCI_Date *data
4601 );
4602 
4624 OCI_EXPORT boolean OCI_API OCI_BindArrayOfDates
4625 (
4626  OCI_Statement *stmt,
4627  const otext *name,
4628  OCI_Date **data,
4629  unsigned int nbelem
4630 );
4631 
4647 OCI_EXPORT boolean OCI_API OCI_BindTimestamp
4648 (
4649  OCI_Statement *stmt,
4650  const otext *name,
4651  OCI_Timestamp *data
4652 );
4653 
4679 OCI_EXPORT boolean OCI_API OCI_BindArrayOfTimestamps
4680 (
4681  OCI_Statement *stmt,
4682  const otext *name,
4683  OCI_Timestamp **data,
4684  unsigned int type,
4685  unsigned int nbelem
4686 );
4687 
4704 OCI_EXPORT boolean OCI_API OCI_BindInterval
4705 (
4706  OCI_Statement *stmt,
4707  const otext *name,
4708  OCI_Interval *data
4709 );
4710 
4737 OCI_EXPORT boolean OCI_API OCI_BindArrayOfIntervals
4738 (
4739  OCI_Statement *stmt,
4740  const otext *name,
4741  OCI_Interval **data,
4742  unsigned int type,
4743  unsigned int nbelem
4744 );
4745 
4761 OCI_EXPORT boolean OCI_API OCI_BindLob
4762 (
4763  OCI_Statement *stmt,
4764  const otext *name,
4765  OCI_Lob *data
4766 );
4767 
4793 OCI_EXPORT boolean OCI_API OCI_BindArrayOfLobs
4794 (
4795  OCI_Statement *stmt,
4796  const otext *name,
4797  OCI_Lob **data,
4798  unsigned int type,
4799  unsigned int nbelem
4800 );
4801 
4817 OCI_EXPORT boolean OCI_API OCI_BindFile
4818 (
4819  OCI_Statement *stmt,
4820  const otext *name,
4821  OCI_File *data
4822 );
4823 
4849 OCI_EXPORT boolean OCI_API OCI_BindArrayOfFiles
4850 (
4851  OCI_Statement *stmt,
4852  const otext *name,
4853  OCI_File **data,
4854  unsigned int type,
4855  unsigned int nbelem
4856 );
4857 
4874 OCI_EXPORT boolean OCI_API OCI_BindObject
4875 (
4876  OCI_Statement *stmt,
4877  const otext *name,
4878  OCI_Object *data
4879 );
4880 
4904 OCI_EXPORT boolean OCI_API OCI_BindArrayOfObjects
4905 (
4906  OCI_Statement *stmt,
4907  const otext *name,
4908  OCI_Object **data,
4909  OCI_TypeInfo *typinf,
4910  unsigned int nbelem
4911 );
4912 
4928 OCI_EXPORT boolean OCI_API OCI_BindColl
4929 (
4930  OCI_Statement *stmt,
4931  const otext *name,
4932  OCI_Coll *data
4933 );
4934 
4961 OCI_EXPORT boolean OCI_API OCI_BindArrayOfColls
4962 (
4963  OCI_Statement *stmt,
4964  const otext *name,
4965  OCI_Coll **data,
4966  OCI_TypeInfo *typinf,
4967  unsigned int nbelem
4968 );
4969 
4985 OCI_EXPORT boolean OCI_API OCI_BindRef
4986 (
4987  OCI_Statement *stmt,
4988  const otext *name,
4989  OCI_Ref *data
4990 );
4991 
5015 OCI_EXPORT boolean OCI_API OCI_BindArrayOfRefs
5016 (
5017  OCI_Statement *stmt,
5018  const otext *name,
5019  OCI_Ref **data,
5020  OCI_TypeInfo *typinf,
5021  unsigned int nbelem
5022 );
5023 
5039 OCI_EXPORT boolean OCI_API OCI_BindStatement
5040 (
5041  OCI_Statement *stmt,
5042  const otext *name,
5043  OCI_Statement *data
5044 );
5045 
5067 OCI_EXPORT boolean OCI_API OCI_BindLong
5068 (
5069  OCI_Statement *stmt,
5070  const otext *name,
5071  OCI_Long *data,
5072  unsigned int size
5073 );
5074 
5085 OCI_EXPORT OCI_Error * OCI_API OCI_GetBatchError
5086 (
5087  OCI_Statement *stmt
5088 );
5089 
5098 OCI_EXPORT unsigned int OCI_API OCI_GetBatchErrorCount
5099 (
5100  OCI_Statement *stmt
5101 );
5102 
5111 OCI_EXPORT unsigned int OCI_API OCI_GetBindCount
5112 (
5113  OCI_Statement *stmt
5114 );
5115 
5136 OCI_EXPORT OCI_Bind * OCI_API OCI_GetBind
5137 (
5138  OCI_Statement *stmt,
5139  unsigned int index
5140 );
5141 
5157 OCI_EXPORT OCI_Bind * OCI_API OCI_GetBind2
5158 (
5159  OCI_Statement *stmt,
5160  const otext *name
5161 );
5162 
5181 OCI_EXPORT unsigned int OCI_API OCI_GetBindIndex
5182 (
5183  OCI_Statement *stmt,
5184  const otext *name
5185 );
5186 
5195 OCI_EXPORT const otext * OCI_API OCI_BindGetName
5196 (
5197  OCI_Bind *bnd
5198 );
5199 
5200 
5222 OCI_EXPORT boolean OCI_API OCI_BindSetDirection
5223 (
5224  OCI_Bind *bnd,
5225  unsigned int direction
5226 );
5227 
5241 OCI_EXPORT unsigned int OCI_API OCI_BindGetDirection
5242 (
5243  OCI_Bind *bnd
5244 );
5245 
5274 OCI_EXPORT unsigned int OCI_API OCI_BindGetType
5275 (
5276  OCI_Bind *bnd
5277 );
5278 
5333 OCI_EXPORT unsigned int OCI_API OCI_BindGetSubtype
5334 (
5335  OCI_Bind *bnd
5336 );
5337 
5350 OCI_EXPORT unsigned int OCI_API OCI_BindGetDataCount
5351 (
5352  OCI_Bind *bnd
5353 );
5354 
5367 OCI_EXPORT void * OCI_API OCI_BindGetData
5368 (
5369  OCI_Bind *bnd
5370 );
5371 
5380 OCI_EXPORT OCI_Statement * OCI_API OCI_BindGetStatement
5381 (
5382  OCI_Bind *bnd
5383 );
5384 
5410 OCI_EXPORT boolean OCI_API OCI_BindSetDataSize
5411 (
5412  OCI_Bind *bnd,
5413  unsigned int size
5414 );
5415 
5442 OCI_EXPORT boolean OCI_API OCI_BindSetDataSizeAtPos
5443 (
5444  OCI_Bind *bnd,
5445  unsigned int position,
5446  unsigned int size
5447 );
5448 
5464 OCI_EXPORT unsigned int OCI_API OCI_BindGetDataSize
5465 (
5466  OCI_Bind *bnd
5467 );
5468 
5486 OCI_EXPORT unsigned int OCI_API OCI_BindGetDataSizeAtPos
5487 (
5488  OCI_Bind *bnd,
5489  unsigned int position
5490 );
5491 
5511 OCI_EXPORT boolean OCI_API OCI_BindSetNull
5512 (
5513  OCI_Bind *bnd
5514 );
5515 
5539 OCI_EXPORT boolean OCI_API OCI_BindSetNullAtPos
5540 (
5541  OCI_Bind *bnd,
5542  unsigned int position
5543 );
5544 
5564 OCI_EXPORT boolean OCI_API OCI_BindSetNotNull
5565 (
5566  OCI_Bind *bnd
5567 );
5568 
5592 OCI_EXPORT boolean OCI_API OCI_BindSetNotNullAtPos
5593 (
5594  OCI_Bind *bnd,
5595  unsigned int position
5596 );
5597 
5609 OCI_EXPORT boolean OCI_API OCI_BindIsNull
5610 (
5611  OCI_Bind *bnd
5612 );
5613 
5630 OCI_EXPORT boolean OCI_API OCI_BindIsNullAtPos
5631 (
5632  OCI_Bind *bnd,
5633  unsigned int position
5634 );
5635 
5662 boolean OCI_API OCI_BindSetCharsetForm
5663 (
5664  OCI_Bind *bnd,
5665  unsigned int csfrm
5666 );
5667 
5839 OCI_EXPORT OCI_Resultset * OCI_API OCI_GetResultset
5840 (
5841  OCI_Statement *stmt
5842 );
5843 
5864 OCI_EXPORT boolean OCI_API OCI_ReleaseResultsets
5865 (
5866  OCI_Statement *stmt
5867 );
5868 
5886 OCI_EXPORT boolean OCI_API OCI_FetchNext
5887 (
5888  OCI_Resultset *rs
5889 );
5890 
5908 OCI_EXPORT boolean OCI_API OCI_FetchPrev
5909 (
5910  OCI_Resultset *rs
5911 );
5912 
5929 OCI_EXPORT boolean OCI_API OCI_FetchFirst
5930 (
5931  OCI_Resultset *rs
5932 );
5933 
5950 OCI_EXPORT boolean OCI_API OCI_FetchLast
5951 (
5952  OCI_Resultset *rs
5953 );
5954 
5985 OCI_EXPORT boolean OCI_API OCI_FetchSeek
5986 (
5987  OCI_Resultset *rs,
5988  unsigned int mode,
5989  int offset
5990 );
5991 
6000 OCI_EXPORT unsigned int OCI_API OCI_GetRowCount
6001 (
6002  OCI_Resultset *rs
6003 );
6004 
6018 OCI_EXPORT unsigned int OCI_API OCI_GetCurrentRow
6019 (
6020  OCI_Resultset *rs
6021 );
6022 
6031 OCI_EXPORT unsigned int OCI_API OCI_GetColumnCount
6032 (
6033  OCI_Resultset *rs
6034 );
6035 
6049 OCI_EXPORT OCI_Column * OCI_API OCI_GetColumn
6050 (
6051  OCI_Resultset *rs,
6052  unsigned int index
6053 );
6054 
6071 OCI_EXPORT OCI_Column * OCI_API OCI_GetColumn2
6072 (
6073  OCI_Resultset *rs,
6074  const otext *name
6075 );
6076 
6095 OCI_EXPORT unsigned int OCI_API OCI_GetColumnIndex
6096 (
6097  OCI_Resultset *rs,
6098  const otext *name
6099 );
6100 
6109 OCI_EXPORT const otext * OCI_API OCI_ColumnGetName
6110 (
6111  OCI_Column *col
6112 );
6113 
6142 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetType
6143 (
6144  OCI_Column *col
6145 );
6146 
6161 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetCharsetForm
6162 (
6163  OCI_Column *col
6164 );
6165 
6177 OCI_EXPORT const otext * OCI_API OCI_ColumnGetSQLType
6178 (
6179  OCI_Column *col
6180 );
6181 
6199 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetFullSQLType
6200 (
6201  OCI_Column *col,
6202  otext *buffer,
6203  unsigned int len
6204 );
6205 
6218 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetSize
6219 (
6220  OCI_Column *col
6221 );
6222 
6231 OCI_EXPORT int OCI_API OCI_ColumnGetScale
6232 (
6233  OCI_Column *col
6234 );
6235 
6244 OCI_EXPORT int OCI_API OCI_ColumnGetPrecision
6245 (
6246  OCI_Column *col
6247 );
6248 
6257 OCI_EXPORT int OCI_API OCI_ColumnGetFractionalPrecision
6258 (
6259  OCI_Column *col
6260 );
6261 
6270 OCI_EXPORT int OCI_API OCI_ColumnGetLeadingPrecision
6271 (
6272  OCI_Column *col
6273 );
6274 
6286 OCI_EXPORT boolean OCI_API OCI_ColumnGetNullable
6287 (
6288  OCI_Column *col
6289 );
6290 
6304 OCI_EXPORT boolean OCI_API OCI_ColumnGetCharUsed
6305 (
6306  OCI_Column *col
6307 );
6308 
6333 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetPropertyFlags
6334 (
6335  OCI_Column *col
6336 );
6337 
6350 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_ColumnGetTypeInfo
6351 (
6352  OCI_Column *col
6353 );
6354 
6398 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetSubType
6399 (
6400  OCI_Column *col
6401 );
6402 
6428 OCI_EXPORT boolean OCI_API OCI_SetStructNumericType
6429 (
6430  OCI_Resultset *rs,
6431  unsigned int index,
6432  unsigned int type
6433 );
6434 
6460 OCI_EXPORT boolean OCI_API OCI_SetStructNumericType2
6461 (
6462  OCI_Resultset *rs,
6463  const otext *name,
6464  unsigned int type
6465 );
6466 
6518 OCI_EXPORT boolean OCI_API OCI_GetStruct
6519 (
6520  OCI_Resultset *rs,
6521  void *row_struct,
6522  void *row_struct_ind
6523 );
6524 
6540 OCI_EXPORT short OCI_API OCI_GetShort
6541 (
6542  OCI_Resultset *rs,
6543  unsigned int index
6544 );
6545 
6561 OCI_EXPORT short OCI_API OCI_GetShort2
6562 (
6563  OCI_Resultset *rs,
6564  const otext *name
6565 );
6566 
6582 OCI_EXPORT unsigned short OCI_API OCI_GetUnsignedShort
6583 (
6584  OCI_Resultset *rs,
6585  unsigned int index
6586 );
6587 
6603 OCI_EXPORT unsigned short OCI_API OCI_GetUnsignedShort2
6604 (
6605  OCI_Resultset *rs,
6606  const otext *name
6607 );
6608 
6624 OCI_EXPORT int OCI_API OCI_GetInt
6625 (
6626  OCI_Resultset *rs,
6627  unsigned int index
6628 );
6629 
6645 OCI_EXPORT int OCI_API OCI_GetInt2
6646 (
6647  OCI_Resultset *rs,
6648  const otext *name
6649 );
6650 
6666 OCI_EXPORT unsigned int OCI_API OCI_GetUnsignedInt
6667 (
6668  OCI_Resultset *rs,
6669  unsigned int index
6670 );
6671 
6687 OCI_EXPORT unsigned int OCI_API OCI_GetUnsignedInt2
6688 (
6689  OCI_Resultset *rs,
6690  const otext *name
6691 );
6692 
6708 OCI_EXPORT big_int OCI_API OCI_GetBigInt
6709 (
6710  OCI_Resultset *rs,
6711  unsigned int index
6712 );
6713 
6729 OCI_EXPORT big_int OCI_API OCI_GetBigInt2
6730 (
6731  OCI_Resultset *rs,
6732  const otext *name
6733 );
6734 
6750 OCI_EXPORT big_uint OCI_API OCI_GetUnsignedBigInt
6751 (
6752  OCI_Resultset *rs,
6753  unsigned int index
6754 );
6755 
6771 OCI_EXPORT big_uint OCI_API OCI_GetUnsignedBigInt2
6772 (
6773  OCI_Resultset *rs,
6774  const otext *name
6775 );
6776 
6811 OCI_EXPORT const otext * OCI_API OCI_GetString
6812 (
6813  OCI_Resultset *rs,
6814  unsigned int index
6815 );
6816 
6832 OCI_EXPORT const otext * OCI_API OCI_GetString2
6833 (
6834  OCI_Resultset *rs,
6835  const otext *name
6836 );
6837 
6855 OCI_EXPORT unsigned int OCI_API OCI_GetRaw
6856 (
6857  OCI_Resultset *rs,
6858  unsigned int index,
6859  void *buffer,
6860  unsigned int len
6861 );
6862 
6880 OCI_EXPORT unsigned int OCI_API OCI_GetRaw2
6881 (
6882  OCI_Resultset *rs,
6883  const otext *name,
6884  void *buffer,
6885  unsigned int len
6886 );
6887 
6903 OCI_EXPORT double OCI_API OCI_GetDouble
6904 (
6905  OCI_Resultset *rs,
6906  unsigned int index
6907 );
6908 
6924 OCI_EXPORT double OCI_API OCI_GetDouble2
6925 (
6926  OCI_Resultset *rs,
6927  const otext *name
6928 );
6929 
6945 OCI_EXPORT float OCI_API OCI_GetFloat
6946 (
6947  OCI_Resultset *rs,
6948  unsigned int index
6949 );
6950 
6966 OCI_EXPORT float OCI_API OCI_GetFloat2
6967 (
6968  OCI_Resultset *rs,
6969  const otext *name
6970 );
6971 
6987 OCI_EXPORT OCI_Date * OCI_API OCI_GetDate
6988 (
6989  OCI_Resultset *rs,
6990  unsigned int index
6991 );
6992 
7005 OCI_EXPORT OCI_Date * OCI_API OCI_GetDate2
7006 (
7007  OCI_Resultset *rs,
7008  const otext *name
7009 );
7010 
7026 OCI_EXPORT OCI_Timestamp * OCI_API OCI_GetTimestamp
7027 (
7028  OCI_Resultset *rs,
7029  unsigned int index
7030 );
7031 
7044 OCI_EXPORT OCI_Timestamp * OCI_API OCI_GetTimestamp2
7045 (
7046  OCI_Resultset *rs,
7047  const otext *name
7048 );
7049 
7065 OCI_EXPORT OCI_Interval * OCI_API OCI_GetInterval
7066 (
7067  OCI_Resultset *rs,
7068  unsigned int index
7069 );
7070 
7083 OCI_EXPORT OCI_Interval * OCI_API OCI_GetInterval2
7084 (
7085  OCI_Resultset *rs,
7086  const otext *name
7087 );
7088 
7104 OCI_EXPORT OCI_Statement * OCI_API OCI_GetStatement
7105 (
7106  OCI_Resultset *rs,
7107  unsigned int index
7108 );
7109 
7122 OCI_EXPORT OCI_Statement * OCI_API OCI_GetStatement2
7123 (
7124  OCI_Resultset *rs,
7125  const otext *name
7126 );
7127 
7143 OCI_EXPORT OCI_Lob * OCI_API OCI_GetLob
7144 (
7145  OCI_Resultset *rs,
7146  unsigned int index
7147 );
7148 
7161 OCI_EXPORT OCI_Lob * OCI_API OCI_GetLob2
7162 (
7163  OCI_Resultset *rs,
7164  const otext *name
7165 );
7166 
7182 OCI_EXPORT OCI_File * OCI_API OCI_GetFile
7183 (
7184  OCI_Resultset *rs,
7185  unsigned int index
7186 );
7187 
7200 OCI_EXPORT OCI_File * OCI_API OCI_GetFile2
7201 (
7202  OCI_Resultset *rs,
7203  const otext *name
7204 );
7205 
7221 OCI_EXPORT OCI_Object * OCI_API OCI_GetObject
7222 (
7223  OCI_Resultset *rs,
7224  unsigned int index
7225 );
7226 
7239 OCI_EXPORT OCI_Object * OCI_API OCI_GetObject2
7240 (
7241  OCI_Resultset *rs,
7242  const otext *name
7243 );
7244 
7260 OCI_EXPORT OCI_Coll * OCI_API OCI_GetColl
7261 (
7262  OCI_Resultset *rs,
7263  unsigned int index
7264 );
7265 
7278 OCI_EXPORT OCI_Coll * OCI_API OCI_GetColl2
7279 (
7280  OCI_Resultset *rs,
7281  const otext *name
7282 );
7283 
7299 OCI_EXPORT OCI_Ref * OCI_API OCI_GetRef
7300 (
7301  OCI_Resultset *rs,
7302  unsigned int index
7303 );
7304 
7317 OCI_EXPORT OCI_Ref * OCI_API OCI_GetRef2
7318 (
7319  OCI_Resultset *rs,
7320  const otext *name
7321 );
7322 
7338 OCI_EXPORT OCI_Long * OCI_API OCI_GetLong
7339 (
7340  OCI_Resultset *rs,
7341  unsigned int index
7342 );
7343 
7356 OCI_EXPORT OCI_Long * OCI_API OCI_GetLong2
7357 (
7358  OCI_Resultset *rs,
7359  const otext *name
7360 );
7361 
7377 OCI_EXPORT boolean OCI_API OCI_IsNull
7378 (
7379  OCI_Resultset *rs,
7380  unsigned int index
7381 );
7382 
7395 OCI_EXPORT boolean OCI_API OCI_IsNull2
7396 (
7397  OCI_Resultset *rs,
7398  const otext *name
7399 );
7400 
7409 OCI_EXPORT OCI_Statement * OCI_API OCI_ResultsetGetStatement
7410 (
7411  OCI_Resultset *rs
7412 );
7413 
7429 OCI_EXPORT unsigned int OCI_API OCI_GetDataLength
7430 (
7431  OCI_Resultset *rs,
7432  unsigned int index
7433 );
7434 
7499 OCI_EXPORT boolean OCI_API OCI_ServerEnableOutput
7500 (
7501  OCI_Connection *con,
7502  unsigned int bufsize,
7503  unsigned int arrsize,
7504  unsigned int lnsize
7505 );
7506 
7521 OCI_EXPORT boolean OCI_API OCI_ServerDisableOutput
7522 (
7523  OCI_Connection *con
7524 );
7525 
7541 OCI_EXPORT const otext * OCI_API OCI_ServerGetOutput
7542 (
7543  OCI_Connection *con
7544 );
7545 
7597 OCI_EXPORT OCI_Coll * OCI_API OCI_CollCreate
7598 (
7599  OCI_TypeInfo *typinf
7600 );
7601 
7617 OCI_EXPORT boolean OCI_API OCI_CollFree
7618 (
7619  OCI_Coll *coll
7620 );
7621 
7638 OCI_EXPORT OCI_Coll ** OCI_API OCI_CollArrayCreate
7639 (
7640  OCI_Connection *con,
7641  OCI_TypeInfo *typinf,
7642  unsigned int nbelem
7643 );
7644 
7660 OCI_EXPORT boolean OCI_API OCI_CollArrayFree
7661 (
7662  OCI_Coll **colls
7663 );
7664 
7680 OCI_EXPORT boolean OCI_API OCI_CollAssign
7681 (
7682  OCI_Coll *coll,
7683  OCI_Coll *coll_src
7684 );
7685 
7694 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_CollGetTypeInfo
7695 (
7696  OCI_Coll *coll
7697 );
7698 
7716 OCI_EXPORT unsigned int OCI_API OCI_CollGetType
7717 (
7718  OCI_Coll *coll
7719 );
7720 
7729 OCI_EXPORT unsigned int OCI_API OCI_CollGetMax
7730 (
7731  OCI_Coll *coll
7732 );
7733 
7742 OCI_EXPORT unsigned int OCI_API OCI_CollGetSize
7743 (
7744  OCI_Coll *coll
7745 );
7746 
7760 OCI_EXPORT unsigned int OCI_API OCI_CollGetCount
7761 (
7762  OCI_Coll *coll
7763 );
7764 
7777 OCI_EXPORT boolean OCI_API OCI_CollTrim
7778 (
7779  OCI_Coll *coll,
7780  unsigned int nb_elem
7781 );
7782 
7794 OCI_EXPORT boolean OCI_API OCI_CollClear
7795 (
7796  OCI_Coll *coll
7797 );
7798 
7814 OCI_EXPORT OCI_Elem * OCI_API OCI_CollGetElem
7815 (
7816  OCI_Coll *coll,
7817  unsigned int index
7818 );
7819 
7836 OCI_EXPORT boolean OCI_API OCI_CollGetElem2
7837 (
7838  OCI_Coll *coll,
7839  unsigned int index,
7840  OCI_Elem *elem
7841 );
7842 
7860 OCI_EXPORT boolean OCI_API OCI_CollSetElem
7861 (
7862  OCI_Coll *coll,
7863  unsigned int index,
7864  OCI_Elem *elem
7865 );
7866 
7881 OCI_EXPORT boolean OCI_API OCI_CollAppend
7882 (
7883  OCI_Coll *coll,
7884  OCI_Elem *elem
7885 );
7886 
7912 OCI_EXPORT boolean OCI_API OCI_CollToText
7913 (
7914  OCI_Coll *coll,
7915  unsigned int *size,
7916  otext *str
7917 );
7918 
7939 OCI_EXPORT boolean OCI_API OCI_CollDeleteElem
7940 (
7941  OCI_Coll *coll,
7942  unsigned int index
7943 );
7944 
7956 OCI_EXPORT OCI_Iter * OCI_API OCI_IterCreate
7957 (
7958  OCI_Coll *coll
7959 );
7960 
7972 OCI_EXPORT boolean OCI_API OCI_IterFree
7973 (
7974  OCI_Iter *iter
7975 );
7976 
7991 OCI_EXPORT OCI_Elem * OCI_API OCI_IterGetNext
7992 (
7993  OCI_Iter *iter
7994 );
7995 
8010 OCI_EXPORT OCI_Elem * OCI_API OCI_IterGetPrev
8011 (
8012  OCI_Iter *iter
8013 );
8014 
8029 OCI_EXPORT OCI_Elem * OCI_API OCI_IterGetCurrent
8030 (
8031  OCI_Iter *iter
8032 );
8033 
8046 OCI_EXPORT OCI_Elem * OCI_API OCI_ElemCreate
8047 (
8048  OCI_TypeInfo *typinf
8049 );
8050 
8066 OCI_EXPORT boolean OCI_API OCI_ElemFree
8067 (
8068  OCI_Elem *elem
8069 );
8070 
8082 OCI_EXPORT short OCI_API OCI_ElemGetShort
8083 (
8084  OCI_Elem *elem
8085 );
8086 
8098 OCI_EXPORT unsigned short OCI_API OCI_ElemGetUnsignedShort
8099 (
8100  OCI_Elem *elem
8101 );
8102 
8114 OCI_EXPORT int OCI_API OCI_ElemGetInt
8115 (
8116  OCI_Elem *elem
8117 );
8118 
8130 OCI_EXPORT unsigned int OCI_API OCI_ElemGetUnsignedInt
8131 (
8132  OCI_Elem *elem
8133 );
8134 
8146 OCI_EXPORT big_int OCI_API OCI_ElemGetBigInt
8147 (
8148  OCI_Elem *elem
8149 );
8150 
8162 OCI_EXPORT big_uint OCI_API OCI_ElemGetUnsignedBigInt
8163 (
8164  OCI_Elem *elem
8165 );
8166 
8178 OCI_EXPORT double OCI_API OCI_ElemGetDouble
8179 (
8180  OCI_Elem *elem
8181 );
8182 
8194 OCI_EXPORT float OCI_API OCI_ElemGetFloat
8195 (
8196  OCI_Elem *elem
8197 );
8198 
8210 OCI_EXPORT const otext * OCI_API OCI_ElemGetString
8211 (
8212  OCI_Elem *elem
8213 );
8214 
8228 OCI_EXPORT unsigned int OCI_API OCI_ElemGetRaw
8229 (
8230  OCI_Elem *elem,
8231  void *value,
8232  unsigned int len
8233 );
8234 
8246 OCI_EXPORT unsigned int OCI_API OCI_ElemGetRawSize
8247 (
8248  OCI_Elem *elem
8249 );
8250 
8262 OCI_EXPORT OCI_Date * OCI_API OCI_ElemGetDate
8263 (
8264  OCI_Elem *elem
8265 );
8266 
8278 OCI_EXPORT OCI_Timestamp * OCI_API OCI_ElemGetTimestamp
8279 (
8280  OCI_Elem *elem
8281 );
8282 
8294 OCI_EXPORT OCI_Interval * OCI_API OCI_ElemGetInterval
8295 (
8296  OCI_Elem *elem
8297 );
8298 
8310 OCI_EXPORT OCI_Lob * OCI_API OCI_ElemGetLob
8311 (
8312  OCI_Elem *elem
8313 );
8314 
8326 OCI_EXPORT OCI_File * OCI_API OCI_ElemGetFile
8327 (
8328  OCI_Elem *elem
8329 );
8330 
8342 OCI_EXPORT OCI_Object * OCI_API OCI_ElemGetObject
8343 (
8344  OCI_Elem *elem
8345 );
8346 
8358 OCI_EXPORT OCI_Coll * OCI_API OCI_ElemGetColl
8359 (
8360  OCI_Elem *elem
8361 );
8362 
8374 OCI_EXPORT OCI_Ref * OCI_API OCI_ElemGetRef
8375 (
8376  OCI_Elem *elem
8377 );
8378 
8391 OCI_EXPORT boolean OCI_API OCI_ElemSetShort
8392 (
8393  OCI_Elem *elem,
8394  short value
8395 );
8396 
8409 OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedShort
8410 (
8411  OCI_Elem *elem,
8412  unsigned short value
8413 );
8414 
8427 OCI_EXPORT boolean OCI_API OCI_ElemSetInt
8428 (
8429  OCI_Elem *elem,
8430  int value
8431 );
8432 
8445 OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedInt
8446 (
8447  OCI_Elem *elem,
8448  unsigned int value
8449 );
8450 
8463 OCI_EXPORT boolean OCI_API OCI_ElemSetBigInt
8464 (
8465  OCI_Elem *elem,
8466  big_int value
8467 );
8468 
8481 OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedBigInt
8482 (
8483  OCI_Elem *elem,
8484  big_uint value
8485 );
8486 
8499 OCI_EXPORT boolean OCI_API OCI_ElemSetDouble
8500 (
8501  OCI_Elem *elem,
8502  double value
8503 );
8504 
8517 OCI_EXPORT boolean OCI_API OCI_ElemSetFloat
8518 (
8519  OCI_Elem *elem,
8520  float value
8521 );
8522 
8538 OCI_EXPORT boolean OCI_API OCI_ElemSetString
8539 (
8540  OCI_Elem *elem,
8541  const otext *value
8542 );
8543 
8560 OCI_EXPORT boolean OCI_API OCI_ElemSetRaw
8561 (
8562  OCI_Elem *elem,
8563  void *value,
8564  unsigned int len
8565 );
8566 
8582 OCI_EXPORT boolean OCI_API OCI_ElemSetDate
8583 (
8584  OCI_Elem *elem,
8585  OCI_Date *value
8586 );
8587 
8603 OCI_EXPORT boolean OCI_API OCI_ElemSetTimestamp
8604 (
8605  OCI_Elem *elem,
8606  OCI_Timestamp *value
8607 );
8608 
8624 OCI_EXPORT boolean OCI_API OCI_ElemSetInterval
8625 (
8626  OCI_Elem *elem,
8627  OCI_Interval *value
8628 );
8629 
8645 OCI_EXPORT boolean OCI_API OCI_ElemSetColl
8646 (
8647  OCI_Elem *elem,
8648  OCI_Coll *value
8649 );
8650 
8671 OCI_EXPORT boolean OCI_API OCI_ElemSetObject
8672 (
8673  OCI_Elem *elem,
8674  OCI_Object *value
8675 );
8676 
8692 OCI_EXPORT boolean OCI_API OCI_ElemSetLob
8693 (
8694  OCI_Elem *elem,
8695  OCI_Lob *value
8696 );
8697 
8713 OCI_EXPORT boolean OCI_API OCI_ElemSetFile
8714 (
8715  OCI_Elem *elem,
8716  OCI_File *value
8717 );
8718 
8734 OCI_EXPORT boolean OCI_API OCI_ElemSetRef
8735 (
8736  OCI_Elem *elem,
8737  OCI_Ref *value
8738 );
8739 
8751 OCI_EXPORT boolean OCI_API OCI_ElemIsNull
8752 (
8753  OCI_Elem *elem
8754 );
8755 
8767 OCI_EXPORT boolean OCI_API OCI_ElemSetNull
8768 (
8769  OCI_Elem *elem
8770 );
8771 
8851 OCI_EXPORT OCI_Resultset * OCI_API OCI_GetNextResultset
8852 (
8853  OCI_Statement *stmt
8854 );
8855 
8868 OCI_EXPORT boolean OCI_API OCI_RegisterShort
8869 (
8870  OCI_Statement *stmt,
8871  const otext *name
8872 );
8873 
8886 OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedShort
8887 (
8888  OCI_Statement *stmt,
8889  const otext *name
8890 );
8891 
8904 OCI_EXPORT boolean OCI_API OCI_RegisterInt
8905 (
8906  OCI_Statement *stmt,
8907  const otext *name
8908 );
8909 
8922 OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedInt
8923 (
8924  OCI_Statement *stmt,
8925  const otext *name
8926 );
8927 
8940 OCI_EXPORT boolean OCI_API OCI_RegisterBigInt
8941 (
8942  OCI_Statement *stmt,
8943  const otext *name
8944 );
8945 
8958 OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedBigInt
8959 (
8960  OCI_Statement *stmt,
8961  const otext *name
8962 );
8963 
8977 OCI_EXPORT boolean OCI_API OCI_RegisterString
8978 (
8979  OCI_Statement *stmt,
8980  const otext *name,
8981  unsigned int len
8982 );
8983 
8996 OCI_EXPORT boolean OCI_API OCI_RegisterRaw
8997 (
8998  OCI_Statement *stmt,
8999  const otext *name,
9000  unsigned int len
9001 );
9002 
9014 OCI_EXPORT boolean OCI_API OCI_RegisterDouble
9015 (
9016  OCI_Statement *stmt,
9017  const otext *name
9018 );
9019 
9031 OCI_EXPORT boolean OCI_API OCI_RegisterFloat
9032 (
9033  OCI_Statement *stmt,
9034  const otext *name
9035 );
9036 
9048 OCI_EXPORT boolean OCI_API OCI_RegisterDate
9049 (
9050  OCI_Statement *stmt,
9051  const otext *name
9052 );
9053 
9069 OCI_EXPORT boolean OCI_API OCI_RegisterTimestamp
9070 (
9071  OCI_Statement *stmt,
9072  const otext *name,
9073  unsigned int type
9074 );
9075 
9091 OCI_EXPORT boolean OCI_API OCI_RegisterInterval
9092 (
9093  OCI_Statement *stmt,
9094  const otext *name,
9095  unsigned int type
9096 );
9097 
9110 OCI_EXPORT boolean OCI_API OCI_RegisterObject
9111 (
9112  OCI_Statement *stmt,
9113  const otext *name,
9114  OCI_TypeInfo *typinf
9115 );
9116 
9132 OCI_EXPORT boolean OCI_API OCI_RegisterLob
9133 (
9134  OCI_Statement *stmt,
9135  const otext *name,
9136  unsigned int type
9137 );
9138 
9154 OCI_EXPORT boolean OCI_API OCI_RegisterFile
9155 (
9156  OCI_Statement *stmt,
9157  const otext *name,
9158  unsigned int type
9159 );
9160 
9173 OCI_EXPORT boolean OCI_API OCI_RegisterRef
9174 (
9175  OCI_Statement *stmt,
9176  const otext *name,
9177  OCI_TypeInfo *typinf
9178 );
9179 
9234 OCI_EXPORT unsigned int OCI_API OCI_GetStatementType
9235 (
9236  OCI_Statement *stmt
9237 );
9238 
9256 OCI_EXPORT boolean OCI_API OCI_SetFetchMode
9257 (
9258  OCI_Statement *stmt,
9259  unsigned int mode
9260 );
9261 
9274 OCI_EXPORT unsigned int OCI_API OCI_GetFetchMode
9275 (
9276  OCI_Statement *stmt
9277 );
9278 
9293 OCI_EXPORT boolean OCI_API OCI_SetBindMode
9294 (
9295  OCI_Statement *stmt,
9296  unsigned int mode
9297 );
9298 
9314 OCI_EXPORT unsigned int OCI_API OCI_GetBindMode
9315 (
9316  OCI_Statement *stmt
9317 );
9318 
9333 OCI_EXPORT boolean OCI_API OCI_SetBindAllocation
9334 (
9335  OCI_Statement *stmt,
9336  unsigned int mode
9337 );
9338 
9353 OCI_EXPORT unsigned int OCI_API OCI_GetBindAllocation
9354 (
9355  OCI_Statement *stmt
9356 );
9357 
9370 OCI_EXPORT boolean OCI_API OCI_SetFetchSize
9371 (
9372  OCI_Statement *stmt,
9373  unsigned int size
9374 );
9375 
9387 OCI_EXPORT unsigned int OCI_API OCI_GetFetchSize
9388 (
9389  OCI_Statement *stmt
9390 );
9391 
9407 OCI_EXPORT boolean OCI_API OCI_SetPrefetchSize
9408 (
9409  OCI_Statement *stmt,
9410  unsigned int size
9411 );
9412 
9424 OCI_EXPORT unsigned int OCI_API OCI_GetPrefetchSize
9425 (
9426  OCI_Statement *stmt
9427 );
9428 
9452 OCI_EXPORT boolean OCI_API OCI_SetPrefetchMemory
9453 (
9454  OCI_Statement *stmt,
9455  unsigned int size
9456 );
9457 
9469 OCI_EXPORT unsigned int OCI_API OCI_GetPrefetchMemory
9470 (
9471  OCI_Statement *stmt
9472 );
9473 
9486 OCI_EXPORT boolean OCI_API OCI_SetLongMaxSize
9487 (
9488  OCI_Statement *stmt,
9489  unsigned int size
9490 );
9491 
9503 OCI_EXPORT unsigned int OCI_API OCI_GetLongMaxSize
9504 (
9505  OCI_Statement *stmt
9506 );
9507 
9525 OCI_EXPORT boolean OCI_API OCI_SetLongMode
9526 (
9527  OCI_Statement *stmt,
9528  unsigned int mode
9529 );
9530 
9542 OCI_EXPORT unsigned int OCI_API OCI_GetLongMode
9543 (
9544  OCI_Statement *stmt
9545 );
9546 
9555 OCI_EXPORT OCI_Connection * OCI_API OCI_StatementGetConnection
9556 (
9557  OCI_Statement *stmt
9558 );
9559 
9631 OCI_EXPORT OCI_Lob * OCI_API OCI_LobCreate
9632 (
9633  OCI_Connection *con,
9634  unsigned int type
9635 );
9636 
9651 OCI_EXPORT boolean OCI_API OCI_LobFree
9652 (
9653  OCI_Lob *lob
9654 );
9655 
9672 OCI_EXPORT OCI_Lob ** OCI_API OCI_LobArrayCreate
9673 (
9674  OCI_Connection *con,
9675  unsigned int type,
9676  unsigned int nbelem
9677 );
9678 
9694 OCI_EXPORT boolean OCI_API OCI_LobArrayFree
9695 (
9696  OCI_Lob **lobs
9697 );
9698 
9713 OCI_EXPORT unsigned int OCI_API OCI_LobGetType
9714 (
9715  OCI_Lob *lob
9716 );
9717 
9745 OCI_EXPORT boolean OCI_API OCI_LobSeek
9746 (
9747  OCI_Lob *lob,
9748  big_uint offset,
9749  unsigned int mode
9750 );
9751 
9762 OCI_EXPORT big_uint OCI_API OCI_LobGetOffset
9763 (
9764  OCI_Lob *lob
9765 );
9766 
9788 OCI_EXPORT unsigned int OCI_API OCI_LobRead
9789 (
9790  OCI_Lob *lob,
9791  void *buffer,
9792  unsigned int len
9793 );
9794 
9820 OCI_EXPORT boolean OCI_API OCI_LobRead2
9821 (
9822  OCI_Lob *lob,
9823  void *buffer,
9824  unsigned int *char_count,
9825  unsigned int *byte_count
9826 );
9827 
9849 OCI_EXPORT unsigned int OCI_API OCI_LobWrite
9850 (
9851  OCI_Lob *lob,
9852  void *buffer,
9853  unsigned int len
9854 );
9855 
9881 OCI_EXPORT boolean OCI_API OCI_LobWrite2
9882 (
9883  OCI_Lob *lob,
9884  void *buffer,
9885  unsigned int *char_count,
9886  unsigned int *byte_count
9887 );
9888 
9906 OCI_EXPORT boolean OCI_API OCI_LobTruncate
9907 (
9908  OCI_Lob *lob,
9909  big_uint size
9910 );
9911 
9923 OCI_EXPORT big_uint OCI_API OCI_LobGetLength
9924 (
9925  OCI_Lob *lob
9926 );
9927 
9945 OCI_EXPORT unsigned int OCI_API OCI_LobGetChunkSize
9946 (
9947  OCI_Lob *lob
9948 );
9949 
9968 OCI_EXPORT big_uint OCI_API OCI_LobErase
9969 (
9970  OCI_Lob *lob,
9971  big_uint offset,
9972  big_uint len
9973 );
9974 
9993 OCI_EXPORT unsigned int OCI_API OCI_LobAppend
9994 (
9995  OCI_Lob *lob,
9996  void *buffer,
9997  unsigned int len
9998 );
9999 
10025 OCI_EXPORT boolean OCI_API OCI_LobAppend2
10026 (
10027  OCI_Lob *lob,
10028  void *buffer,
10029  unsigned int *char_count,
10030  unsigned int *byte_count
10031 );
10032 
10045 OCI_EXPORT boolean OCI_API OCI_LobAppendLob
10046 (
10047  OCI_Lob *lob,
10048  OCI_Lob *lob_src
10049 );
10050 
10062 OCI_EXPORT boolean OCI_API OCI_LobIsTemporary
10063 (
10064  OCI_Lob *lob
10065 );
10066 
10086 OCI_EXPORT boolean OCI_API OCI_LobCopy
10087 (
10088  OCI_Lob *lob,
10089  OCI_Lob *lob_src,
10090  big_uint offset_dst,
10091  big_uint offset_src,
10092  big_uint count
10093 );
10094 
10115 OCI_EXPORT boolean OCI_API OCI_LobCopyFromFile
10116 (
10117  OCI_Lob *lob,
10118  OCI_File *file,
10119  big_uint offset_dst,
10120  big_uint offset_src,
10121  big_uint count
10122 );
10123 
10146 OCI_EXPORT boolean OCI_API OCI_LobOpen
10147 (
10148  OCI_Lob *lob,
10149  unsigned int mode
10150 );
10151 
10166 OCI_EXPORT boolean OCI_API OCI_LobClose
10167 (
10168  OCI_Lob *lob
10169 );
10170 
10185 OCI_EXPORT boolean OCI_API OCI_LobIsEqual
10186 (
10187  OCI_Lob *lob,
10188  OCI_Lob *lob2
10189 );
10190 
10203 OCI_EXPORT boolean OCI_API OCI_LobAssign
10204 (
10205  OCI_Lob *lob,
10206  OCI_Lob *lob_src
10207 );
10208 
10220 OCI_EXPORT big_uint OCI_API OCI_LobGetMaxSize
10221 (
10222  OCI_Lob *lob
10223 );
10224 
10236 OCI_EXPORT boolean OCI_API OCI_LobFlush
10237 (
10238  OCI_Lob *lob
10239 );
10240 
10265 OCI_EXPORT boolean OCI_API OCI_LobEnableBuffering
10266 (
10267  OCI_Lob *lob,
10268  boolean value
10269 );
10270 
10279 OCI_EXPORT OCI_Connection * OCI_API OCI_LobGetConnection
10280 (
10281  OCI_Lob *lob
10282 );
10283 
10343 OCI_EXPORT OCI_File * OCI_API OCI_FileCreate
10344 (
10345  OCI_Connection *con,
10346  unsigned int type
10347 );
10348 
10363 OCI_EXPORT boolean OCI_API OCI_FileFree
10364 (
10365  OCI_File *file
10366 );
10367 
10384 OCI_EXPORT OCI_File ** OCI_API OCI_FileArrayCreate
10385 (
10386  OCI_Connection *con,
10387  unsigned int type,
10388  unsigned int nbelem
10389 );
10390 
10405 OCI_EXPORT boolean OCI_API OCI_FileArrayFree
10406 (
10407  OCI_File **files
10408 );
10409 
10424 OCI_EXPORT unsigned int OCI_API OCI_FileGetType
10425 (
10426  OCI_File *file
10427 );
10428 
10452 OCI_EXPORT boolean OCI_API OCI_FileSeek
10453 (
10454  OCI_File *file,
10455  big_uint offset,
10456  unsigned int mode
10457 );
10458 
10469 OCI_EXPORT big_uint OCI_API OCI_FileGetOffset
10470 (
10471  OCI_File *file
10472 );
10473 
10487 OCI_EXPORT unsigned int OCI_API OCI_FileRead
10488 (
10489  OCI_File *file,
10490  void *buffer,
10491  unsigned int len
10492 );
10493 
10502 OCI_EXPORT big_uint OCI_API OCI_FileGetSize
10503 (
10504  OCI_File *file
10505 );
10506 
10521 OCI_EXPORT boolean OCI_API OCI_FileExists
10522 (
10523  OCI_File *file
10524 );
10525 
10543 OCI_EXPORT boolean OCI_API OCI_FileSetName
10544 (
10545  OCI_File *file,
10546  const otext *dir,
10547  const otext *name
10548 );
10549 
10558 OCI_EXPORT const otext * OCI_API OCI_FileGetDirectory
10559 (
10560  OCI_File *file
10561 );
10562 
10571 OCI_EXPORT const otext * OCI_API OCI_FileGetName
10572 (
10573  OCI_File *file
10574 );
10575 
10587 OCI_EXPORT boolean OCI_API OCI_FileOpen
10588 (
10589  OCI_File *file
10590 );
10591 
10603 OCI_EXPORT boolean OCI_API OCI_FileIsOpen
10604 (
10605  OCI_File *file
10606 );
10607 
10619 OCI_EXPORT boolean OCI_API OCI_FileClose
10620 (
10621  OCI_File *file
10622 );
10623 
10638 OCI_EXPORT boolean OCI_API OCI_FileIsEqual
10639 (
10640  OCI_File *file,
10641  OCI_File *file2
10642 );
10643 
10656 OCI_EXPORT boolean OCI_API OCI_FileAssign
10657 (
10658  OCI_File *file,
10659  OCI_File *file_src
10660 );
10661 
10670 OCI_EXPORT OCI_Connection * OCI_API OCI_FileGetConnection
10671 (
10672  OCI_File *file
10673 );
10674 
10727 OCI_EXPORT OCI_Long * OCI_API OCI_LongCreate
10728 (
10729  OCI_Statement *stmt,
10730  unsigned int type
10731 );
10732 
10747 OCI_EXPORT boolean OCI_API OCI_LongFree
10748 (
10749  OCI_Long *lg
10750 );
10751 
10766 OCI_EXPORT unsigned int OCI_API OCI_LongGetType
10767 (
10768  OCI_Long *lg
10769 );
10770 
10796 OCI_EXPORT unsigned int OCI_API OCI_LongRead
10797 (
10798  OCI_Long *lg,
10799  void *buffer,
10800  unsigned int len
10801 );
10802 
10817 OCI_EXPORT unsigned int OCI_API OCI_LongWrite
10818 (
10819  OCI_Long *lg,
10820  void *buffer,
10821  unsigned int len
10822 );
10823 
10832 OCI_EXPORT unsigned int OCI_API OCI_LongGetSize
10833 (
10834  OCI_Long *lg
10835 );
10836 
10845 OCI_EXPORT void * OCI_API OCI_LongGetBuffer
10846 (
10847  OCI_Long *lg
10848 );
10849 
10882 OCI_EXPORT OCI_Date * OCI_API OCI_DateCreate
10883 (
10884  OCI_Connection *con
10885 );
10886 
10901 OCI_EXPORT boolean OCI_API OCI_DateFree
10902 (
10903  OCI_Date *date
10904 );
10905 
10921 OCI_EXPORT OCI_Date ** OCI_API OCI_DateArrayCreate
10922 (
10923  OCI_Connection *con,
10924  unsigned int nbelem
10925 );
10926 
10941 OCI_EXPORT boolean OCI_API OCI_DateArrayFree
10942 (
10943  OCI_Date **dates
10944 );
10945 
10958 OCI_EXPORT boolean OCI_API OCI_DateAddDays
10959 (
10960  OCI_Date *date,
10961  int nb
10962 );
10963 
10976 OCI_EXPORT boolean OCI_API OCI_DateAddMonths
10977 (
10978  OCI_Date *date,
10979  int nb
10980 );
10981 
10994 OCI_EXPORT int OCI_API OCI_DateAssign
10995 (
10996  OCI_Date *date,
10997  OCI_Date *date_src
10998 );
10999 
11012 OCI_EXPORT int OCI_API OCI_DateCheck
11013 (
11014  OCI_Date *date
11015 );
11016 
11031 OCI_EXPORT int OCI_API OCI_DateCompare
11032 (
11033  OCI_Date *date,
11034  OCI_Date *date2
11035 );
11036 
11049 OCI_EXPORT int OCI_API OCI_DateDaysBetween
11050 (
11051  OCI_Date *date,
11052  OCI_Date *date2
11053 );
11054 
11068 OCI_EXPORT boolean OCI_API OCI_DateFromText
11069 (
11070  OCI_Date *date,
11071  const otext *str,
11072  const otext *fmt
11073 );
11074 
11089 OCI_EXPORT boolean OCI_API OCI_DateToText
11090 (
11091  OCI_Date *date,
11092  const otext *fmt,
11093  int size,
11094  otext *str
11095 );
11096 
11111 OCI_EXPORT boolean OCI_API OCI_DateGetDate
11112 (
11113  OCI_Date *date,
11114  int *year,
11115  int *month,
11116  int *day
11117 );
11118 
11133 OCI_EXPORT boolean OCI_API OCI_DateGetTime
11134 (
11135  OCI_Date *date,
11136  int *hour,
11137  int *min,
11138  int *sec
11139 );
11140 
11158 OCI_EXPORT boolean OCI_API OCI_DateGetDateTime
11159 (
11160  OCI_Date *date,
11161  int *year,
11162  int *month,
11163  int *day,
11164  int *hour,
11165  int *min,
11166  int *sec
11167 );
11168 
11183 OCI_EXPORT boolean OCI_API OCI_DateSetDate
11184 (
11185  OCI_Date *date,
11186  int year,
11187  int month,
11188  int day
11189 );
11190 
11205 OCI_EXPORT boolean OCI_API OCI_DateSetTime
11206 (
11207  OCI_Date *date,
11208  int hour,
11209  int min,
11210  int sec
11211 );
11212 
11230 OCI_EXPORT boolean OCI_API OCI_DateSetDateTime
11231 (
11232  OCI_Date *date,
11233  int year,
11234  int month,
11235  int day,
11236  int hour,
11237  int min,
11238  int sec
11239 );
11240 
11252 OCI_EXPORT boolean OCI_API OCI_DateLastDay
11253 (
11254  OCI_Date *date
11255 );
11256 
11269 OCI_EXPORT boolean OCI_API OCI_DateNextDay
11270 (
11271  OCI_Date *date,
11272  const otext *day
11273 );
11274 
11286 OCI_EXPORT boolean OCI_API OCI_DateSysDate
11287 (
11288  OCI_Date *date
11289 );
11290 
11304 OCI_EXPORT boolean OCI_API OCI_DateZoneToZone
11305 (
11306  OCI_Date *date,
11307  const otext *zone1,
11308  const otext *zone2
11309 );
11310 
11327 OCI_EXPORT boolean OCI_API OCI_DateToCTime
11328 (
11329  OCI_Date *date,
11330  struct tm *ptm,
11331  time_t *pt
11332 );
11333 
11353 OCI_EXPORT boolean OCI_API OCI_DateFromCTime
11354 (
11355  OCI_Date *date,
11356  struct tm *ptm,
11357  time_t t
11358 );
11359 
11404 OCI_EXPORT OCI_Timestamp * OCI_API OCI_TimestampCreate
11405 (
11406  OCI_Connection *con,
11407  unsigned int type
11408 );
11409 
11424 OCI_EXPORT boolean OCI_API OCI_TimestampFree
11425 (
11426  OCI_Timestamp *tmsp
11427 );
11428 
11445 OCI_EXPORT OCI_Timestamp ** OCI_API OCI_TimestampArrayCreate
11446 (
11447  OCI_Connection *con,
11448  unsigned int type,
11449  unsigned int nbelem
11450 );
11451 
11467 OCI_EXPORT boolean OCI_API OCI_TimestampArrayFree
11468 (
11469  OCI_Timestamp **tmsps
11470 );
11471 
11486 OCI_EXPORT unsigned int OCI_API OCI_TimestampGetType
11487 (
11488  OCI_Timestamp *tmsp
11489 );
11490 
11503 OCI_EXPORT boolean OCI_API OCI_TimestampAssign
11504 (
11505  OCI_Timestamp *tmsp,
11506  OCI_Timestamp *tmsp_src
11507 );
11508 
11521 OCI_EXPORT int OCI_API OCI_TimestampCheck
11522 (
11523  OCI_Timestamp *tmsp
11524 );
11525 
11540 OCI_EXPORT int OCI_API OCI_TimestampCompare
11541 (
11542  OCI_Timestamp *tmsp,
11543  OCI_Timestamp *tmsp2
11544 );
11545 
11565 OCI_EXPORT boolean OCI_API OCI_TimestampConstruct
11566 (
11567  OCI_Timestamp *tmsp,
11568  int year,
11569  int month,
11570  int day,
11571  int hour,
11572  int min,
11573  int sec,
11574  int fsec,
11575  const otext *time_zone
11576 );
11577 
11590 OCI_EXPORT boolean OCI_API OCI_TimestampConvert
11591 (
11592  OCI_Timestamp *tmsp,
11593  OCI_Timestamp *tmsp_src
11594 );
11595 
11609 OCI_EXPORT boolean OCI_API OCI_TimestampFromText
11610 (
11611  OCI_Timestamp *tmsp,
11612  const otext *str,
11613  const otext *fmt
11614 );
11615 
11631 OCI_EXPORT boolean OCI_API OCI_TimestampToText
11632 (
11633  OCI_Timestamp *tmsp,
11634  const otext *fmt,
11635  int size,
11636  otext *str,
11637  int precision
11638 );
11639 
11654 OCI_EXPORT boolean OCI_API OCI_TimestampGetDate
11655 (
11656  OCI_Timestamp *tmsp,
11657  int *year,
11658  int *month,
11659  int *day
11660 );
11661 
11677 OCI_EXPORT boolean OCI_API OCI_TimestampGetTime
11678 (
11679  OCI_Timestamp *tmsp,
11680  int *hour,
11681  int *min,
11682  int *sec,
11683  int *fsec
11684 );
11685 
11704 OCI_EXPORT boolean OCI_API OCI_TimestampGetDateTime
11705 (
11706  OCI_Timestamp *tmsp,
11707  int *year,
11708  int *month,
11709  int *day,
11710  int *hour,
11711  int *min,
11712  int *sec,
11713  int *fsec
11714 );
11715 
11729 OCI_EXPORT boolean OCI_API OCI_TimestampGetTimeZoneName
11730 (
11731  OCI_Timestamp *tmsp,
11732  int size,
11733  otext *str
11734 );
11735 
11749 OCI_EXPORT boolean OCI_API OCI_TimestampGetTimeZoneOffset
11750 (
11751  OCI_Timestamp *tmsp,
11752  int *hour,
11753  int *min
11754 );
11755 
11768 OCI_EXPORT boolean OCI_API OCI_TimestampIntervalAdd
11769 (
11770  OCI_Timestamp *tmsp,
11771  OCI_Interval *itv
11772 );
11773 
11786 OCI_EXPORT boolean OCI_API OCI_TimestampIntervalSub
11787 (
11788  OCI_Timestamp *tmsp,
11789  OCI_Interval *itv
11790 );
11791 
11808 OCI_EXPORT boolean OCI_API OCI_TimestampSubtract
11809 (
11810  OCI_Timestamp *tmsp,
11811  OCI_Timestamp *tmsp2,
11812  OCI_Interval *itv
11813 );
11814 
11827 OCI_EXPORT boolean OCI_API OCI_TimestampSysTimestamp
11828 (
11829  OCI_Timestamp *tmsp
11830 );
11831 
11848 OCI_EXPORT boolean OCI_API OCI_TimestampToCTime
11849 (
11850  OCI_Timestamp *tmsp,
11851  struct tm *ptm,
11852  time_t *pt
11853 );
11854 
11874 OCI_EXPORT boolean OCI_API OCI_TimestampFromCTime
11875 (
11876  OCI_Timestamp *tmsp,
11877  struct tm *ptm,
11878  time_t t
11879 );
11880 
11903 OCI_EXPORT OCI_Interval * OCI_API OCI_IntervalCreate
11904 (
11905  OCI_Connection *con,
11906  unsigned int type
11907 );
11908 
11924 OCI_EXPORT boolean OCI_API OCI_IntervalFree
11925 (
11926  OCI_Interval *itv
11927 );
11928 
11945 OCI_EXPORT OCI_Interval ** OCI_API OCI_IntervalArrayCreate
11946 (
11947  OCI_Connection *con,
11948  unsigned int type,
11949  unsigned int nbelem
11950 );
11951 
11967 OCI_EXPORT boolean OCI_API OCI_IntervalArrayFree
11968 (
11969  OCI_Interval **itvs
11970 );
11971 
11986 OCI_EXPORT unsigned int OCI_API OCI_IntervalGetType
11987 (
11988  OCI_Interval *itv
11989 );
11990 
12003 OCI_EXPORT boolean OCI_API OCI_IntervalAssign
12004 (
12005  OCI_Interval *itv,
12006  OCI_Interval *itv_src
12007 );
12008 
12021 OCI_EXPORT int OCI_API OCI_IntervalCheck
12022 (
12023  OCI_Interval *itv
12024 );
12025 
12040 OCI_EXPORT int OCI_API OCI_IntervalCompare
12041 (
12042  OCI_Interval *itv,
12043  OCI_Interval *itv2
12044 );
12045 
12058 OCI_EXPORT boolean OCI_API OCI_IntervalFromText
12059 (
12060  OCI_Interval *itv,
12061  const otext *str
12062 );
12063 
12079 OCI_EXPORT boolean OCI_API OCI_IntervalToText
12080 (
12081  OCI_Interval *itv,
12082  int leading_prec,
12083  int fraction_prec,
12084  int size,
12085  otext *str
12086 );
12087 
12100 OCI_EXPORT boolean OCI_API OCI_IntervalFromTimeZone
12101 (
12102  OCI_Interval *itv,
12103  const otext *str
12104 );
12105 
12122 OCI_EXPORT boolean OCI_API OCI_IntervalGetDaySecond
12123 (
12124  OCI_Interval *itv,
12125  int *day,
12126  int *hour,
12127  int *min,
12128  int *sec,
12129  int *fsec
12130 );
12131 
12145 OCI_EXPORT boolean OCI_API OCI_IntervalGetYearMonth
12146 (
12147  OCI_Interval *itv,
12148  int *year,
12149  int *month
12150 );
12151 
12168 OCI_EXPORT boolean OCI_API OCI_IntervalSetDaySecond
12169 (
12170  OCI_Interval *itv,
12171  int day,
12172  int hour,
12173  int min,
12174  int sec,
12175  int fsec
12176 );
12177 
12191 OCI_EXPORT boolean OCI_API OCI_IntervalSetYearMonth
12192 (
12193  OCI_Interval *itv,
12194  int year,
12195  int month
12196 );
12197 
12210 OCI_EXPORT boolean OCI_API OCI_IntervalAdd
12211 (
12212  OCI_Interval *itv,
12213  OCI_Interval *itv2
12214 );
12215 
12228 OCI_EXPORT boolean OCI_API OCI_IntervalSubtract
12229 (
12230  OCI_Interval *itv,
12231  OCI_Interval *itv2
12232 );
12233 
12293 OCI_EXPORT OCI_Object * OCI_API OCI_ObjectCreate
12294 (
12295  OCI_Connection *con,
12296  OCI_TypeInfo *typinf
12297 );
12298 
12314 OCI_EXPORT boolean OCI_API OCI_ObjectFree
12315 (
12316  OCI_Object *obj
12317 );
12318 
12335 OCI_EXPORT OCI_Object ** OCI_API OCI_ObjectArrayCreate
12336 (
12337  OCI_Connection *con,
12338  OCI_TypeInfo *typinf,
12339  unsigned int nbelem
12340 );
12341 
12357 OCI_EXPORT boolean OCI_API OCI_ObjectArrayFree
12358 (
12359  OCI_Object **objs
12360 );
12361 
12380 OCI_EXPORT boolean OCI_API OCI_ObjectAssign
12381 (
12382  OCI_Object *obj,
12383  OCI_Object *obj_src
12384 );
12385 
12404 OCI_EXPORT unsigned int OCI_API OCI_ObjectGetType
12405 (
12406  OCI_Object *obj
12407 );
12408 
12426 OCI_EXPORT boolean OCI_API OCI_ObjectGetSelfRef
12427 (
12428  OCI_Object *obj,
12429  OCI_Ref *ref
12430 );
12431 
12440 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_ObjectGetTypeInfo
12441 (
12442  OCI_Object *obj
12443 );
12444 
12462 OCI_EXPORT short OCI_API OCI_ObjectGetShort
12463 (
12464  OCI_Object *obj,
12465  const otext *attr
12466 );
12467 
12485 OCI_EXPORT unsigned short OCI_API OCI_ObjectGetUnsignedShort
12486 (
12487  OCI_Object *obj,
12488  const otext *attr
12489 );
12490 
12508 OCI_EXPORT int OCI_API OCI_ObjectGetInt
12509 (
12510  OCI_Object *obj,
12511  const otext *attr
12512 );
12513 
12531 OCI_EXPORT unsigned int OCI_API OCI_ObjectGetUnsignedInt
12532 (
12533  OCI_Object *obj,
12534  const otext *attr
12535 );
12536 
12554 OCI_EXPORT big_int OCI_API OCI_ObjectGetBigInt
12555 (
12556  OCI_Object *obj,
12557  const otext *attr
12558 );
12559 
12577 OCI_EXPORT big_uint OCI_API OCI_ObjectGetUnsignedBigInt
12578 (
12579  OCI_Object *obj,
12580  const otext *attr
12581 );
12582 
12600 OCI_EXPORT double OCI_API OCI_ObjectGetDouble
12601 (
12602  OCI_Object *obj,
12603  const otext *attr
12604 );
12605 
12623 OCI_EXPORT float OCI_API OCI_ObjectGetFloat
12624 (
12625  OCI_Object *obj,
12626  const otext *attr
12627 );
12628 
12646 OCI_EXPORT const otext * OCI_API OCI_ObjectGetString
12647 (
12648  OCI_Object *obj,
12649  const otext *attr
12650 );
12651 
12672 OCI_EXPORT int OCI_API OCI_ObjectGetRaw
12673 (
12674  OCI_Object *obj,
12675  const otext *attr,
12676  void *value,
12677  unsigned int len
12678 );
12679 
12697 OCI_EXPORT unsigned int OCI_API OCI_ObjectGetRawSize
12698 (
12699  OCI_Object *obj,
12700  const otext *attr
12701 );
12702 
12720 OCI_EXPORT OCI_Date * OCI_API OCI_ObjectGetDate
12721 (
12722  OCI_Object *obj,
12723  const otext *attr
12724 );
12725 
12743 OCI_EXPORT OCI_Timestamp * OCI_API OCI_ObjectGetTimestamp
12744 (
12745  OCI_Object *obj,
12746  const otext *attr
12747 );
12748 
12766 OCI_EXPORT OCI_Interval * OCI_API OCI_ObjectGetInterval
12767 (
12768  OCI_Object *obj,
12769  const otext *attr
12770 );
12771 
12789 OCI_EXPORT OCI_Coll * OCI_API OCI_ObjectGetColl
12790 (
12791  OCI_Object *obj,
12792  const otext *attr
12793 );
12794 
12812 OCI_EXPORT OCI_Ref * OCI_API OCI_ObjectGetRef
12813 (
12814  OCI_Object *obj,
12815  const otext *attr
12816 );
12817 
12835 OCI_EXPORT OCI_Object * OCI_API OCI_ObjectGetObject
12836 (
12837  OCI_Object *obj,
12838  const otext *attr
12839 );
12840 
12858 OCI_EXPORT OCI_Lob * OCI_API OCI_ObjectGetLob
12859 (
12860  OCI_Object *obj,
12861  const otext *attr
12862 );
12863 
12881 OCI_EXPORT OCI_File * OCI_API OCI_ObjectGetFile
12882 (
12883  OCI_Object *obj,
12884  const otext *attr
12885 );
12886 
12900 OCI_EXPORT boolean OCI_API OCI_ObjectSetShort
12901 (
12902  OCI_Object *obj,
12903  const otext *attr,
12904  short value
12905 );
12906 
12920 OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedShort
12921 (
12922  OCI_Object *obj,
12923  const otext *attr,
12924  unsigned short value
12925 );
12926 
12940 OCI_EXPORT boolean OCI_API OCI_ObjectSetInt
12941 (
12942  OCI_Object *obj,
12943  const otext *attr,
12944  int value
12945 );
12946 
12960 OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedInt
12961 (
12962  OCI_Object *obj,
12963  const otext *attr,
12964  unsigned int value
12965 );
12966 
12980 OCI_EXPORT boolean OCI_API OCI_ObjectSetBigInt
12981 (
12982  OCI_Object *obj,
12983  const otext *attr,
12984  big_int value
12985 );
12986 
13000 OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedBigInt
13001 (
13002  OCI_Object *obj,
13003  const otext *attr,
13004  big_uint value
13005 );
13006 
13020 OCI_EXPORT boolean OCI_API OCI_ObjectSetDouble
13021 (
13022  OCI_Object *obj,
13023  const otext *attr,
13024  double value
13025 );
13026 
13040 OCI_EXPORT boolean OCI_API OCI_ObjectSetFloat
13041 (
13042  OCI_Object *obj,
13043  const otext *attr,
13044  float value
13045 );
13046 
13063 OCI_EXPORT boolean OCI_API OCI_ObjectSetString
13064 (
13065  OCI_Object *obj,
13066  const otext *attr,
13067  const otext *value
13068 );
13069 
13087 OCI_EXPORT boolean OCI_API OCI_ObjectSetRaw
13088 (
13089  OCI_Object *obj,
13090  const otext *attr,
13091  void *value,
13092  unsigned int len
13093 );
13094 
13111 OCI_EXPORT boolean OCI_API OCI_ObjectSetDate
13112 (
13113  OCI_Object *obj,
13114  const otext *attr,
13115  OCI_Date *value
13116 );
13117 
13134 OCI_EXPORT boolean OCI_API OCI_ObjectSetTimestamp
13135 (
13136  OCI_Object *obj,
13137  const otext *attr,
13138  OCI_Timestamp *value
13139 );
13140 
13157 OCI_EXPORT boolean OCI_API OCI_ObjectSetInterval
13158 (
13159  OCI_Object *obj,
13160  const otext *attr,
13161  OCI_Interval *value
13162 );
13163 
13180 OCI_EXPORT boolean OCI_API OCI_ObjectSetColl
13181 (
13182  OCI_Object *obj,
13183  const otext *attr,
13184  OCI_Coll *value
13185 );
13186 
13208 OCI_EXPORT boolean OCI_API OCI_ObjectSetObject
13209 (
13210  OCI_Object *obj,
13211  const otext *attr,
13212  OCI_Object *value
13213 );
13214 
13231 OCI_EXPORT boolean OCI_API OCI_ObjectSetLob
13232 (
13233  OCI_Object *obj,
13234  const otext *attr,
13235  OCI_Lob *value
13236 );
13237 
13254 OCI_EXPORT boolean OCI_API OCI_ObjectSetFile
13255 (
13256  OCI_Object *obj,
13257  const otext *attr,
13258  OCI_File *value
13259 );
13260 
13277 OCI_EXPORT boolean OCI_API OCI_ObjectSetRef
13278 (
13279  OCI_Object *obj,
13280  const otext *attr,
13281  OCI_Ref *value
13282 );
13283 
13296 OCI_EXPORT boolean OCI_API OCI_ObjectIsNull
13297 (
13298  OCI_Object *obj,
13299  const otext *attr
13300 );
13301 
13314 OCI_EXPORT boolean OCI_API OCI_ObjectSetNull
13315 (
13316  OCI_Object *obj,
13317  const otext *attr
13318 );
13319 
13339 OCI_EXPORT boolean OCI_API OCI_ObjectGetStruct
13340 (
13341  OCI_Object *obj,
13342  void **pp_struct,
13343  void **pp_ind
13344 );
13345 
13371 OCI_EXPORT boolean OCI_API OCI_ObjectToText
13372 (
13373  OCI_Object *obj,
13374  unsigned int *size,
13375  otext *str
13376 );
13377 
13390 OCI_EXPORT OCI_Ref * OCI_API OCI_RefCreate
13391 (
13392  OCI_Connection *con,
13393  OCI_TypeInfo *typinf
13394 );
13395 
13411 OCI_EXPORT boolean OCI_API OCI_RefFree
13412 (
13413  OCI_Ref *ref
13414 );
13415 
13432 OCI_EXPORT OCI_Ref ** OCI_API OCI_RefArrayCreate
13433 (
13434  OCI_Connection *con,
13435  OCI_TypeInfo *typinf,
13436  unsigned int nbelem
13437 );
13438 
13454 OCI_EXPORT boolean OCI_API OCI_RefArrayFree
13455 (
13456  OCI_Ref **refs
13457 );
13458 
13474 OCI_EXPORT boolean OCI_API OCI_RefAssign
13475 (
13476  OCI_Ref *ref,
13477  OCI_Ref *ref_src
13478 );
13479 
13488 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_RefGetTypeInfo
13489 (
13490  OCI_Ref *ref
13491 );
13492 
13504 OCI_EXPORT OCI_Object * OCI_API OCI_RefGetObject
13505 (
13506  OCI_Ref *ref
13507 );
13508 
13520 OCI_EXPORT boolean OCI_API OCI_RefIsNull
13521 (
13522  OCI_Ref *ref
13523 );
13524 
13538 OCI_EXPORT boolean OCI_API OCI_RefSetNull
13539 (
13540  OCI_Ref *ref
13541 );
13542 
13555 OCI_EXPORT unsigned int OCI_API OCI_RefGetHexSize
13556 (
13557  OCI_Ref *ref
13558 );
13559 
13573 OCI_EXPORT boolean OCI_API OCI_RefToText
13574 (
13575  OCI_Ref *ref,
13576  unsigned int size,
13577  otext *str
13578 );
13579 
13625 OCI_EXPORT boolean OCI_API OCI_Break
13626 (
13627  OCI_Connection *con
13628 );
13629 
13667 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_TypeInfoGet
13668 (
13669  OCI_Connection *con,
13670  const otext *name,
13671  unsigned int type
13672 );
13673 
13693 OCI_EXPORT unsigned int OCI_API OCI_TypeInfoGetType
13694 (
13695  OCI_TypeInfo *typinf
13696 );
13697 
13706 OCI_EXPORT OCI_Connection * OCI_API OCI_TypeInfoGetConnection
13707 (
13708  OCI_TypeInfo *typinf
13709 );
13710 
13727 OCI_EXPORT boolean OCI_API OCI_TypeInfoFree
13728 (
13729  OCI_TypeInfo *typinf
13730 );
13731 
13740 OCI_EXPORT unsigned int OCI_API OCI_TypeInfoGetColumnCount
13741 (
13742  OCI_TypeInfo *typinf
13743 );
13744 
13758 OCI_EXPORT OCI_Column * OCI_API OCI_TypeInfoGetColumn
13759 (
13760  OCI_TypeInfo *typinf,
13761  unsigned int index
13762 );
13763 
13774 OCI_EXPORT const otext * OCI_API OCI_TypeInfoGetName
13775 (
13776  OCI_TypeInfo *typinf
13777 );
13778 
13876 OCI_EXPORT boolean OCI_Immediate
13877 (
13878  OCI_Connection *con,
13879  const otext *sql,
13880  ...
13881 );
13882 
13896 OCI_EXPORT boolean OCI_ImmediateFmt
13897 (
13898  OCI_Connection *con,
13899  const otext *sql,
13900  ...
13901 );
13902 
13915 OCI_EXPORT boolean OCI_PrepareFmt
13916 (
13917  OCI_Statement *stmt,
13918  const otext *sql,
13919  ...
13920 );
13921 
13943 OCI_EXPORT boolean OCI_ExecuteStmtFmt
13944 (
13945  OCI_Statement *stmt,
13946  const otext *sql,
13947  ...
13948 );
13949 
13979 OCI_EXPORT boolean OCI_ParseFmt
13980 (
13981  OCI_Statement *stmt,
13982  const otext *sql,
13983  ...
13984 );
13985 
14018 OCI_EXPORT boolean OCI_DescribeFmt
14019 (
14020  OCI_Statement *stmt,
14021  const otext *sql,
14022  ...
14023 );
14024 
14086 OCI_EXPORT OCI_HashTable * OCI_API OCI_HashCreate
14087 (
14088  unsigned int size,
14089  unsigned int type
14090 );
14091 
14103 OCI_EXPORT boolean OCI_API OCI_HashFree
14104 (
14105  OCI_HashTable *table
14106 );
14107 
14116 OCI_EXPORT unsigned int OCI_API OCI_HashGetSize
14117 (
14118  OCI_HashTable *table
14119 );
14120 
14139 OCI_EXPORT unsigned int OCI_API OCI_HashGetType
14140 (
14141  OCI_HashTable *table
14142 );
14143 
14157 OCI_EXPORT boolean OCI_API OCI_HashAddString
14158 (
14159  OCI_HashTable *table,
14160  const otext *key,
14161  const otext *value
14162 );
14163 
14176 OCI_EXPORT const otext * OCI_API OCI_HashGetString
14177 (
14178  OCI_HashTable *table,
14179  const otext *key
14180 );
14181 
14195 OCI_EXPORT boolean OCI_API OCI_HashAddInt
14196 (
14197  OCI_HashTable *table,
14198  const otext *key,
14199  int value
14200 );
14201 
14214 OCI_EXPORT int OCI_API OCI_HashGetInt
14215 (
14216  OCI_HashTable *table,
14217  const otext *key
14218 );
14219 
14233 OCI_EXPORT boolean OCI_API OCI_HashAddPointer
14234 (
14235  OCI_HashTable *table,
14236  const otext *key,
14237  void *value
14238 );
14239 
14252 OCI_EXPORT void * OCI_API OCI_HashGetPointer
14253 (
14254  OCI_HashTable *table,
14255  const otext *key
14256 );
14257 
14271 OCI_EXPORT OCI_HashEntry * OCI_API OCI_HashLookup
14272 (
14273  OCI_HashTable *table,
14274  const otext *key,
14275  boolean create
14276 );
14277 
14290 OCI_EXPORT OCI_HashValue * OCI_API OCI_HashGetValue
14291 (
14292  OCI_HashTable *table,
14293  const otext *key
14294 );
14295 
14308 OCI_EXPORT OCI_HashEntry * OCI_API OCI_HashGetEntry
14309 (
14310  OCI_HashTable *table,
14311  unsigned int index
14312 );
14313 
14364 OCI_EXPORT OCI_Mutex * OCI_API OCI_MutexCreate
14365 (
14366  void
14367 );
14368 
14380 OCI_EXPORT boolean OCI_API OCI_MutexFree
14381 (
14382  OCI_Mutex *mutex
14383 );
14384 
14396 OCI_EXPORT boolean OCI_API OCI_MutexAcquire
14397 (
14398  OCI_Mutex *mutex
14399 );
14400 
14412 OCI_EXPORT boolean OCI_API OCI_MutexRelease
14413 (
14414  OCI_Mutex *mutex
14415 );
14416 
14426 OCI_EXPORT OCI_Thread * OCI_API OCI_ThreadCreate
14427 (
14428  void
14429 );
14430 
14442 OCI_EXPORT boolean OCI_API OCI_ThreadFree
14443 (
14444  OCI_Thread *thread
14445 );
14446 
14460 OCI_EXPORT boolean OCI_API OCI_ThreadRun
14461 (
14462  OCI_Thread *thread,
14463  POCI_THREAD proc,
14464  void *arg
14465 );
14466 
14481 OCI_EXPORT boolean OCI_API OCI_ThreadJoin
14482 (
14483  OCI_Thread *thread
14484 );
14485 
14502 OCI_EXPORT boolean OCI_API OCI_ThreadKeyCreate
14503 (
14504  const otext *name,
14505  POCI_THREADKEYDEST destfunc
14506 );
14507 
14520 OCI_EXPORT boolean OCI_API OCI_ThreadKeySetValue
14521 (
14522  const otext *name,
14523  void *value
14524 );
14525 
14537 OCI_EXPORT void * OCI_API OCI_ThreadKeyGetValue
14538 (
14539  const otext *name
14540 );
14541 
14636 OCI_EXPORT OCI_DirPath * OCI_API OCI_DirPathCreate
14637 (
14638  OCI_TypeInfo *typinf,
14639  const otext *partition,
14640  unsigned int nb_cols,
14641  unsigned int nb_rows
14642 );
14643 
14654 OCI_EXPORT boolean OCI_API OCI_DirPathFree
14655 (
14656  OCI_DirPath *dp
14657 );
14658 
14680 OCI_EXPORT boolean OCI_API OCI_DirPathSetColumn
14681 (
14682  OCI_DirPath *dp,
14683  unsigned int index,
14684  const otext *name,
14685  unsigned int maxsize,
14686  const otext *format
14687 );
14688 
14701 OCI_EXPORT boolean OCI_API OCI_DirPathPrepare
14702 (
14703  OCI_DirPath *dp
14704 );
14705 
14746 OCI_EXPORT boolean OCI_API OCI_DirPathSetEntry
14747 (
14748  OCI_DirPath *dp,
14749  unsigned int row,
14750  unsigned int index,
14751  void *value,
14752  unsigned size,
14753  boolean complete
14754 );
14755 
14786 OCI_EXPORT unsigned int OCI_API OCI_DirPathConvert
14787 (
14788  OCI_DirPath *dp
14789 );
14790 
14813 OCI_EXPORT unsigned int OCI_API OCI_DirPathLoad
14814 (
14815  OCI_DirPath *dp
14816 );
14817 
14834 OCI_EXPORT boolean OCI_API OCI_DirPathReset
14835 (
14836  OCI_DirPath *dp
14837 );
14838 
14858 OCI_EXPORT boolean OCI_API OCI_DirPathFinish
14859 (
14860  OCI_DirPath *dp
14861 );
14862 
14882 OCI_EXPORT boolean OCI_API OCI_DirPathAbort
14883 (
14884  OCI_DirPath *dp
14885 );
14886 
14901 OCI_EXPORT boolean OCI_API OCI_DirPathSave
14902 (
14903  OCI_DirPath *dp
14904 );
14905 
14917 OCI_EXPORT boolean OCI_API OCI_DirPathFlushRow
14918 (
14919  OCI_DirPath *dp
14920 );
14921 
14938 OCI_EXPORT boolean OCI_API OCI_DirPathSetCurrentRows
14939 (
14940  OCI_DirPath *dp,
14941  unsigned int nb_rows
14942 );
14943 
14956 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetCurrentRows
14957 (
14958  OCI_DirPath *dp
14959 );
14960 
14973 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetMaxRows
14974 (
14975  OCI_DirPath *dp
14976 );
14977 
14996 OCI_EXPORT boolean OCI_API OCI_DirPathSetDateFormat
14997 (
14998  OCI_DirPath *dp,
14999  const otext *format
15000 );
15001 
15033 OCI_EXPORT boolean OCI_API OCI_DirPathSetParallel
15034 (
15035  OCI_DirPath *dp,
15036  boolean value
15037 );
15038 
15058 OCI_EXPORT boolean OCI_API OCI_DirPathSetNoLog
15059 (
15060  OCI_DirPath *dp,
15061  boolean value
15062 );
15063 
15083 OCI_EXPORT boolean OCI_API OCI_DirPathSetCacheSize
15084 (
15085  OCI_DirPath *dp,
15086  unsigned int size
15087 );
15088 
15104 OCI_EXPORT boolean OCI_API OCI_DirPathSetBufferSize
15105 (
15106  OCI_DirPath *dp,
15107  unsigned int size
15108 );
15109 
15133 OCI_EXPORT boolean OCI_API OCI_DirPathSetConvertMode
15134 (
15135  OCI_DirPath *dp,
15136  unsigned int mode
15137 );
15138 
15150 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetRowCount
15151 (
15152  OCI_DirPath *dp
15153 );
15154 
15170 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetAffectedRows
15171 (
15172  OCI_DirPath *dp
15173 );
15174 
15204 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetErrorColumn
15205 (
15206  OCI_DirPath *dp
15207 );
15208 
15246 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetErrorRow
15247 (
15248  OCI_DirPath *dp
15249 );
15250 
15347 OCI_EXPORT OCI_Msg * OCI_API OCI_MsgCreate
15348 (
15349  OCI_TypeInfo *typinf
15350 );
15351 
15366 OCI_EXPORT boolean OCI_API OCI_MsgFree
15367 (
15368  OCI_Msg *msg
15369 );
15370 
15390 OCI_EXPORT boolean OCI_API OCI_MsgReset
15391 (
15392  OCI_Msg *msg
15393 );
15394 
15406 OCI_EXPORT OCI_Object * OCI_API OCI_MsgGetObject
15407 (
15408  OCI_Msg *msg
15409 );
15410 
15423 OCI_EXPORT boolean OCI_API OCI_MsgSetObject
15424 (
15425  OCI_Msg *msg,
15426  OCI_Object *obj
15427 );
15428 
15445 OCI_EXPORT boolean OCI_API OCI_MsgGetRaw
15446 (
15447  OCI_Msg *msg,
15448  void *raw,
15449  unsigned int *size
15450 );
15451 
15465 OCI_EXPORT boolean OCI_API OCI_MsgSetRaw
15466 (
15467  OCI_Msg *msg,
15468  const void *raw,
15469  unsigned int size
15470 );
15471 
15480 OCI_EXPORT int OCI_API OCI_MsgGetAttemptCount
15481 (
15482  OCI_Msg *msg
15483 );
15484 
15496 OCI_EXPORT int OCI_API OCI_MsgGetEnqueueDelay
15497 (
15498  OCI_Msg *msg
15499 );
15500 
15528 OCI_EXPORT boolean OCI_API OCI_MsgSetEnqueueDelay
15529 (
15530  OCI_Msg *msg,
15531  int value
15532 );
15533 
15545 OCI_EXPORT OCI_Date * OCI_API OCI_MsgGetEnqueueTime
15546 (
15547  OCI_Msg *msg
15548 );
15549 
15561 OCI_EXPORT int OCI_API OCI_MsgGetExpiration
15562 (
15563  OCI_Msg *msg
15564 );
15565 
15590 OCI_EXPORT boolean OCI_API OCI_MsgSetExpiration
15591 (
15592  OCI_Msg *msg,
15593  int value
15594 );
15595 
15611 OCI_EXPORT unsigned int OCI_API OCI_MsgGetState
15612 (
15613  OCI_Msg *msg
15614 );
15615 
15627 OCI_EXPORT int OCI_API OCI_MsgGetPriority
15628 (
15629  OCI_Msg *msg
15630 );
15631 
15649 OCI_EXPORT boolean OCI_API OCI_MsgSetPriority
15650 (
15651  OCI_Msg *msg,
15652  int value
15653 );
15654 
15676 OCI_EXPORT boolean OCI_API OCI_MsgGetID
15677 (
15678  OCI_Msg *msg,
15679  void *id,
15680  unsigned int *len
15681 );
15682 
15703 OCI_EXPORT boolean OCI_API OCI_MsgGetOriginalID
15704 (
15705  OCI_Msg *msg,
15706  void *id,
15707  unsigned int *len
15708 );
15709 
15727 OCI_EXPORT boolean OCI_API OCI_MsgSetOriginalID
15728 (
15729  OCI_Msg *msg,
15730  const void *id,
15731  unsigned int len
15732 );
15733 
15745 OCI_EXPORT OCI_Agent * OCI_API OCI_MsgGetSender
15746 (
15747  OCI_Msg *msg
15748 );
15749 
15762 OCI_EXPORT boolean OCI_API OCI_MsgSetSender
15763 (
15764  OCI_Msg *msg,
15765  OCI_Agent *sender
15766 );
15767 
15785 OCI_EXPORT boolean OCI_API OCI_MsgSetConsumers
15786 (
15787  OCI_Msg *msg,
15788  OCI_Agent **consumers,
15789  unsigned int count
15790 );
15791 
15803 OCI_EXPORT const otext * OCI_API OCI_MsgGetCorrelation
15804 (
15805  OCI_Msg *msg
15806 );
15807 
15823 OCI_EXPORT boolean OCI_API OCI_MsgSetCorrelation
15824 (
15825  OCI_Msg *msg,
15826  const otext *correlation
15827 );
15828 
15844 OCI_EXPORT const otext * OCI_API OCI_MsgGetExceptionQueue
15845 (
15846  OCI_Msg *msg
15847 );
15848 
15880 OCI_EXPORT boolean OCI_API OCI_MsgSetExceptionQueue
15881 (
15882  OCI_Msg *msg,
15883  const otext *queue
15884 );
15885 
15913 OCI_EXPORT OCI_Enqueue * OCI_API OCI_EnqueueCreate
15914 (
15915  OCI_TypeInfo *typinf,
15916  const otext *name
15917 );
15918 
15930 OCI_EXPORT boolean OCI_API OCI_EnqueueFree
15931 (
15932  OCI_Enqueue *enqueue
15933 );
15934 
15947 OCI_EXPORT boolean OCI_API OCI_EnqueuePut
15948 (
15949  OCI_Enqueue *enqueue,
15950  OCI_Msg *msg
15951 );
15952 
15981 OCI_EXPORT boolean OCI_API OCI_EnqueueSetSequenceDeviation
15982 (
15983  OCI_Enqueue *enqueue,
15984  unsigned int sequence
15985 );
15986 
15998 OCI_EXPORT unsigned int OCI_API OCI_EnqueueGetSequenceDeviation
15999 (
16000  OCI_Enqueue *enqueue
16001 );
16002 
16023 OCI_EXPORT boolean OCI_API OCI_EnqueueSetVisibility
16024 (
16025  OCI_Enqueue *enqueue,
16026  unsigned int visibility
16027 );
16028 
16040 OCI_EXPORT unsigned int OCI_API OCI_EnqueueGetVisibility
16041 (
16042  OCI_Enqueue *enqueue
16043 );
16044 
16068 OCI_EXPORT boolean OCI_API OCI_EnqueueSetRelativeMsgID
16069 (
16070  OCI_Enqueue *enqueue,
16071  const void *id,
16072  unsigned int len
16073 );
16074 
16095 OCI_EXPORT boolean OCI_API OCI_EnqueueGetRelativeMsgID
16096 (
16097  OCI_Enqueue *enqueue,
16098  void *id,
16099  unsigned int *len
16100 );
16101 
16129 OCI_EXPORT OCI_Dequeue * OCI_API OCI_DequeueCreate
16130 (
16131  OCI_TypeInfo *typinf,
16132  const otext *name
16133 );
16134 
16146 OCI_EXPORT boolean OCI_API OCI_DequeueFree
16147 (
16148  OCI_Dequeue *dequeue
16149 );
16150 
16171 OCI_EXPORT OCI_Msg * OCI_API OCI_DequeueGet
16172 (
16173  OCI_Dequeue *dequeue
16174 );
16175 
16197 OCI_EXPORT boolean OCI_API OCI_DequeueSubscribe
16198 (
16199  OCI_Dequeue *dequeue,
16200  unsigned int port,
16201  unsigned int timeout,
16202  POCI_NOTIFY_AQ callback
16203 );
16204 
16216 OCI_EXPORT boolean OCI_API OCI_DequeueUnsubscribe
16217 (
16218  OCI_Dequeue *dequeue
16219 );
16220 
16237 OCI_EXPORT boolean OCI_API OCI_DequeueSetConsumer
16238 (
16239  OCI_Dequeue *dequeue,
16240  const otext *consumer
16241 );
16242 
16254 OCI_EXPORT const otext * OCI_API OCI_DequeueGetConsumer
16255 (
16256  OCI_Dequeue *dequeue
16257 );
16258 
16275 OCI_EXPORT boolean OCI_API OCI_DequeueSetCorrelation
16276 (
16277  OCI_Dequeue *dequeue,
16278  const otext *pattern
16279 );
16280 
16292 OCI_EXPORT const otext * OCI_API OCI_DequeueGetCorrelation
16293 (
16294  OCI_Dequeue *dequeue
16295 );
16296 
16313 OCI_EXPORT boolean OCI_API OCI_DequeueSetRelativeMsgID
16314 (
16315  OCI_Dequeue *dequeue,
16316  const void *id,
16317  unsigned int len
16318 );
16319 
16336 OCI_EXPORT boolean OCI_API OCI_DequeueGetRelativeMsgID
16337 (
16338  OCI_Dequeue *dequeue,
16339  void *id,
16340  unsigned int *len
16341 );
16342 
16367 OCI_EXPORT boolean OCI_API OCI_DequeueSetVisibility
16368 (
16369  OCI_Dequeue *dequeue,
16370  unsigned int visibility
16371 );
16372 
16384 OCI_EXPORT unsigned int OCI_API OCI_DequeueGetVisibility
16385 (
16386  OCI_Dequeue *dequeue
16387 );
16388 
16412 OCI_EXPORT boolean OCI_API OCI_DequeueSetMode
16413 (
16414  OCI_Dequeue *dequeue,
16415  unsigned int mode
16416 );
16417 
16429 OCI_EXPORT unsigned int OCI_API OCI_DequeueGetMode
16430 (
16431  OCI_Dequeue *dequeue
16432 );
16433 
16466 OCI_EXPORT boolean OCI_API OCI_DequeueSetNavigation
16467 (
16468  OCI_Dequeue *dequeue,
16469  unsigned int position
16470 );
16471 
16483 OCI_EXPORT unsigned int OCI_API OCI_DequeueGetNavigation
16484 (
16485  OCI_Dequeue *dequeue
16486 );
16487 
16511 OCI_EXPORT boolean OCI_API OCI_DequeueSetWaitTime
16512 (
16513  OCI_Dequeue *dequeue,
16514  int timeout
16515 );
16516 
16528 OCI_EXPORT int OCI_API OCI_DequeueGetWaitTime
16529 (
16530  OCI_Dequeue *dequeue
16531 );
16532 
16545 OCI_EXPORT boolean OCI_API OCI_DequeueSetAgentList
16546 (
16547  OCI_Dequeue *dequeue,
16548  OCI_Agent **consumers,
16549  unsigned int count
16550 );
16551 
16575 OCI_EXPORT OCI_Agent * OCI_API OCI_DequeueListen
16576 (
16577  OCI_Dequeue *dequeue,
16578  int timeout
16579 );
16580 
16604 OCI_EXPORT OCI_Agent * OCI_API OCI_AgentCreate
16605 (
16606  OCI_Connection *con,
16607  const otext *name,
16608  const otext *address
16609 );
16610 
16625 OCI_EXPORT boolean OCI_API OCI_AgentFree
16626 (
16627  OCI_Agent *agent
16628 );
16629 
16649 OCI_EXPORT boolean OCI_API OCI_AgentSetName
16650 (
16651  OCI_Agent *agent,
16652  const otext *name
16653 );
16654 
16666 OCI_EXPORT const otext * OCI_API OCI_AgentGetName
16667 (
16668  OCI_Agent *agent
16669 );
16670 
16689 OCI_EXPORT boolean OCI_API OCI_AgentSetAddress
16690 (
16691  OCI_Agent *agent,
16692  const otext *address
16693 );
16694 
16709 OCI_EXPORT const otext * OCI_API OCI_AgentGetAddress
16710 (
16711  OCI_Agent *agent
16712 );
16713 
16755 OCI_EXPORT boolean OCI_API OCI_QueueCreate
16756 (
16757  OCI_Connection *con,
16758  const otext *queue_name,
16759  const otext *queue_table,
16760  unsigned int queue_type,
16761  unsigned int max_retries,
16762  unsigned int retry_delay,
16763  unsigned int retention_time,
16764  boolean dependency_tracking,
16765  const otext *comment
16766 );
16767 
16795 OCI_EXPORT boolean OCI_API OCI_QueueAlter
16796 (
16797  OCI_Connection *con,
16798  const otext *queue_name,
16799  unsigned int max_retries,
16800  unsigned int retry_delay,
16801  unsigned int retention_time,
16802  const otext *comment
16803 );
16804 
16824 OCI_EXPORT boolean OCI_API OCI_QueueDrop
16825 (
16826  OCI_Connection *con,
16827  const otext *queue_name
16828 );
16829 
16851 OCI_EXPORT boolean OCI_API OCI_QueueStart
16852 (
16853  OCI_Connection *con,
16854  const otext *queue_name,
16855  boolean enqueue,
16856  boolean dequeue
16857 );
16858 
16881 OCI_EXPORT boolean OCI_API OCI_QueueStop
16882 (
16883  OCI_Connection *con,
16884  const otext *queue_name,
16885  boolean enqueue,
16886  boolean dequeue,
16887  boolean wait
16888 );
16889 
16943 OCI_EXPORT boolean OCI_API OCI_QueueTableCreate
16944 (
16945  OCI_Connection *con,
16946  const otext *queue_table,
16947  const otext *queue_payload_type,
16948  const otext *storage_clause,
16949  const otext *sort_list,
16950  boolean multiple_consumers,
16951  unsigned int message_grouping,
16952  const otext *comment,
16953  unsigned int primary_instance,
16954  unsigned int secondary_instance,
16955  const otext *compatible
16956 );
16957 
16980 OCI_EXPORT boolean OCI_API OCI_QueueTableAlter
16981 (
16982  OCI_Connection *con,
16983  const otext *queue_table,
16984  const otext *comment,
16985  unsigned int primary_instance,
16986  unsigned int secondary_instance
16987 );
16988 
17013 OCI_EXPORT boolean OCI_API OCI_QueueTableDrop
17014 (
17015  OCI_Connection *con,
17016  const otext *queue_table,
17017  boolean force
17018 );
17019 
17053 OCI_EXPORT boolean OCI_API OCI_QueueTablePurge
17054 (
17055  OCI_Connection *con,
17056  const otext *queue_table,
17057  const otext *purge_condition,
17058  boolean block,
17059  unsigned int delivery_mode
17060 );
17061 
17083 OCI_EXPORT boolean OCI_API OCI_QueueTableMigrate
17084 (
17085  OCI_Connection *con,
17086  const otext *queue_table,
17087  const otext *compatible
17088 );
17089 
17190 OCI_EXPORT OCI_Subscription * OCI_API OCI_SubscriptionRegister
17191 (
17192  OCI_Connection *con,
17193  const otext *name,
17194  unsigned int type,
17195  POCI_NOTIFY handler,
17196  unsigned int port,
17197  unsigned int timeout
17198 );
17199 
17224 OCI_EXPORT boolean OCI_API OCI_SubscriptionUnregister
17225 (
17226  OCI_Subscription *sub
17227 );
17228 
17252 OCI_EXPORT boolean OCI_API OCI_SubscriptionAddStatement
17253 (
17254  OCI_Subscription *sub,
17255  OCI_Statement *stmt
17256 );
17257 
17270 OCI_EXPORT const otext * OCI_API OCI_SubscriptionGetName
17271 (
17272  OCI_Subscription *sub
17273 );
17274 
17287 OCI_EXPORT unsigned int OCI_API OCI_SubscriptionGetPort
17288 (
17289  OCI_Subscription *sub
17290 );
17291 
17304 OCI_EXPORT unsigned int OCI_API OCI_SubscriptionGetTimeout
17305 (
17306  OCI_Subscription *sub
17307 );
17308 
17320 OCI_EXPORT OCI_Connection * OCI_API OCI_SubscriptionGetConnection
17321 (
17322 OCI_Subscription *sub
17323 );
17324 
17354 OCI_EXPORT unsigned int OCI_API OCI_EventGetType
17355 (
17356  OCI_Event *event
17357 );
17358 
17395 OCI_EXPORT unsigned int OCI_API OCI_EventGetOperation
17396 (
17397  OCI_Event *event
17398 );
17399 
17412 OCI_EXPORT const otext * OCI_API OCI_EventGetDatabase
17413 (
17414  OCI_Event *event
17415 );
17416 
17429 OCI_EXPORT const otext * OCI_API OCI_EventGetObject
17430 (
17431  OCI_Event *event
17432 );
17433 
17446 OCI_EXPORT const otext * OCI_API OCI_EventGetRowid
17447 (
17448  OCI_Event *event
17449 );
17450 
17463 OCI_EXPORT OCI_Subscription * OCI_API OCI_EventGetSubscription
17464 (
17465  OCI_Event *event
17466 );
17467 
17531 OCI_EXPORT boolean OCI_API OCI_DatabaseStartup
17532 (
17533  const otext *db,
17534  const otext *user,
17535  const otext *pwd,
17536  unsigned int sess_mode,
17537  unsigned int start_mode,
17538  unsigned int start_flag,
17539  const otext *spfile
17540 );
17541 
17596 OCI_EXPORT boolean OCI_API OCI_DatabaseShutdown
17597 (
17598  const otext *db,
17599  const otext *user,
17600  const otext *pwd,
17601  unsigned int sess_mode,
17602  unsigned int shut_mode,
17603  unsigned int shut_flag
17604 );
17605 
17650 OCI_EXPORT const void * OCI_API OCI_HandleGetEnvironment
17651 (
17652  void
17653 );
17654 
17666 OCI_EXPORT const void * OCI_API OCI_HandleGetContext
17667 (
17668  OCI_Connection *con
17669 );
17670 
17682 OCI_EXPORT const void * OCI_API OCI_HandleGetServer
17683 (
17684  OCI_Connection *con
17685 );
17686 
17698 OCI_EXPORT const void * OCI_API OCI_HandleGetError
17699 (
17700  OCI_Connection *con
17701 );
17702 
17714 OCI_EXPORT const void * OCI_API OCI_HandleGetSession
17715 (
17716  OCI_Connection *con
17717 );
17718 
17730 OCI_EXPORT const void * OCI_API OCI_HandleGetTransaction
17731 (
17732  OCI_Transaction *trans
17733 );
17734 
17746 OCI_EXPORT const void * OCI_API OCI_HandleGetStatement
17747 (
17748  OCI_Statement *stmt
17749 );
17750 
17762 OCI_EXPORT const void * OCI_API OCI_HandleGetLob
17763 (
17764  OCI_Lob *lob
17765 );
17766 
17778 OCI_EXPORT const void * OCI_API OCI_HandleGetFile
17779 (
17780  OCI_File *file
17781 );
17782 
17794 OCI_EXPORT const void * OCI_API OCI_HandleGetDate
17795 (
17796  OCI_Date *date
17797 );
17798 
17810 OCI_EXPORT const void * OCI_API OCI_HandleGetTimestamp
17811 (
17812  OCI_Timestamp *tmsp
17813 );
17814 
17826 OCI_EXPORT const void * OCI_API OCI_HandleGetInterval
17827 (
17828  OCI_Interval *itv
17829 );
17830 
17842 OCI_EXPORT const void * OCI_API OCI_HandleGetObject
17843 (
17844  OCI_Object *obj
17845 );
17846 
17858 OCI_EXPORT const void * OCI_API OCI_HandleGetColl
17859 (
17860  OCI_Coll *coll
17861 );
17862 
17874 OCI_EXPORT const void * OCI_API OCI_HandleGetRef
17875 (
17876  OCI_Ref *ref
17877 );
17878 
17890 OCI_EXPORT const void * OCI_API OCI_HandleGetMutex
17891 (
17892  OCI_Mutex *mutex
17893 );
17894 
17906 OCI_EXPORT const void * OCI_API OCI_HandleGetThreadID
17907 (
17908  OCI_Thread *thread
17909 );
17910 
17922 OCI_EXPORT const void * OCI_API OCI_HandleGetThread
17923 (
17924  OCI_Thread *thread
17925 );
17926 
17938 OCI_EXPORT const void * OCI_API OCI_HandleGetDirPathCtx
17939 (
17940  OCI_DirPath *dp
17941 );
17942 
17954 OCI_EXPORT const void * OCI_API OCI_HandleGetDirPathColArray
17955 (
17956  OCI_DirPath *dp
17957 );
17958 
17970 OCI_EXPORT const void * OCI_API OCI_HandleGetDirPathStream
17971 (
17972  OCI_DirPath *dp
17973 );
17974 
17986 OCI_EXPORT const void * OCI_API OCI_HandleGetSubscription
17987 (
17988  OCI_Subscription *sub
17989 );
17990 
17995 #ifdef __cplusplus
17996 }
17997 #endif
17998 
18012 /* Compatibility with sources built with older versions of OCILIB */
18013 
18014 /* macros added in version 2.3.0 */
18015 
18016 #define OCI_CreateConnection OCI_ConnectionCreate
18017 #define OCI_FreeConnection OCI_ConnectionFree
18018 #define OCI_CreateStatement OCI_StatementCreate
18019 #define OCI_FreeStatement OCI_StatementFree
18020 
18021 /* macros added in version 2.4.0 */
18022 
18023 #define OCI_CreateTransaction OCI_TransactionCreate
18024 #define OCI_FreeTransaction OCI_TransactionFree
18025 #define OCI_CreateHashTable OCI_HashCreate
18026 #define OCI_FreeHashTable OCI_HashFree
18027 
18028 /* macros added in version 3.0.0 */
18029 
18030 #define OCI_GetColumnName OCI_ColumnGetName
18031 #define OCI_GetColumnType OCI_ColumnGetType
18032 #define OCI_GetColumnCharsetForm OCI_ColumnGetCharsetForm
18033 #define OCI_GetColumnSQLType OCI_ColumnGetSQLType
18034 #define OCI_GetColumnFullSQLType OCI_ColumnGetFullSQLType
18035 #define OCI_GetColumnSize OCI_ColumnGetSize
18036 #define OCI_GetColumnScale OCI_ColumnGetScale
18037 #define OCI_GetColumnPrecision OCI_ColumnGetPrecision
18038 #define OCI_GetColumnFractionnalPrecision OCI_ColumnGetFractionnalPrecision
18039 #define OCI_GetColumnLeadingPrecision OCI_ColumnGetLeadingPrecision
18040 #define OCI_GetColumnNullable OCI_ColumnGetNullable
18041 #define OCI_GetColumnCharUsed OCI_ColumnGetCharUsed
18042 
18043 #define OCI_GetFormatDate(s) OCI_GetDefaultFormatDate(OCI_StatementGetConnection(s))
18044 #define OCI_SetFormatDate(s, f) OCI_SetDefaultFormatDate(OCI_StatementGetConnection(s), f)
18045 
18046 #define OCI_ERR_API OCI_ERR_ORACLE
18047 
18048 /* macros added in version 3.2.0 */
18049 
18050 #define OCI_ERR_NOT_SUPPORTED OCI_ERR_DATATYPE_NOT_SUPPORTED
18051 #define OCI_SCHEMA_TABLE OCI_TIF_TABLE
18052 #define OCI_SCHEMA_VIEW OCI_TIF_VIEW
18053 #define OCI_SCHEMA_TYPE OCI_TIF_TYPE
18054 
18055 #define OCI_Schema OCI_TypeInfo
18056 
18057 #define OCI_SchemaGet OCI_TypeInfoGet
18058 #define OCI_SchemaFree OCI_TypeInfoFree
18059 #define OCI_SchemaGetColumnCount OCI_TypeInfoGetColumnCount
18060 #define OCI_SchemaGetColumn OCI_TypeInfoGetColumn
18061 #define OCI_SchemaGetName OCI_TypeInfoGetName
18062 
18063 #define OCI_ColumnGetFractionnalPrecision OCI_ColumnGetFractionalPrecision
18064 
18065 /* macro added in version 3.3.0 */
18066 
18093 #define OCI_SetNull(stmt, index) \
18094  OCI_BindSetNull(OCI_GetBind(stmt, index))
18095 
18119 #define OCI_SetNull2(stmt, name) \
18120  OCI_BindSetNull(OCI_GetBind2(stmt, name))
18121 
18150 #define OCI_SetNullAtPos(stmt, index, position) \
18151  OCI_BindSetNullAtPos(OCI_GetBind(stmt, index), position)
18152 
18181 #define OCI_SetNullAtPos2(stmt, name, position) \
18182  OCI_BindSetNullAtPos(OCI_GetBind2(stmt, name), position)
18183 
18184 /* macro added in version 3.4.0 */
18185 
18186 #define OCI_8 OCI_8_1
18187 #define OCI_9 OCI_9_0
18188 #define OCI_10 OCI_10_1
18189 #define OCI_11 OCI_11_1
18190 
18191 /* macro added in version 3.6.0 */
18192 
18193 #define OCI_CHAR_UNICODE OCI_CHAR_WIDE
18194 #define OCI_CSF_CHARSET OCI_CSF_DEFAULT
18195 
18196 /* macro added in version 3.7.0 */
18197 
18198 #define OCI_ConnPool OCI_Pool
18199 
18200 #define OCI_ConnPoolCreate(db, us, pw, mo, mi, ma, in) \
18201  OCI_PoolCreate(db, us, pw, OCI_POOL_CONNECTION, mo, mi, ma, in)
18202 
18203 #define OCI_ConnPoolGetConnection(p) \
18204  OCI_PoolGetConnection(p, NULL)
18205 
18206 #define OCI_ConnPoolFree OCI_PoolFree
18207 #define OCI_ConnPoolGetTimeout OCI_PoolGetConnection
18208 #define OCI_ConnPoolSetTimeout OCI_PoolSetTimeout
18209 #define OCI_ConnPoolGetNoWait OCI_PoolGetNoWait
18210 #define OCI_ConnPoolSetNoWait OCI_PoolSetNoWait
18211 #define OCI_ConnPoolGetBusyCount OCI_PoolGetBusyCount
18212 #define OCI_ConnPoolGetOpenedCount OCI_PoolGetOpenedCount
18213 #define OCI_ConnPoolGetMin OCI_PoolGetMin
18214 #define OCI_ConnPoolGetMax OCI_PoolGetMax
18215 #define OCI_ConnPoolGetIncrement OCI_PoolGetIncrement
18216 
18217 /* macro added in version 3.8.0 */
18218 
18219 #define OCI_ObjectGetTimeStamp OCI_ObjectGetTimestamp
18220 #define OCI_ElemGetTimeStamp OCI_ElemGetTimestamp
18221 #define OCI_TimestampSysTimeStamp OCI_TimestampSysTimestamp
18222 
18223 /* macro added in version 4.0.0 */
18224 
18225 #define OCI_CollSetAt OCI_CollSetElem
18226 #define OCI_CollGetAt OCI_CollGetElem
18227 #define OCI_CollGetAt2 OCI_CollGetElem2
18228 
18229 #define OCI_GetCharsetMetaData OCI_GetCharset
18230 #define OCI_GetCharsetUserData OCI_GetCharset
18231 #define OCI_SIZE_TRACE_INF0 OCI_SIZE_TRACE_INFO
18232 
18233 #define MT(x) OTEXT(x)
18234 #define mtext otext
18235 #define DT(x) OTEXT(x)
18236 #define dtext otext
18237 
18238 #define mtsdup ostrdup
18239 #define mtscpy ostrcpy
18240 #define mtsncpy ostrncpy
18241 #define mtscat ostrcat
18242 #define mtsncat ostrncat
18243 #define mtslen ostrlen
18244 #define mtscmp ostrcmp
18245 #define mtscasecmp ostrcasecmp
18246 #define mtsprintf osprintf
18247 #define mtstol ostrtol
18248 #define mtsscanf osscanf
18249 
18250 #define dtsdup ostrdup
18251 #define dtscpy ostrcpy
18252 #define dtsncpy ostrncpy
18253 #define dtscat ostrcat
18254 #define dtsncat ostrncat
18255 #define dtslen ostrlen
18256 #define dtscmp ostrcmp
18257 #define dtscasecmp ostrcasecmp
18258 #define dtsprintf osprintf
18259 #define dtstol ostrtol
18260 #define dtsscanf osscanf
18261 
18266 #endif /* OCILIB_H_INCLUDED */
18267 
OCI_EXPORT boolean OCI_API OCI_LobRead2(OCI_Lob *lob, void *buffer, unsigned int *char_count, unsigned int *byte_count)
Read a portion of a lob into the given buffer.
OCI_EXPORT const void *OCI_API OCI_HandleGetMutex(OCI_Mutex *mutex)
Return OCI Mutex handle (OCIThreadMutex *) of an OCILIB OCI_Mutex object.
OCI_EXPORT OCI_Subscription *OCI_API OCI_EventGetSubscription(OCI_Event *event)
Return the subscription handle that generated this event.
Oracle Named types representation.
OCI_EXPORT boolean OCI_API OCI_ObjectSetFile(OCI_Object *obj, const otext *attr, OCI_File *value)
Set an object attribute of type File.
OCI_EXPORT boolean OCI_API OCI_BindUnsignedBigInt(OCI_Statement *stmt, const otext *name, big_uint *data)
Bind an unsigned big integer variable.
OCI_EXPORT unsigned int OCI_API OCI_GetLongMode(OCI_Statement *stmt)
Return the long datatype handling mode of a SQL statement.
OCI_EXPORT boolean OCI_API OCI_CollArrayFree(OCI_Coll **colls)
Free an array of Collection objects.
OCI_EXPORT unsigned int OCI_API OCI_EnqueueGetVisibility(OCI_Enqueue *enqueue)
Get the enqueuing/locking behavior.
OCI_EXPORT OCI_Column *OCI_API OCI_GetColumn(OCI_Resultset *rs, unsigned int index)
Return the column object handle at the given index in the resultset.
Oracle Collection item representation.
OCI_EXPORT int OCI_API OCI_ErrorGetInternalCode(OCI_Error *err)
Retrieve Internal Error code from error handle.
OCI_EXPORT big_int OCI_API OCI_ElemGetBigInt(OCI_Elem *elem)
Return the big int value of the given collection element.
OCI_EXPORT const otext *OCI_API OCI_GetVersionServer(OCI_Connection *con)
Return the connected database server version.
OCI_EXPORT boolean OCI_API OCI_ObjectArrayFree(OCI_Object **objs)
Free an array of Object objects.
OCI_EXPORT boolean OCI_API OCI_DateLastDay(OCI_Date *date)
Place the last day of month (from the given date) into the given date.
OCI_EXPORT boolean OCI_API OCI_MsgGetID(OCI_Msg *msg, void *id, unsigned int *len)
Return the ID of the message.
OCI_EXPORT boolean OCI_API OCI_ConnectionFree(OCI_Connection *con)
Close a physical connection to an Oracle database server.
OCI_EXPORT boolean OCI_API OCI_QueueStart(OCI_Connection *con, const otext *queue_name, boolean enqueue, boolean dequeue)
Start the given queue.
unsigned int(* POCI_TAF_HANDLER)(OCI_Connection *con, unsigned int type, unsigned int event)
Failover Notification User callback prototype.
Definition: ocilib.h:901
OCI_EXPORT boolean OCI_API OCI_DequeueSubscribe(OCI_Dequeue *dequeue, unsigned int port, unsigned int timeout, POCI_NOTIFY_AQ callback)
Subscribe for asynchronous messages notifications.
OCI_EXPORT const otext *OCI_API OCI_ServerGetOutput(OCI_Connection *con)
Retrieve one line of the server buffer.
OCI_EXPORT boolean OCI_API OCI_ColumnGetCharUsed(OCI_Column *col)
Return TRUE if the length of the column is character-length or FALSE if it is byte-length.
OCI_EXPORT boolean OCI_API OCI_SubscriptionUnregister(OCI_Subscription *sub)
Unregister a previously registered notification.
long long big_int
big_int is a C scalar integer (32 or 64 bits) depending on compiler support for 64bits integers...
Definition: ocilib.h:1048
OCI_EXPORT unsigned int OCI_API OCI_LobGetType(OCI_Lob *lob)
Return the type of the given Lob object.
OCI_EXPORT boolean OCI_API OCI_CollClear(OCI_Coll *coll)
clear all items of the given collection
OCI_EXPORT OCI_Object *OCI_API OCI_ObjectCreate(OCI_Connection *con, OCI_TypeInfo *typinf)
Create a local object instance.
OCI_EXPORT boolean OCI_API OCI_BindSetNullAtPos(OCI_Bind *bnd, unsigned int position)
Set to null the entry in the bind variable input array.
OCI_EXPORT unsigned int OCI_API OCI_MsgGetState(OCI_Msg *msg)
Return the state of the message at the time of the dequeue.
OCI_EXPORT boolean OCI_API OCI_ElemSetNull(OCI_Elem *elem)
Set a collection element value to null.
OCI_EXPORT boolean OCI_API OCI_ObjectSetLob(OCI_Object *obj, const otext *attr, OCI_Lob *value)
Set an object attribute of type Lob.
OCI_EXPORT boolean OCI_API OCI_ExecuteStmt(OCI_Statement *stmt, const otext *sql)
Prepare and Execute a SQL statement or PL/SQL block.
OCI_EXPORT boolean OCI_API OCI_ObjectSetNull(OCI_Object *obj, const otext *attr)
Set an object attribute to null.
OCI_EXPORT OCI_Column *OCI_API OCI_GetColumn2(OCI_Resultset *rs, const otext *name)
Return the column object handle from its name in the resultset.
OCI_EXPORT boolean OCI_API OCI_DateAddDays(OCI_Date *date, int nb)
Add or subtract days to a date handle.
OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedShort(OCI_Statement *stmt, const otext *name)
Register an unsigned short output bind placeholder.
OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedBigInt(OCI_Statement *stmt, const otext *name)
Register an unsigned big integer output bind placeholder.
OCI_EXPORT unsigned int OCI_API OCI_FileGetType(OCI_File *file)
Return the type of the given File object.
OCI_EXPORT boolean OCI_API OCI_EnqueueSetRelativeMsgID(OCI_Enqueue *enqueue, const void *id, unsigned int len)
Set a message identifier to use for enqueuing messages using a sequence deviation.
OCI_EXPORT boolean OCI_API OCI_RegisterFile(OCI_Statement *stmt, const otext *name, unsigned int type)
Register a file output bind placeholder.
OCI_EXPORT unsigned int OCI_API OCI_GetPrefetchSize(OCI_Statement *stmt)
Return the number of rows pre-fetched by OCI Client.
OCI_EXPORT boolean OCI_API OCI_RegisterDate(OCI_Statement *stmt, const otext *name)
Register a date output bind placeholder.
OCI_EXPORT OCI_Statement *OCI_API OCI_StatementCreate(OCI_Connection *con)
Create a statement object and return its handle.
OCI_EXPORT boolean OCI_API OCI_ServerDisableOutput(OCI_Connection *con)
Disable the server output.
Oracle Transaction.
OCI_EXPORT boolean OCI_API OCI_BindUnsignedInt(OCI_Statement *stmt, const otext *name, unsigned int *data)
Bind an unsigned integer variable.
OCI_EXPORT boolean OCI_API OCI_RefSetNull(OCI_Ref *ref)
Nullify the given Ref handle.
OCI_EXPORT int OCI_API OCI_ObjectGetInt(OCI_Object *obj, const otext *attr)
Return the integer value of the given object attribute.
OCI_EXPORT boolean OCI_API OCI_ThreadRun(OCI_Thread *thread, POCI_THREAD proc, void *arg)
Execute the given routine within the given thread object.
OCI_EXPORT unsigned int OCI_API OCI_LongRead(OCI_Long *lg, void *buffer, unsigned int len)
Read a portion of a long into the given buffer [Obsolete].
OCI_EXPORT unsigned int OCI_API OCI_GetLongMaxSize(OCI_Statement *stmt)
Return the LONG data type piece buffer size.
OCI_EXPORT unsigned int OCI_API OCI_GetBindAllocation(OCI_Statement *stmt)
Return the bind allocation mode of a SQL statement.
OCI_EXPORT boolean OCI_API OCI_BindSetNotNullAtPos(OCI_Bind *bnd, unsigned int position)
Set to NOT null the entry in the bind variable input array.
OCI_EXPORT unsigned int OCI_API OCI_IntervalGetType(OCI_Interval *itv)
Return the type of the given Interval object.
OCI_EXPORT boolean OCI_API OCI_SetDefaultFormatDate(OCI_Connection *con, const otext *format)
Set the date format for implicit string / date conversions.
OCI_EXPORT boolean OCI_API OCI_SetDefaultFormatNumeric(OCI_Connection *con, const otext *format)
Set the numeric format for implicit string / numeric conversions.
OCI_EXPORT boolean OCI_API OCI_DequeueFree(OCI_Dequeue *dequeue)
Free a Dequeue object.
OCI_EXPORT OCI_Connection *OCI_API OCI_ErrorGetConnection(OCI_Error *err)
Retrieve connection handle within the error occurred.
OCI_EXPORT boolean OCI_API OCI_FileAssign(OCI_File *file, OCI_File *file_src)
Assign a file to another one.
OCI_EXPORT boolean OCI_API OCI_DateFromText(OCI_Date *date, const otext *str, const otext *fmt)
Convert a string to a date and store it in the given date handle.
OCI_EXPORT const otext *OCI_API OCI_GetUserName(OCI_Connection *con)
Return the current logged user name.
OCI_EXPORT const otext *OCI_API OCI_ColumnGetSQLType(OCI_Column *col)
Return the Oracle SQL type name of the column data type.
OCI_EXPORT boolean OCI_API OCI_PoolSetStatementCacheSize(OCI_Pool *pool, unsigned int value)
Set the maximum number of statements to keep in the pool statement cache.
OCI_EXPORT boolean OCI_API OCI_DequeueSetWaitTime(OCI_Dequeue *dequeue, int timeout)
set the time that OCIDequeueGet() waits for messages if no messages are currently available ...
OCI_EXPORT boolean OCI_API OCI_FetchPrev(OCI_Resultset *rs)
Fetch the previous row of the resultset.
Oracle Long data type.
OCI_EXPORT boolean OCI_API OCI_DequeueSetNavigation(OCI_Dequeue *dequeue, unsigned int position)
Set the position of messages to be retrieved.
OCI_EXPORT boolean OCI_API OCI_IsNull(OCI_Resultset *rs, unsigned int index)
Check if the current row value is null for the column at the given index in the resultset.
OCI_EXPORT unsigned int OCI_API OCI_ElemGetUnsignedInt(OCI_Elem *elem)
Return the unsigned int value of the given collection element.
OCI_EXPORT boolean OCI_API OCI_SetUserPassword(const otext *db, const otext *user, const otext *pwd, const otext *new_pwd)
Change the password of the given user on the given database.
OCI_EXPORT boolean OCI_API OCI_ObjectSetRaw(OCI_Object *obj, const otext *attr, void *value, unsigned int len)
Set an object attribute of type RAW.
OCI_EXPORT const otext *OCI_API OCI_ObjectGetString(OCI_Object *obj, const otext *attr)
Return the string value of the given object attribute.
OCI_EXPORT big_uint OCI_API OCI_LobGetOffset(OCI_Lob *lob)
Return the current position in the Lob content buffer.
OCI_EXPORT boolean OCI_API OCI_IntervalSubtract(OCI_Interval *itv, OCI_Interval *itv2)
Subtract an interval handle value from another.
OCI_EXPORT unsigned int OCI_API OCI_ColumnGetFullSQLType(OCI_Column *col, otext *buffer, unsigned int len)
Return the Oracle SQL Full name including precision and size of the column datatype.
OCI_EXPORT double OCI_API OCI_ObjectGetDouble(OCI_Object *obj, const otext *attr)
Return the double value of the given object attribute.
OCI_EXPORT boolean OCI_API OCI_BindString(OCI_Statement *stmt, const otext *name, otext *data, unsigned int len)
Bind a string variable.
OCI_EXPORT unsigned int OCI_API OCI_ObjectGetType(OCI_Object *obj)
Return the type of an object instance.
OCI_EXPORT OCI_Enqueue *OCI_API OCI_EnqueueCreate(OCI_TypeInfo *typinf, const otext *name)
Create a Enqueue object for the given queue.
OCI_EXPORT OCI_Elem *OCI_API OCI_ElemCreate(OCI_TypeInfo *typinf)
Create a local collection element instance based on a collection type descriptor. ...
OCI_EXPORT boolean OCI_API OCI_ElemSetRaw(OCI_Elem *elem, void *value, unsigned int len)
Set a RAW value to a collection element.
OCI_EXPORT void *OCI_API OCI_BindGetData(OCI_Bind *bnd)
Return the user defined data associated with a bind handle.
OCI_EXPORT const otext *OCI_API OCI_ColumnGetName(OCI_Column *col)
Return the name of the given column.
OCILIB implementation of hash tables.
OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedShorts(OCI_Statement *stmt, const otext *name, unsigned short *data, unsigned int nbelem)
Bind an array of unsigned shorts.
OCI_EXPORT int OCI_API OCI_ObjectGetRaw(OCI_Object *obj, const otext *attr, void *value, unsigned int len)
Return the raw attribute value of the given object attribute into the given buffer.
OCI_EXPORT boolean OCI_API OCI_BindArraySetSize(OCI_Statement *stmt, unsigned int size)
Set the input array size for bulk operations.
OCI_EXPORT OCI_File *OCI_API OCI_ElemGetFile(OCI_Elem *elem)
Return the File value of the given collection element.
OCI_EXPORT OCI_Connection *OCI_API OCI_PoolGetConnection(OCI_Pool *pool, const otext *tag)
Get a connection from the pool.
OCI_EXPORT boolean OCI_API OCI_IntervalFromTimeZone(OCI_Interval *itv, const otext *str)
Correct an interval handle value with the given time zone.
OCI_EXPORT unsigned int OCI_API OCI_GetImportMode(void)
Return the Oracle shared library import mode.
OCI_EXPORT unsigned int OCI_API OCI_BindGetDirection(OCI_Bind *bnd)
Get the direction mode of a bind handle.
OCI_EXPORT OCI_Connection *OCI_API OCI_FileGetConnection(OCI_File *file)
Retrieve connection handle from the file handle.
OCI_EXPORT boolean OCI_API OCI_SetBindMode(OCI_Statement *stmt, unsigned int mode)
Set the binding mode of a SQL statement.
OCI_EXPORT boolean OCI_API OCI_ObjectToText(OCI_Object *obj, unsigned int *size, otext *str)
Convert an object handle value to a string.
OCI_EXPORT boolean OCI_API OCI_DequeueSetVisibility(OCI_Dequeue *dequeue, unsigned int visibility)
Set whether the new message is dequeued as part of the current transaction.
OCI_EXPORT OCI_Statement *OCI_API OCI_GetStatement(OCI_Resultset *rs, unsigned int index)
Return the current cursor value (Nested table) of the column at the given index in the resultset...
OCI_EXPORT boolean OCI_API OCI_FileExists(OCI_File *file)
Check if the given file exists on server.
OCI_EXPORT boolean OCI_API OCI_FetchLast(OCI_Resultset *rs)
Fetch the last row of the resultset.
OCI_EXPORT OCI_Elem *OCI_API OCI_IterGetCurrent(OCI_Iter *iter)
Get the current element in the collection.
OCI_EXPORT boolean OCI_API OCI_ObjectSetShort(OCI_Object *obj, const otext *attr, short value)
Set an object attribute of type short.
OCI_EXPORT boolean OCI_API OCI_BindStatement(OCI_Statement *stmt, const otext *name, OCI_Statement *data)
Bind a Statement variable (PL/SQL Ref Cursor)
OCI_EXPORT boolean OCI_API OCI_DateAddMonths(OCI_Date *date, int nb)
Add or subtract months to a date handle.
OCI_EXPORT const void *OCI_API OCI_HandleGetStatement(OCI_Statement *stmt)
Return the OCI Statement Handle (OCIStmt *) of an OCILIB OCI_Statement object.
OCI_EXPORT boolean OCI_API OCI_MutexAcquire(OCI_Mutex *mutex)
Acquire a mutex lock.
Hash table entry value.
Definition: ocilib.h:1014
OCI_EXPORT boolean OCI_API OCI_ElemSetString(OCI_Elem *elem, const otext *value)
Set a string value to a collection element.
OCI_EXPORT boolean OCI_API OCI_Ping(OCI_Connection *con)
Makes a round trip call to the server to confirm that the connection and the server are active...
OCI_EXPORT unsigned int OCI_API OCI_GetAffectedRows(OCI_Statement *stmt)
Return the number of rows affected by the SQL statement.
OCI_EXPORT unsigned int OCI_API OCI_LobRead(OCI_Lob *lob, void *buffer, unsigned int len)
[OBSOLETE] Read a portion of a lob into the given buffer
OCILIB encapsulation of OCI mutexes.
OCI_EXPORT unsigned short OCI_API OCI_GetUnsignedShort2(OCI_Resultset *rs, const otext *name)
Return the current unsigned short value of the column from its name in the resultset.
OCI_EXPORT boolean OCI_API OCI_ElemSetInterval(OCI_Elem *elem, OCI_Interval *value)
Assign an Interval handle to a collection element.
OCI_EXPORT unsigned int OCI_API OCI_PoolGetStatementCacheSize(OCI_Pool *pool)
Return the maximum number of statements to keep in the pool statement cache.
OCI_EXPORT boolean OCI_API OCI_BindDouble(OCI_Statement *stmt, const otext *name, double *data)
Bind a double variable.
OCI_EXPORT boolean OCI_API OCI_LobAppend2(OCI_Lob *lob, void *buffer, unsigned int *char_count, unsigned int *byte_count)
Append a buffer at the end of a LOB.
OCI_EXPORT OCI_Ref *OCI_API OCI_ObjectGetRef(OCI_Object *obj, const otext *attr)
Return the Ref value of the given object attribute.
OCI_EXPORT boolean OCI_API OCI_ObjectSetDouble(OCI_Object *obj, const otext *attr, double value)
Set an object attribute of type double.
OCI_EXPORT OCI_Lob *OCI_API OCI_GetLob2(OCI_Resultset *rs, const otext *name)
Return the current lob value of the column from its name in the resultset.
OCI_EXPORT int OCI_API OCI_ColumnGetScale(OCI_Column *col)
Return the scale of the column for numeric columns.
OCI_EXPORT boolean OCI_API OCI_SetDefaultLobPrefetchSize(OCI_Connection *con, unsigned int value)
Enable or disable prefetching for all LOBs fetched in the connection.
OCI_EXPORT boolean OCI_API OCI_CollDeleteElem(OCI_Coll *coll, unsigned int index)
Delete the element at the given position in the Nested Table Collection.
OCI_EXPORT boolean OCI_API OCI_TimestampFromText(OCI_Timestamp *tmsp, const otext *str, const otext *fmt)
Convert a string to a timestamp and store it in the given timestamp handle.
OCI_EXPORT int OCI_API OCI_DateCompare(OCI_Date *date, OCI_Date *date2)
Compares two date handles.
OCI_EXPORT OCI_Lob **OCI_API OCI_LobArrayCreate(OCI_Connection *con, unsigned int type, unsigned int nbelem)
Create an array of lob object.
OCI_EXPORT boolean OCI_API OCI_MsgSetOriginalID(OCI_Msg *msg, const void *id, unsigned int len)
Set the original ID of the message in the last queue that generated this message. ...
OCI_EXPORT OCI_Interval *OCI_API OCI_GetInterval(OCI_Resultset *rs, unsigned int index)
Return the current interval value of the column at the given index in the resultset.
OCI_EXPORT boolean OCI_API OCI_ObjectSetRef(OCI_Object *obj, const otext *attr, OCI_Ref *value)
Set an object attribute of type Ref.
Global transaction identifier.
Definition: ocilib.h:956
OCI_EXPORT OCI_Bind *OCI_API OCI_GetBind(OCI_Statement *stmt, unsigned int index)
Return the bind handle at the given index in the internal array of bind handle.
OCI_EXPORT OCI_Lob *OCI_API OCI_ObjectGetLob(OCI_Object *obj, const otext *attr)
Return the lob value of the given object attribute.
OCI_EXPORT boolean OCI_API OCI_BindIsNull(OCI_Bind *bnd)
Check if the current value of the binded variable is marked as NULL.
OCI_EXPORT boolean OCI_API OCI_MsgGetOriginalID(OCI_Msg *msg, void *id, unsigned int *len)
Return the original ID of the message in the last queue that generated this message.
Encapsulates an Oracle or OCILIB exception.
OCI_EXPORT boolean OCI_API OCI_DirPathSetBufferSize(OCI_DirPath *dp, unsigned int size)
Set the size of the internal stream transfer buffer.
OCI_EXPORT boolean OCI_API OCI_Commit(OCI_Connection *con)
Commit current pending changes.
OCI_EXPORT unsigned int OCI_API OCI_GetBatchErrorCount(OCI_Statement *stmt)
Returns the number of errors that occurred within the last DML array statement.
OCI_EXPORT OCI_Ref *OCI_API OCI_GetRef(OCI_Resultset *rs, unsigned int index)
Return the current Ref value of the column at the given index in the resultset.
OCI_EXPORT boolean OCI_API OCI_StatementFree(OCI_Statement *stmt)
Free a statement and all resources associated to it (resultsets ...)
OCI_EXPORT const otext *OCI_API OCI_GetString(OCI_Resultset *rs, unsigned int index)
Return the current string value of the column at the given index in the resultset.
OCI_EXPORT boolean OCI_API OCI_ElemSetBigInt(OCI_Elem *elem, big_int value)
Set a big int value to a collection element.
OCI_EXPORT unsigned int OCI_API OCI_ErrorGetType(OCI_Error *err)
Retrieve the type of error from error handle.
OCI_EXPORT int OCI_API OCI_DateCheck(OCI_Date *date)
Check if the given date is valid.
OCI_EXPORT boolean OCI_DescribeFmt(OCI_Statement *stmt, const otext *sql,...)
Describe the select list of a formatted SQL select statement.
OCI_EXPORT boolean OCI_API OCI_BindBigInt(OCI_Statement *stmt, const otext *name, big_int *data)
Bind a big integer variable.
OCI_EXPORT unsigned int OCI_API OCI_DirPathLoad(OCI_DirPath *dp)
Loads the data converted to direct path stream format.
OCI_EXPORT OCI_Date *OCI_API OCI_GetDate(OCI_Resultset *rs, unsigned int index)
Return the current date value of the column at the given index in the resultset.
OCI_EXPORT boolean OCI_API OCI_Break(OCI_Connection *con)
Perform an immediate abort of any currently Oracle OCI call.
OCI_EXPORT boolean OCI_API OCI_BindSetDataSize(OCI_Bind *bnd, unsigned int size)
Set the actual size of the element held by the given bind handle.
OCI_EXPORT boolean OCI_API OCI_SetTAFHandler(OCI_Connection *con, POCI_TAF_HANDLER handler)
Set the Transparent Application Failover (TAF) user handler.
Internal bind representation.
OCI_EXPORT boolean OCI_API OCI_DirPathFree(OCI_DirPath *dp)
Free an OCI_DirPath handle.
OCI_EXPORT boolean OCI_API OCI_BindArrayOfIntervals(OCI_Statement *stmt, const otext *name, OCI_Interval **data, unsigned int type, unsigned int nbelem)
Bind an array of interval handles.
OCI_EXPORT unsigned int OCI_API OCI_FileRead(OCI_File *file, void *buffer, unsigned int len)
Read a portion of a file into the given buffer.
OCI_EXPORT boolean OCI_API OCI_LobCopyFromFile(OCI_Lob *lob, OCI_File *file, big_uint offset_dst, big_uint offset_src, big_uint count)
Copy a portion of a source FILE into a destination LOB.
OCI_EXPORT boolean OCI_API OCI_DateFree(OCI_Date *date)
Free a date object.
OCI_EXPORT const otext *OCI_API OCI_MsgGetExceptionQueue(OCI_Msg *msg)
Get the Exception queue name of the message.
OCI_EXPORT OCI_Object *OCI_API OCI_GetObject2(OCI_Resultset *rs, const otext *name)
Return the current Object value of the column from its name in the resultset.
OCI_EXPORT boolean OCI_API OCI_GetAutoCommit(OCI_Connection *con)
Get current auto commit mode status.
OCI_EXPORT unsigned short OCI_API OCI_ElemGetUnsignedShort(OCI_Elem *elem)
Return the unsigned short value of the given collection element.
void(* POCI_ERROR)(OCI_Error *err)
Error procedure prototype.
Definition: ocilib.h:803
OCI_EXPORT OCI_Ref *OCI_API OCI_GetRef2(OCI_Resultset *rs, const otext *name)
Return the current Ref value of the column from its name in the resultset.
OCI_EXPORT big_uint OCI_API OCI_FileGetSize(OCI_File *file)
Return the size in bytes of a file.
void(* POCI_HA_HANDLER)(OCI_Connection *con, unsigned int source, unsigned int event, OCI_Timestamp *time)
HA (High Availability) events Notification User callback prototype.
Definition: ocilib.h:939
OCI_EXPORT OCI_File *OCI_API OCI_GetFile2(OCI_Resultset *rs, const otext *name)
Return the current File value of the column from its name in the resultset.
OCI_EXPORT boolean OCI_API OCI_BindInterval(OCI_Statement *stmt, const otext *name, OCI_Interval *data)
Bind an interval variable.
OCI_EXPORT boolean OCI_API OCI_FileSetName(OCI_File *file, const otext *dir, const otext *name)
Set the directory and file name of FILE handle.
OCI_EXPORT int OCI_API OCI_ErrorGetOCICode(OCI_Error *err)
Retrieve Oracle Error code from error handle.
OCI_EXPORT const otext *OCI_API OCI_MsgGetCorrelation(OCI_Msg *msg)
Get the correlation identifier of the message.
OCI_EXPORT int OCI_API OCI_DateAssign(OCI_Date *date, OCI_Date *date_src)
Assign the value of a date handle to another one.
OCI_EXPORT const void *OCI_API OCI_HandleGetDirPathCtx(OCI_DirPath *dp)
Return OCI DirectPath Context handle (OCIDirPathCtx *) of an OCILIB OCI_DirPath object.
OCI_EXPORT boolean OCI_API OCI_BindInt(OCI_Statement *stmt, const otext *name, int *data)
Bind an integer variable.
OCI_EXPORT boolean OCI_API OCI_ThreadKeyCreate(const otext *name, POCI_THREADKEYDEST destfunc)
Create a thread key object.
OCI_EXPORT boolean OCI_API OCI_BindArrayOfTimestamps(OCI_Statement *stmt, const otext *name, OCI_Timestamp **data, unsigned int type, unsigned int nbelem)
Bind an array of timestamp handles.
OCI_EXPORT boolean OCI_API OCI_ObjectSetObject(OCI_Object *obj, const otext *attr, OCI_Object *value)
Set an object attribute of type Object.
OCI_EXPORT boolean OCI_API OCI_TimestampGetDateTime(OCI_Timestamp *tmsp, int *year, int *month, int *day, int *hour, int *min, int *sec, int *fsec)
Extract the date and time parts from a date handle.
OCI_EXPORT boolean OCI_API OCI_GetStruct(OCI_Resultset *rs, void *row_struct, void *row_struct_ind)
Return the row columns values into a single structure.
OCI_EXPORT boolean OCI_API OCI_BindFile(OCI_Statement *stmt, const otext *name, OCI_File *data)
Bind a File variable.
OCI_EXPORT boolean OCI_ParseFmt(OCI_Statement *stmt, const otext *sql,...)
Parse a formatted SQL statement or PL/SQL block.
OCI_EXPORT boolean OCI_API OCI_BindArrayOfShorts(OCI_Statement *stmt, const otext *name, short *data, unsigned int nbelem)
Bind an array of shorts.
OCI_EXPORT boolean OCI_API OCI_BindArrayOfDoubles(OCI_Statement *stmt, const otext *name, double *data, unsigned int nbelem)
Bind an array of doubles.
OCI_EXPORT boolean OCI_API OCI_SetStructNumericType2(OCI_Resultset *rs, const otext *name, unsigned int type)
set the numeric data type of the given structure member (identified from column name in the resultset...
OCI_EXPORT boolean OCI_API OCI_HashFree(OCI_HashTable *table)
Destroy a hash table.
OCI_EXPORT OCI_Statement *OCI_API OCI_ResultsetGetStatement(OCI_Resultset *rs)
Return the statement handle associated with a resultset handle.
OCI_EXPORT short OCI_API OCI_ObjectGetShort(OCI_Object *obj, const otext *attr)
Return the short value of the given object attribute.
OCI_EXPORT boolean OCI_API OCI_ObjectSetColl(OCI_Object *obj, const otext *attr, OCI_Coll *value)
Set an object attribute of type Collection.
OCI_EXPORT int OCI_API OCI_TimestampCompare(OCI_Timestamp *tmsp, OCI_Timestamp *tmsp2)
Compares two timestamp handles.
OCI_EXPORT double OCI_API OCI_GetDouble2(OCI_Resultset *rs, const otext *name)
Return the current double value of the column from its name in the resultset.
OCI_EXPORT boolean OCI_API OCI_BindObject(OCI_Statement *stmt, const otext *name, OCI_Object *data)
Bind an object (named type) variable.
OCI_EXPORT const otext *OCI_API OCI_SubscriptionGetName(OCI_Subscription *sub)
Return the name of the given registered subscription.
OCI_EXPORT unsigned int OCI_API OCI_PoolGetOpenedCount(OCI_Pool *pool)
Return the current number of opened connections/sessions.
OCI_EXPORT OCI_Connection *OCI_API OCI_TypeInfoGetConnection(OCI_TypeInfo *typinf)
Retrieve connection handle from the type info handle.
OCI_EXPORT unsigned int OCI_API OCI_ColumnGetSubType(OCI_Column *col)
Return the OCILIB object subtype of a column.
OCI_EXPORT unsigned int OCI_API OCI_BindGetDataSize(OCI_Bind *bnd)
Return the actual size of the element held by the given bind handle.
OCI_EXPORT boolean OCI_API OCI_FileIsOpen(OCI_File *file)
Check if the specified file is opened within the file handle.
OCI_EXPORT int OCI_API OCI_GetInt2(OCI_Resultset *rs, const otext *name)
Return the current integer value of the column from its name in the resultset.
OCI_EXPORT boolean OCI_API OCI_PoolSetNoWait(OCI_Pool *pool, boolean value)
Set the waiting mode used when no more connections/sessions are available from the pool...
OCI_EXPORT boolean OCI_API OCI_DateGetDateTime(OCI_Date *date, int *year, int *month, int *day, int *hour, int *min, int *sec)
Extract the date and time parts from a date handle.
OCI_EXPORT OCI_Long *OCI_API OCI_GetLong(OCI_Resultset *rs, unsigned int index)
Return the current Long value of the column at the given index in the resultset.
OCI_EXPORT const otext *OCI_API OCI_EventGetObject(OCI_Event *event)
Return the name of the object that generated the event.
OCI_EXPORT big_uint OCI_API OCI_ObjectGetUnsignedBigInt(OCI_Object *obj, const otext *attr)
Return the unsigned big integer value of the given object attribute.
OCI_EXPORT big_uint OCI_API OCI_GetUnsignedBigInt2(OCI_Resultset *rs, const otext *name)
Return the current unsigned big integer value of the column from its name in the resultset.
OCI_EXPORT OCI_Timestamp *OCI_API OCI_GetInstanceStartTime(OCI_Connection *con)
Return the date and time (Timestamp) server instance start of the connected database/service name...
OCI_EXPORT OCI_Date *OCI_API OCI_GetDate2(OCI_Resultset *rs, const otext *name)
Return the current date value of the column from its name in the resultset.
OCI_EXPORT unsigned int OCI_API OCI_PoolGetIncrement(OCI_Pool *pool)
Return the increment for connections/sessions to be opened to the database when the pool is not full...
OCI_EXPORT boolean OCI_API OCI_DequeueSetConsumer(OCI_Dequeue *dequeue, const otext *consumer)
Set the current consumer name to retrieve message for.
OCI_EXPORT const otext *OCI_API OCI_GetSessionTag(OCI_Connection *con)
Return the tag associated the given connection.
OCI_EXPORT unsigned int OCI_API OCI_ElemGetRawSize(OCI_Elem *elem)
Return the raw attribute value size of the given element handle.
OCI_EXPORT boolean OCI_API OCI_QueueTableAlter(OCI_Connection *con, const otext *queue_table, const otext *comment, unsigned int primary_instance, unsigned int secondary_instance)
Alter the given queue table.
OCI_EXPORT const otext *OCI_API OCI_TypeInfoGetName(OCI_TypeInfo *typinf)
Return the name described by the type info object.
OCI_EXPORT boolean OCI_API OCI_MsgReset(OCI_Msg *msg)
Reset all attributes of a message object.
OCI_EXPORT boolean OCI_API OCI_AgentSetName(OCI_Agent *agent, const otext *name)
Set the given AQ agent name.
OCI_EXPORT boolean OCI_API OCI_QueueTablePurge(OCI_Connection *con, const otext *queue_table, const otext *purge_condition, boolean block, unsigned int delivery_mode)
Purge messages from the given queue table.
OCI_EXPORT unsigned int OCI_API OCI_PoolGetMax(OCI_Pool *pool)
Return the maximum number of connections/sessions that can be opened to the database.
OCI_EXPORT boolean OCI_API OCI_LobIsEqual(OCI_Lob *lob, OCI_Lob *lob2)
Compare two lob handles for equality.
OCI_EXPORT boolean OCI_API OCI_LobAssign(OCI_Lob *lob, OCI_Lob *lob_src)
Assign a lob to another one.
OCI_EXPORT big_uint OCI_API OCI_LobErase(OCI_Lob *lob, big_uint offset, big_uint len)
Erase a portion of the lob at a given position.
OCI_EXPORT const otext *OCI_API OCI_GetString2(OCI_Resultset *rs, const otext *name)
Return the current string value of the column from its name in the resultset.
OCI_EXPORT const void *OCI_API OCI_HandleGetColl(OCI_Coll *coll)
Return OCI Collection Handle (OCIColl *) of an OCILIB OCI_Coll object.
OCI_EXPORT OCI_TypeInfo *OCI_API OCI_CollGetTypeInfo(OCI_Coll *coll)
Return the type info object associated to the collection.
OCI_EXPORT const void *OCI_API OCI_HandleGetSession(OCI_Connection *con)
Return the OCI Session Handle (OCISession *) of an OCILIB OCI_Connection object.
void(* POCI_THREAD)(OCI_Thread *thread, void *arg)
Thread procedure prototype.
Definition: ocilib.h:819
OCI_EXPORT const void *OCI_API OCI_HandleGetDirPathStream(OCI_DirPath *dp)
Return OCI DirectPath Stream handle (OCIDirPathStream *) of an OCILIB OCI_DirPath object...
OCI_EXPORT unsigned int OCI_API OCI_LobGetChunkSize(OCI_Lob *lob)
Returns the chunk size of a LOB.
OCI_EXPORT boolean OCI_ImmediateFmt(OCI_Connection *con, const otext *sql,...)
Performs 4 call (prepare+bind+execute+fetch) in 1 call.
OCI_EXPORT boolean OCI_API OCI_RefToText(OCI_Ref *ref, unsigned int size, otext *str)
Converts a Ref handle value to a hexadecimal string.
OCI_EXPORT boolean OCI_API OCI_ThreadJoin(OCI_Thread *thread)
Join the given thread.
OCI_EXPORT unsigned int OCI_API OCI_GetCharset(void)
Return the OCILIB charset type.
OCI_EXPORT float OCI_API OCI_ElemGetFloat(OCI_Elem *elem)
Return the float value of the given collection element.
OCI_EXPORT unsigned int OCI_API OCI_GetServerRevisionVersion(OCI_Connection *con)
Return the revision version number of the connected database server.
OCI_EXPORT boolean OCI_API OCI_ObjectAssign(OCI_Object *obj, OCI_Object *obj_src)
Assign an object to another one.
OCI_EXPORT OCI_TypeInfo *OCI_API OCI_TypeInfoGet(OCI_Connection *con, const otext *name, unsigned int type)
Retrieve the available type info information.
OCI_EXPORT boolean OCI_Immediate(OCI_Connection *con, const otext *sql,...)
Perform 3 calls (prepare+execute+fetch) in 1 call.
OCI_EXPORT boolean OCI_API OCI_BindRaw(OCI_Statement *stmt, const otext *name, void *data, unsigned int len)
Bind a raw buffer.
OCI_EXPORT boolean OCI_API OCI_BindArrayOfLobs(OCI_Statement *stmt, const otext *name, OCI_Lob **data, unsigned int type, unsigned int nbelem)
Bind an array of Lob handles.
OCI_EXPORT boolean OCI_API OCI_DirPathSetCacheSize(OCI_DirPath *dp, unsigned int size)
Set number of elements in the date cache.
OCI_EXPORT OCI_Date *OCI_API OCI_ElemGetDate(OCI_Elem *elem)
Return the Date value of the given collection element.
OCI_EXPORT unsigned int OCI_API OCI_GetRowCount(OCI_Resultset *rs)
Retrieve the number of rows fetched so far.
OCI_EXPORT unsigned int OCI_API OCI_LobWrite(OCI_Lob *lob, void *buffer, unsigned int len)
[OBSOLETE] Write a buffer into a LOB
OCI_EXPORT boolean OCI_API OCI_BindSetDataSizeAtPos(OCI_Bind *bnd, unsigned int position, unsigned int size)
Set the size of the element at the given position in the bind input array.
OCI_EXPORT unsigned int OCI_API OCI_BindArrayGetSize(OCI_Statement *stmt)
Return the current input array size for bulk operations.
OCI_EXPORT unsigned int OCI_API OCI_EventGetType(OCI_Event *event)
Return the type of event reported by a notification.
boolean OCI_API OCI_BindSetCharsetForm(OCI_Bind *bnd, unsigned int csfrm)
Set the charset form of the given character based bind variable.
OCI_EXPORT boolean OCI_API OCI_DatabaseShutdown(const otext *db, const otext *user, const otext *pwd, unsigned int sess_mode, unsigned int shut_mode, unsigned int shut_flag)
Shutdown a database instance.
OCI_EXPORT boolean OCI_API OCI_DateGetTime(OCI_Date *date, int *hour, int *min, int *sec)
Extract the time part from a date handle.
OCI_EXPORT boolean OCI_API OCI_SetBindAllocation(OCI_Statement *stmt, unsigned int mode)
Set the bind allocation mode of a SQL statement.
OCI_EXPORT const otext *OCI_API OCI_GetPassword(OCI_Connection *con)
Return the current logged user password.
OCI_EXPORT boolean OCI_API OCI_TimestampGetTime(OCI_Timestamp *tmsp, int *hour, int *min, int *sec, int *fsec)
Extract the time portion from a timestamp handle.
OCI_EXPORT const void *OCI_API OCI_HandleGetDate(OCI_Date *date)
Return the OCI Date Handle (OCIDate *) of an OCILIB OCI_Date object.
OCI_EXPORT boolean OCI_API OCI_LobWrite2(OCI_Lob *lob, void *buffer, unsigned int *char_count, unsigned int *byte_count)
Write a buffer into a LOB.
OCILIB encapsulation of Oracle DCN notification.
OCI_EXPORT unsigned int OCI_API OCI_GetUnsignedInt2(OCI_Resultset *rs, const otext *name)
Return the current unsigned integer value of the column from its name in the resultset.
OCILIB encapsulation of A/Q dequeuing operations.
OCILIB encapsulation of A/Q enqueuing operations.
OCI_EXPORT OCI_Timestamp *OCI_API OCI_ObjectGetTimestamp(OCI_Object *obj, const otext *attr)
Return the timestamp value of the given object attribute.
OCI_EXPORT boolean OCI_API OCI_BindSetDirection(OCI_Bind *bnd, unsigned int direction)
Set the direction mode of a bind handle.
OCI_EXPORT boolean OCI_API OCI_EnqueueGetRelativeMsgID(OCI_Enqueue *enqueue, void *id, unsigned int *len)
Get the current associated message identifier used for enqueuing messages using a sequence deviation...
OCI_EXPORT boolean OCI_API OCI_IsRebindingAllowed(OCI_Statement *stmt)
Indicate if rebinding is allowed on the given statement.
OCI_EXPORT boolean OCI_API OCI_TimestampGetTimeZoneName(OCI_Timestamp *tmsp, int size, otext *str)
Return the time zone name of a timestamp handle.
OCI_EXPORT unsigned int OCI_API OCI_TransactionGetMode(OCI_Transaction *trans)
Return global transaction mode.
OCI_EXPORT OCI_Statement *OCI_API OCI_BindGetStatement(OCI_Bind *bnd)
Return the statement handle associated with a bind handle.
OCI_EXPORT boolean OCI_API OCI_IntervalGetDaySecond(OCI_Interval *itv, int *day, int *hour, int *min, int *sec, int *fsec)
Return the day / time portion of an interval handle.
Oracle SQL or PL/SQL statement.
OCI_EXPORT boolean OCI_API OCI_ObjectGetStruct(OCI_Object *obj, void **pp_struct, void **pp_ind)
Retrieve the underlying C (OTT/OCI style) structure of an OCI_Object handle.
OCI_EXPORT boolean OCI_API OCI_ElemSetRef(OCI_Elem *elem, OCI_Ref *value)
Assign a Ref handle to a collection element.
OCI_EXPORT OCI_Object *OCI_API OCI_ObjectGetObject(OCI_Object *obj, const otext *attr)
Return the object value of the given object attribute.
OCI_EXPORT unsigned int OCI_API OCI_EventGetOperation(OCI_Event *event)
Return the type of operation reported by a notification.
OCI_EXPORT boolean OCI_API OCI_ThreadKeySetValue(const otext *name, void *value)
Set a thread key value.
OCI_EXPORT short OCI_API OCI_GetShort2(OCI_Resultset *rs, const otext *name)
Return the current short value of the column from its name in the resultset.
OCI_EXPORT OCI_Iter *OCI_API OCI_IterCreate(OCI_Coll *coll)
Create an iterator handle to iterate through a collection.
OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedBigInts(OCI_Statement *stmt, const otext *name, big_uint *data, unsigned int nbelem)
Bind an array of unsigned big integers.
OCI_EXPORT boolean OCI_API OCI_TimestampIntervalSub(OCI_Timestamp *tmsp, OCI_Interval *itv)
Subtract an interval value from a timestamp value of a timestamp handle.
OCI_EXPORT boolean OCI_API OCI_MutexFree(OCI_Mutex *mutex)
Destroy a mutex object.
OCILIB encapsulation of OCI Threads.
OCI_EXPORT boolean OCI_API OCI_TimestampFree(OCI_Timestamp *tmsp)
Free an OCI_Timestamp handle.
OCI_EXPORT unsigned int OCI_API OCI_BindGetSubtype(OCI_Bind *bnd)
Return the OCILIB object subtype of the given bind.
OCI_EXPORT boolean OCI_API OCI_SetUserData(OCI_Connection *con, void *data)
Associate a pointer to user data to the given connection.
OCI_EXPORT OCI_Date *OCI_API OCI_DateCreate(OCI_Connection *con)
Create a local date object.
OCI_EXPORT OCI_Ref *OCI_API OCI_RefCreate(OCI_Connection *con, OCI_TypeInfo *typinf)
Create a local Ref instance.
OCI_EXPORT OCI_Interval *OCI_API OCI_IntervalCreate(OCI_Connection *con, unsigned int type)
Create a local interval object.
OCI_EXPORT OCI_Connection *OCI_API OCI_LobGetConnection(OCI_Lob *lob)
Retrieve connection handle from the lob handle.
OCI_EXPORT boolean OCI_API OCI_EnqueueSetSequenceDeviation(OCI_Enqueue *enqueue, unsigned int sequence)
Set the enqueuing sequence of messages to put in the queue.
OCI_EXPORT const otext *OCI_API OCI_GetDBName(OCI_Connection *con)
Return the Oracle server database name of the connected database/service name.
Oracle physical connection.
OCI_EXPORT boolean OCI_API OCI_ElemIsNull(OCI_Elem *elem)
Check if the collection element value is null.
OCI_EXPORT boolean OCI_API OCI_RegisterBigInt(OCI_Statement *stmt, const otext *name)
Register a big integer output bind placeholder.
OCI_EXPORT boolean OCI_API OCI_BindArrayOfFloats(OCI_Statement *stmt, const otext *name, float *data, unsigned int nbelem)
Bind an array of floats.
OCI_EXPORT big_uint OCI_API OCI_FileGetOffset(OCI_File *file)
Return the current position in the file.
OCI_EXPORT boolean OCI_API OCI_SetLongMaxSize(OCI_Statement *stmt, unsigned int size)
Set the LONG data type piece buffer size.
OCI_EXPORT OCI_TypeInfo *OCI_API OCI_RefGetTypeInfo(OCI_Ref *ref)
Return the type info object associated to the Ref.
Hash table entry.
Definition: ocilib.h:1027
OCI_EXPORT boolean OCI_API OCI_ElemSetLob(OCI_Elem *elem, OCI_Lob *value)
Assign a Lob handle to a collection element.
OCI_EXPORT OCI_File *OCI_API OCI_FileCreate(OCI_Connection *con, unsigned int type)
Create a file object instance.
OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedInts(OCI_Statement *stmt, const otext *name, unsigned int *data, unsigned int nbelem)
Bind an array of unsigned integers.
OCI_EXPORT OCI_Transaction *OCI_API OCI_TransactionCreate(OCI_Connection *con, unsigned int timeout, unsigned int mode, OCI_XID *pxid)
Create a new global transaction or a serializable/read-only local transaction.
OCI_EXPORT OCI_Coll *OCI_API OCI_GetColl(OCI_Resultset *rs, unsigned int index)
Return the current Collection value of the column at the given index in the resultset.
OCI_EXPORT unsigned int OCI_API OCI_ObjectGetUnsignedInt(OCI_Object *obj, const otext *attr)
Return the unsigned integer value of the given object attribute.
OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedShort(OCI_Elem *elem, unsigned short value)
Set a unsigned short value to a collection element.
OCI_EXPORT boolean OCI_API OCI_SetPassword(OCI_Connection *con, const otext *password)
Change the password of the logged user.
OCI_EXPORT int OCI_API OCI_TimestampCheck(OCI_Timestamp *tmsp)
Check if the given timestamp is valid.
OCI_EXPORT big_uint OCI_API OCI_GetUnsignedBigInt(OCI_Resultset *rs, unsigned int index)
Return the current unsigned big integer value of the column at the given index in the resultset...
OCI_EXPORT OCI_HashEntry *OCI_API OCI_HashGetEntry(OCI_HashTable *table, unsigned int index)
Return the entry slot of the hash table internal list at the given position.
OCI_EXPORT boolean OCI_API OCI_TransactionForget(OCI_Transaction *trans)
Cancel the prepared global transaction validation.
OCI_EXPORT unsigned int OCI_API OCI_GetRaw2(OCI_Resultset *rs, const otext *name, void *buffer, unsigned int len)
Copy the current raw value of the column from its name into the specified buffer. ...
OCI_EXPORT boolean OCI_API OCI_IntervalToText(OCI_Interval *itv, int leading_prec, int fraction_prec, int size, otext *str)
Convert an interval value from the given interval handle to a string.
OCI_EXPORT boolean OCI_API OCI_DateFromCTime(OCI_Date *date, struct tm *ptm, time_t t)
Affect ISO C time data types values to an OCI_Date handle.
OCI_EXPORT const void *OCI_API OCI_HandleGetTimestamp(OCI_Timestamp *tmsp)
Return the OCI Date time Handle (OCIDatetime *) of an OCILIB OCI_Timestamp object.
OCI_EXPORT boolean OCI_API OCI_RegisterInt(OCI_Statement *stmt, const otext *name)
Register an integer output bind placeholder.
OCI_EXPORT OCI_Resultset *OCI_API OCI_GetResultset(OCI_Statement *stmt)
Retrieve the resultset handle from an executed statement.
OCI_EXPORT unsigned int OCI_API OCI_GetBindIndex(OCI_Statement *stmt, const otext *name)
Return the index of the bind from its name belonging to the given statement.
Oracle internal interval representation.
OCI_EXPORT boolean OCI_API OCI_TransactionFree(OCI_Transaction *trans)
Free current transaction.
OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedBigInt(OCI_Object *obj, const otext *attr, big_uint value)
Set an object attribute of type unsigned big int.
OCI_EXPORT void *OCI_API OCI_GetUserData(OCI_Connection *con)
Return the pointer to user data previously associated with the connection.
OCI_EXPORT unsigned int OCI_API OCI_DequeueGetMode(OCI_Dequeue *dequeue)
Get the dequeuing/locking behavior.
OCI_EXPORT unsigned short OCI_API OCI_GetUnsignedShort(OCI_Resultset *rs, unsigned int index)
Return the current unsigned short value of the column at the given index in the resultset.
OCI_EXPORT boolean OCI_API OCI_FetchFirst(OCI_Resultset *rs)
Fetch the first row of the resultset.
OCI_EXPORT boolean OCI_API OCI_DateSetTime(OCI_Date *date, int hour, int min, int sec)
Set the time portion if the given date handle.
OCI_EXPORT OCI_Timestamp *OCI_API OCI_GetTimestamp2(OCI_Resultset *rs, const otext *name)
Return the current timestamp value of the column from its name in the resultset.
Oracle REF type representation.
OCI_EXPORT unsigned int OCI_API OCI_SubscriptionGetPort(OCI_Subscription *sub)
Return the port used by the notification.
OCI_EXPORT unsigned int OCI_API OCI_RefGetHexSize(OCI_Ref *ref)
Returns the size of the hex representation of the given Ref handle.
OCI_EXPORT const otext *OCI_API OCI_AgentGetAddress(OCI_Agent *agent)
Get the given AQ agent address.
OCI_EXPORT unsigned int OCI_API OCI_GetOCICompileVersion(void)
Return the version of OCI used for compilation.
OCI_EXPORT boolean OCI_API OCI_DatabaseStartup(const otext *db, const otext *user, const otext *pwd, unsigned int sess_mode, unsigned int start_mode, unsigned int start_flag, const otext *spfile)
Start a database instance.
OCI_EXPORT float OCI_API OCI_ObjectGetFloat(OCI_Object *obj, const otext *attr)
Return the float value of the given object attribute.
OCI_EXPORT int OCI_API OCI_ColumnGetLeadingPrecision(OCI_Column *col)
Return the leading precision of the column for interval columns.
OCI_EXPORT unsigned int OCI_API OCI_GetServerMinorVersion(OCI_Connection *con)
Return the minor version number of the connected database server.
OCI_EXPORT boolean OCI_API OCI_DirPathReset(OCI_DirPath *dp)
Reset internal arrays and streams to prepare another load.
OCI_EXPORT OCI_Interval *OCI_API OCI_ElemGetInterval(OCI_Elem *elem)
Return the Interval value of the given collection element.
OCI_EXPORT boolean OCI_API OCI_MsgSetObject(OCI_Msg *msg, OCI_Object *obj)
Set the object payload of the given message.
OCI_EXPORT unsigned int OCI_API OCI_CollGetMax(OCI_Coll *coll)
Returns the maximum number of elements of the given collection.
OCI_EXPORT const otext *OCI_API OCI_DequeueGetCorrelation(OCI_Dequeue *dequeue)
Get the correlation identifier of the message to be dequeued.
OCI_EXPORT unsigned int OCI_API OCI_ElemGetRaw(OCI_Elem *elem, void *value, unsigned int len)
Read the RAW value of the collection element into the given buffer.
OCI_EXPORT const void *OCI_API OCI_HandleGetObject(OCI_Object *obj)
Return OCI Object Handle (void *) of an OCILIB OCI_Object object.
OCI_EXPORT OCI_Statement *OCI_API OCI_GetStatement2(OCI_Resultset *rs, const otext *name)
Return the current cursor value of the column from its name in the resultset.
OCI_EXPORT boolean OCI_API OCI_FileFree(OCI_File *file)
Free a local File object.
OCI_EXPORT unsigned int OCI_API OCI_ColumnGetPropertyFlags(OCI_Column *col)
Return the column property flags.
OCI_EXPORT unsigned int OCI_API OCI_HashGetSize(OCI_HashTable *table)
Return the size of the hash table.
OCI_EXPORT boolean OCI_API OCI_LobOpen(OCI_Lob *lob, unsigned int mode)
Open explicitly a Lob.
OCI_EXPORT big_int OCI_API OCI_GetBigInt(OCI_Resultset *rs, unsigned int index)
Return the current big integer value of the column at the given index in the resultset.
OCI_EXPORT unsigned int OCI_API OCI_DequeueGetNavigation(OCI_Dequeue *dequeue)
Return the navigation position of messages to retrieve from the queue.
OCI_EXPORT boolean OCI_API OCI_PoolGetNoWait(OCI_Pool *pool)
Get the waiting mode used when no more connections/sessions are available from the pool...
OCI_EXPORT unsigned int OCI_API OCI_DirPathConvert(OCI_DirPath *dp)
Convert provided user data to the direct path stream format.
OCI_EXPORT boolean OCI_API OCI_DateSetDate(OCI_Date *date, int year, int month, int day)
Set the date portion if the given date handle.
OCI_EXPORT int OCI_API OCI_DateDaysBetween(OCI_Date *date, OCI_Date *date2)
Return the number of days betWeen two dates.
OCI_EXPORT unsigned int OCI_API OCI_GetVersionConnection(OCI_Connection *con)
Return the highest Oracle version is supported by the connection.
OCI_EXPORT unsigned int OCI_API OCI_BindGetDataSizeAtPos(OCI_Bind *bnd, unsigned int position)
Return the actual size of the element at the given position in the bind input array.
OCI_EXPORT boolean OCI_API OCI_IsTAFCapable(OCI_Connection *con)
Verifiy if the given connection support TAF events.
OCI_EXPORT boolean OCI_API OCI_HashAddInt(OCI_HashTable *table, const otext *key, int value)
Adds a pair string key / integer value to the hash table.
OCI_EXPORT const void *OCI_API OCI_HandleGetEnvironment(void)
Return the OCI Environment Handle (OCIEnv *) of OCILIB library.
OCI_EXPORT int OCI_API OCI_MsgGetExpiration(OCI_Msg *msg)
Return the duration that the message is available for dequeuing.
OCI_EXPORT const void *OCI_API OCI_HandleGetContext(OCI_Connection *con)
Return the OCI Context Handle (OCISvcCtx *) of an OCILIB OCI_Connection object.
OCI_EXPORT boolean OCI_API OCI_BindDate(OCI_Statement *stmt, const otext *name, OCI_Date *data)
Bind a date variable.
OCI_EXPORT boolean OCI_API OCI_CollFree(OCI_Coll *coll)
Free a local collection.
OCI_EXPORT boolean OCI_API OCI_DateSysDate(OCI_Date *date)
Return the current system date/time into the date handle.
OCI_EXPORT boolean OCI_API OCI_BindArrayOfRaws(OCI_Statement *stmt, const otext *name, void *data, unsigned int len, unsigned int nbelem)
Bind an array of raw buffers.
OCI_EXPORT OCI_Object *OCI_API OCI_RefGetObject(OCI_Ref *ref)
Returns the object pointed by the Ref handle.
OCI_EXPORT boolean OCI_API OCI_TypeInfoFree(OCI_TypeInfo *typinf)
Free a type info object.
OCI_EXPORT OCI_Coll *OCI_API OCI_ElemGetColl(OCI_Elem *elem)
Return the collection value of the given collection element.
OCI_EXPORT boolean OCI_ExecuteStmtFmt(OCI_Statement *stmt, const otext *sql,...)
Execute a formatted SQL statement or PL/SQL block.
OCI_EXPORT unsigned int OCI_API OCI_CollGetCount(OCI_Coll *coll)
Returns the current number of elements of the given collection.
OCI_EXPORT OCI_Elem *OCI_API OCI_CollGetElem(OCI_Coll *coll, unsigned int index)
Return the element at the given position in the collection.
OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedInt(OCI_Elem *elem, unsigned int value)
Set a unsigned int value to a collection element.
OCI_EXPORT unsigned short OCI_API OCI_ObjectGetUnsignedShort(OCI_Object *obj, const otext *attr)
Return the unsigned short value of the given object attribute.
OCI_EXPORT void *OCI_API OCI_HashGetPointer(OCI_HashTable *table, const otext *key)
Return a pointer associated with the given key.
OCI_EXPORT const otext *OCI_API OCI_GetInstanceName(OCI_Connection *con)
Return the Oracle server Instance name of the connected database/service name.
OCI_EXPORT unsigned int OCI_API OCI_GetFetchMode(OCI_Statement *stmt)
Return the fetch mode of a SQL statement.
OCI_EXPORT boolean OCI_API OCI_SubscriptionAddStatement(OCI_Subscription *sub, OCI_Statement *stmt)
Add a statement to the notification to monitor.
OCI_EXPORT boolean OCI_API OCI_LobTruncate(OCI_Lob *lob, big_uint size)
Truncate the given lob to a shorter length.
OCI_EXPORT void *OCI_API OCI_ThreadKeyGetValue(const otext *name)
Get a thread key value.
OCI_EXPORT boolean OCI_PrepareFmt(OCI_Statement *stmt, const otext *sql,...)
Prepare a formatted SQL statement or PL/SQL block.
OCI_EXPORT boolean OCI_API OCI_LobClose(OCI_Lob *lob)
Close explicitly a Lob.
OCI_EXPORT boolean OCI_API OCI_BindArrayOfDates(OCI_Statement *stmt, const otext *name, OCI_Date **data, unsigned int nbelem)
Bind an array of dates.
OCI_EXPORT OCI_Interval *OCI_API OCI_GetInterval2(OCI_Resultset *rs, const otext *name)
Return the current interval value of the column from its name in the resultset.
OCI_EXPORT boolean OCI_API OCI_DateArrayFree(OCI_Date **dates)
Free an array of date objects.
OCI_EXPORT boolean OCI_API OCI_CollSetElem(OCI_Coll *coll, unsigned int index, OCI_Elem *elem)
Assign the given element value to the element at the given position in the collection.
OCI_EXPORT boolean OCI_API OCI_DirPathAbort(OCI_DirPath *dp)
Terminate a direct path operation without committing changes.
Oracle internal date representation.
OCI_EXPORT boolean OCI_API OCI_CollAppend(OCI_Coll *coll, OCI_Elem *elem)
Append the given element at the end of the collection.
OCI_EXPORT unsigned int OCI_API OCI_GetSessionMode(OCI_Connection *con)
Return the current session mode.
OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedBigInt(OCI_Elem *elem, big_uint value)
Set a unsigned big_int value to a collection element.
OCI_EXPORT boolean OCI_API OCI_BindLob(OCI_Statement *stmt, const otext *name, OCI_Lob *data)
Bind a Lob variable.
OCILIB encapsulation of Oracle DCN event.
OCI_EXPORT boolean OCI_API OCI_RegisterDouble(OCI_Statement *stmt, const otext *name)
Register a double output bind placeholder.
OCI_EXPORT unsigned int OCI_API OCI_GetColumnCount(OCI_Resultset *rs)
Return the number of columns in the resultset.
OCI_EXPORT unsigned int OCI_API OCI_DirPathGetErrorColumn(OCI_DirPath *dp)
Return the index of a column which caused an error during data conversion.
OCI_EXPORT unsigned int OCI_API OCI_ColumnGetCharsetForm(OCI_Column *col)
Return the charset form of the given column.
void(* POCI_NOTIFY)(OCI_Event *event)
Database Change Notification User callback prototype.
Definition: ocilib.h:850
OCI_EXPORT boolean OCI_API OCI_AllowRebinding(OCI_Statement *stmt, boolean value)
Allow different host variables to be binded using the same bind name or position between executions o...
OCI_EXPORT boolean OCI_API OCI_Describe(OCI_Statement *stmt, const otext *sql)
Describe the select list of a SQL select statement.
OCI_EXPORT const otext *OCI_API OCI_BindGetName(OCI_Bind *bnd)
Return the name of the given bind.
OCI_EXPORT boolean OCI_API OCI_ServerEnableOutput(OCI_Connection *con, unsigned int bufsize, unsigned int arrsize, unsigned int lnsize)
Enable the server output.
OCI_EXPORT unsigned int OCI_API OCI_LobAppend(OCI_Lob *lob, void *buffer, unsigned int len)
Append a buffer at the end of a LOB.
OCI_EXPORT boolean OCI_API OCI_LobCopy(OCI_Lob *lob, OCI_Lob *lob_src, big_uint offset_dst, big_uint offset_src, big_uint count)
Copy a portion of a source LOB into a destination LOB.
OCI_EXPORT boolean OCI_API OCI_MsgSetSender(OCI_Msg *msg, OCI_Agent *sender)
Set the original sender of a message.
OCI_EXPORT const otext *OCI_API OCI_GetSQLVerb(OCI_Statement *stmt)
Return the verb of the SQL command held by the statement handle.
OCI_EXPORT const otext *OCI_API OCI_ErrorGetString(OCI_Error *err)
Retrieve error message from error handle.
OCI_EXPORT const void *OCI_API OCI_HandleGetError(OCI_Connection *con)
Return the OCI Error Handle (OCIError *) of an OCILIB OCI_Connection object.
OCI_EXPORT const otext *OCI_API OCI_GetDomainName(OCI_Connection *con)
Return the Oracle server domain name of the connected database/service name.
OCI_EXPORT boolean OCI_API OCI_ObjectIsNull(OCI_Object *obj, const otext *attr)
Check if an object attribute is null.
OCI_EXPORT int OCI_API OCI_DequeueGetWaitTime(OCI_Dequeue *dequeue)
Return the time that OCIDequeueGet() waits for messages if no messages are currently available...
OCI_EXPORT boolean OCI_API OCI_Execute(OCI_Statement *stmt)
Execute a prepared SQL statement or PL/SQL block.
OCI_EXPORT boolean OCI_API OCI_ObjectFree(OCI_Object *obj)
Free a local object.
Oracle Collections (VARRAYs and Nested Tables) representation.
OCI_EXPORT boolean OCI_API OCI_ElemSetFile(OCI_Elem *elem, OCI_File *value)
Assign a File handle to a collection element.
OCI_EXPORT OCI_Error *OCI_API OCI_GetLastError(void)
Retrieve the last error or warning occurred within the last OCILIB call.
OCI_EXPORT boolean OCI_API OCI_TransactionPrepare(OCI_Transaction *trans)
Prepare a global transaction validation.
OCI_EXPORT const otext *OCI_API OCI_FileGetDirectory(OCI_File *file)
Return the directory of the given file.
OCI_EXPORT boolean OCI_API OCI_BindArrayOfInts(OCI_Statement *stmt, const otext *name, int *data, unsigned int nbelem)
Bind an array of integers.
OCI_EXPORT OCI_Date *OCI_API OCI_MsgGetEnqueueTime(OCI_Msg *msg)
return the time the message was enqueued
OCI_EXPORT unsigned int OCI_API OCI_DirPathGetAffectedRows(OCI_DirPath *dp)
return the number of rows successfully processed during in the last conversion or loading call ...
OCI_EXPORT boolean OCI_API OCI_LobArrayFree(OCI_Lob **lobs)
Free an array of lob objects.
OCI_EXPORT OCI_Interval **OCI_API OCI_IntervalArrayCreate(OCI_Connection *con, unsigned int type, unsigned int nbelem)
Create an array of Interval object.
OCI_EXPORT int OCI_API OCI_GetInt(OCI_Resultset *rs, unsigned int index)
Return the current integer value of the column at the given index in the resultset.
OCI_EXPORT OCI_File **OCI_API OCI_FileArrayCreate(OCI_Connection *con, unsigned int type, unsigned int nbelem)
Create an array of file object.
OCI_EXPORT unsigned int OCI_API OCI_GetCurrentRow(OCI_Resultset *rs)
Retrieve the current row number.
Type info metadata handle.
OCI_EXPORT OCI_Connection *OCI_API OCI_SubscriptionGetConnection(OCI_Subscription *sub)
Return the connection handle associated with a subscription handle.
OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedInt(OCI_Object *obj, const otext *attr, unsigned int value)
Set an object attribute of type unsigned int.
OCI_EXPORT float OCI_API OCI_GetFloat2(OCI_Resultset *rs, const otext *name)
Return the current float value of the column from its name in the resultset.
OCI_EXPORT big_int OCI_API OCI_GetBigInt2(OCI_Resultset *rs, const otext *name)
Return the current big integer value of the column from its name in the resultset.
OCI_EXPORT const void *OCI_API OCI_HandleGetSubscription(OCI_Subscription *sub)
Return OCI Subscription handle (OCISubscription *) of an OCILIB OCI_Subscription object.
OCI_EXPORT boolean OCI_API OCI_DirPathSetCurrentRows(OCI_DirPath *dp, unsigned int nb_rows)
Set the current number of rows to convert and load.
OCI_EXPORT boolean OCI_API OCI_MsgGetRaw(OCI_Msg *msg, void *raw, unsigned int *size)
Get the RAW payload of the given message.
OCI_EXPORT boolean OCI_API OCI_MutexRelease(OCI_Mutex *mutex)
Release a mutex lock.
OCI_EXPORT boolean OCI_API OCI_TimestampConstruct(OCI_Timestamp *tmsp, int year, int month, int day, int hour, int min, int sec, int fsec, const otext *time_zone)
Set a timestamp handle value.
OCI_EXPORT boolean OCI_API OCI_TimestampSubtract(OCI_Timestamp *tmsp, OCI_Timestamp *tmsp2, OCI_Interval *itv)
Store the difference of two timestamp handles into an interval handle.
OCI_EXPORT int OCI_API OCI_MsgGetPriority(OCI_Msg *msg)
Return the priority of the message.
OCI_EXPORT const void *OCI_API OCI_HandleGetLob(OCI_Lob *lob)
Return the OCI LobLocator Handle (OCILobLocator *) of an OCILIB OCI_Lob object.
OCI_EXPORT boolean OCI_API OCI_DateZoneToZone(OCI_Date *date, const otext *zone1, const otext *zone2)
Convert a date from one zone to another zone.
OCI_EXPORT unsigned int OCI_API OCI_CollGetSize(OCI_Coll *coll)
Returns the total number of elements of the given collection.
OCI_EXPORT OCI_HashTable *OCI_API OCI_HashCreate(unsigned int size, unsigned int type)
Create a hash table.
OCI_EXPORT const void *OCI_API OCI_HandleGetThreadID(OCI_Thread *thread)
Return OCI Thread ID (OCIThreadId *) of an OCILIB OCI_Thread object.
OCI_EXPORT boolean OCI_API OCI_MsgFree(OCI_Msg *msg)
Free a message object.
OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedInt(OCI_Statement *stmt, const otext *name)
Register an unsigned integer output bind placeholder.
OCI_EXPORT boolean OCI_API OCI_EnqueueSetVisibility(OCI_Enqueue *enqueue, unsigned int visibility)
Set whether the new message is enqueued as part of the current transaction.
OCI_EXPORT unsigned int OCI_API OCI_PoolGetBusyCount(OCI_Pool *pool)
Return the current number of busy connections/sessions.
OCI_EXPORT OCI_Connection *OCI_API OCI_ConnectionCreate(const otext *db, const otext *user, const otext *pwd, unsigned int mode)
Create a physical connection to an Oracle database server.
OCILIB encapsulation of A/Q Agent.
OCI_EXPORT double OCI_API OCI_GetDouble(OCI_Resultset *rs, unsigned int index)
Return the current double value of the column at the given index in the resultset.
OCI_EXPORT boolean OCI_API OCI_CollAssign(OCI_Coll *coll, OCI_Coll *coll_src)
Assign a collection to another one.
OCI_EXPORT unsigned int OCI_API OCI_SubscriptionGetTimeout(OCI_Subscription *sub)
Return the timeout of the given registered subscription.
OCI_EXPORT OCI_Agent *OCI_API OCI_MsgGetSender(OCI_Msg *msg)
Return the original sender of a message.
OCI_EXPORT boolean OCI_API OCI_SetHAHandler(POCI_HA_HANDLER handler)
Set the High availability (HA) user handler.
OCI_EXPORT boolean OCI_API OCI_DateToText(OCI_Date *date, const otext *fmt, int size, otext *str)
Convert a Date value from the given date handle to a string.
OCI_EXPORT const void *OCI_API OCI_HandleGetServer(OCI_Connection *con)
Return the OCI Server Handle (OCIServer *) of an OCILIB OCI_Connection object.
OCI_EXPORT short OCI_API OCI_ElemGetShort(OCI_Elem *elem)
Return the short value of the given collection element.
OCI_EXPORT const otext *OCI_API OCI_EventGetDatabase(OCI_Event *event)
Return the name of the database that generated the event.
OCI_EXPORT boolean OCI_API OCI_RegisterObject(OCI_Statement *stmt, const otext *name, OCI_TypeInfo *typinf)
Register an object output bind placeholder.
OCI_EXPORT boolean OCI_API OCI_ObjectSetBigInt(OCI_Object *obj, const otext *attr, big_int value)
Set an object attribute of type big int.
OCI_EXPORT OCI_Lob *OCI_API OCI_LobCreate(OCI_Connection *con, unsigned int type)
Create a local temporary Lob instance.
Pool object (session or connection)
OCI_EXPORT const otext *OCI_API OCI_GetDatabase(OCI_Connection *con)
Return the name of the connected database/service name.
OCI_EXPORT boolean OCI_API OCI_IntervalAdd(OCI_Interval *itv, OCI_Interval *itv2)
Adds an interval handle value to another.
OCI_EXPORT boolean OCI_API OCI_BindTimestamp(OCI_Statement *stmt, const otext *name, OCI_Timestamp *data)
Bind a timestamp variable.
OCI_EXPORT boolean OCI_API OCI_SetTrace(OCI_Connection *con, unsigned int trace, const otext *value)
Set tracing information to the session of the given connection.
OCI_EXPORT boolean OCI_API OCI_ObjectSetDate(OCI_Object *obj, const otext *attr, OCI_Date *value)
Set an object attribute of type Date.
OCI_EXPORT boolean OCI_API OCI_FetchNext(OCI_Resultset *rs)
Fetch the next row of the resultset.
OCI_EXPORT float OCI_API OCI_GetFloat(OCI_Resultset *rs, unsigned int index)
Return the current float value of the column at the given index in the resultset. ...
OCI_EXPORT boolean OCI_API OCI_BindArrayOfFiles(OCI_Statement *stmt, const otext *name, OCI_File **data, unsigned int type, unsigned int nbelem)
Bind an array of File handles.
OCI_EXPORT boolean OCI_API OCI_MsgSetRaw(OCI_Msg *msg, const void *raw, unsigned int size)
Set the RAW payload of the given message.
OCI_EXPORT boolean OCI_API OCI_MsgSetConsumers(OCI_Msg *msg, OCI_Agent **consumers, unsigned int count)
Set the recipient list of a message to enqueue.
OCI_EXPORT boolean OCI_API OCI_QueueTableMigrate(OCI_Connection *con, const otext *queue_table, const otext *compatible)
Migrate a queue table from one version to another.
OCI_EXPORT boolean OCI_API OCI_ObjectSetTimestamp(OCI_Object *obj, const otext *attr, OCI_Timestamp *value)
Set an object attribute of type Timestamp.
OCI_EXPORT boolean OCI_API OCI_RegisterLob(OCI_Statement *stmt, const otext *name, unsigned int type)
Register a lob output bind placeholder.
OCI_EXPORT boolean OCI_API OCI_ThreadFree(OCI_Thread *thread)
Destroy a thread object.
OCI_EXPORT boolean OCI_API OCI_RefArrayFree(OCI_Ref **refs)
Free an array of Ref objects.
OCI_EXPORT const otext *OCI_API OCI_HashGetString(OCI_HashTable *table, const otext *key)
Return the string value associated to the given key.
OCI_EXPORT boolean OCI_API OCI_TimestampIntervalAdd(OCI_Timestamp *tmsp, OCI_Interval *itv)
Add an interval value to a timestamp value of a timestamp handle.
OCI_EXPORT OCI_Date *OCI_API OCI_ObjectGetDate(OCI_Object *obj, const otext *attr)
Return the date value of the given object attribute.
OCI_EXPORT boolean OCI_API OCI_BindArrayOfStrings(OCI_Statement *stmt, const otext *name, otext *data, unsigned int len, unsigned int nbelem)
Bind an array of strings.
Oracle Collection iterator representation.
OCI_EXPORT boolean OCI_API OCI_ObjectGetSelfRef(OCI_Object *obj, OCI_Ref *ref)
Retrieve an Oracle Ref handle from an object and assign it to the given OCILIB OCI_Ref handle...
OCI_EXPORT boolean OCI_API OCI_PoolFree(OCI_Pool *pool)
Destroy a pool object.
OCI_EXPORT OCI_Coll *OCI_API OCI_CollCreate(OCI_TypeInfo *typinf)
Create a local collection instance.
Oracle internal timestamp representation.
OCI_EXPORT unsigned int OCI_API OCI_GetFetchSize(OCI_Statement *stmt)
Return the number of rows fetched per internal server fetch call.
OCI_EXPORT boolean OCI_API OCI_ColumnGetNullable(OCI_Column *col)
Return the nullable attribute of the column.
OCI_EXPORT const otext *OCI_API OCI_FileGetName(OCI_File *file)
Return the name of the given file.
OCI_EXPORT unsigned int OCI_API OCI_GetStatementType(OCI_Statement *stmt)
Return the type of a SQL statement.
OCI_EXPORT boolean OCI_API OCI_QueueCreate(OCI_Connection *con, const otext *queue_name, const otext *queue_table, unsigned int queue_type, unsigned int max_retries, unsigned int retry_delay, unsigned int retention_time, boolean dependency_tracking, const otext *comment)
Create a queue.
OCI_EXPORT unsigned int OCI_API OCI_GetRaw(OCI_Resultset *rs, unsigned int index, void *buffer, unsigned int len)
Copy the current raw value of the column at the given index into the specified buffer.
OCI_EXPORT boolean OCI_API OCI_IntervalArrayFree(OCI_Interval **itvs)
Free an array of Interval objects.
OCI_EXPORT boolean OCI_API OCI_FileSeek(OCI_File *file, big_uint offset, unsigned int mode)
Perform a seek operation on the OCI_File content buffer.
OCI_EXPORT boolean OCI_API OCI_SetAutoCommit(OCI_Connection *con, boolean enable)
Enable / disable auto commit mode.
OCI_EXPORT boolean OCI_API OCI_LobIsTemporary(OCI_Lob *lob)
Check if the given lob is a temporary lob.
OCI_EXPORT boolean OCI_API OCI_DirPathSetColumn(OCI_DirPath *dp, unsigned int index, const otext *name, unsigned int maxsize, const otext *format)
Describe a column to load into the given table.
OCI_EXPORT const otext *OCI_API OCI_GetDefaultFormatNumeric(OCI_Connection *con)
Return the current numeric format for implicit string / numeric conversions.
OCI_EXPORT boolean OCI_API OCI_DirPathSetNoLog(OCI_DirPath *dp, boolean value)
Set the logging mode for the loading operation.
OCI_EXPORT boolean OCI_API OCI_IsConnected(OCI_Connection *con)
Returns TRUE is the given connection is still connected otherwise FALSE.
OCI_EXPORT boolean OCI_API OCI_QueueTableCreate(OCI_Connection *con, const otext *queue_table, const otext *queue_payload_type, const otext *storage_clause, const otext *sort_list, boolean multiple_consumers, unsigned int message_grouping, const otext *comment, unsigned int primary_instance, unsigned int secondary_instance, const otext *compatible)
Create a queue table for messages of the given type.
OCI_EXPORT OCI_Bind *OCI_API OCI_GetBind2(OCI_Statement *stmt, const otext *name)
Return a bind handle from its name.
OCI_EXPORT boolean OCI_API OCI_Prepare(OCI_Statement *stmt, const otext *sql)
Prepare a SQL statement or PL/SQL block.
OCI_EXPORT boolean OCI_API OCI_DequeueSetAgentList(OCI_Dequeue *dequeue, OCI_Agent **consumers, unsigned int count)
Set the Agent list to listen to message for.
OCI_EXPORT boolean OCI_API OCI_PoolSetTimeout(OCI_Pool *pool, unsigned int value)
Set the connections/sessions idle timeout.
OCI_EXPORT OCI_File *OCI_API OCI_GetFile(OCI_Resultset *rs, unsigned int index)
Return the current File value of the column at the given index in the resultset.
OCI_EXPORT OCI_Object **OCI_API OCI_ObjectArrayCreate(OCI_Connection *con, OCI_TypeInfo *typinf, unsigned int nbelem)
Create an array of Object object.
OCI_EXPORT void OCI_API OCI_SetErrorHandler(POCI_ERROR handler)
Set the global error user handler.
OCI_EXPORT boolean OCI_API OCI_DateSetDateTime(OCI_Date *date, int year, int month, int day, int hour, int min, int sec)
Set the date and time portions if the given date handle.
OCI_EXPORT boolean OCI_API OCI_ObjectSetInt(OCI_Object *obj, const otext *attr, int value)
Set an object attribute of type int.
OCI_EXPORT big_uint OCI_API OCI_LobGetLength(OCI_Lob *lob)
Return the actual length of a lob.
OCI_EXPORT unsigned int OCI_API OCI_GetServerMajorVersion(OCI_Connection *con)
Return the major version number of the connected database server.
OCI_EXPORT boolean OCI_API OCI_DirPathSetEntry(OCI_DirPath *dp, unsigned int row, unsigned int index, void *value, unsigned size, boolean complete)
Set the value of the given row/column array entry.
OCI_EXPORT OCI_Lob *OCI_API OCI_ElemGetLob(OCI_Elem *elem)
Return the Lob value of the given collection element.
OCI_EXPORT boolean OCI_API OCI_LobEnableBuffering(OCI_Lob *lob, boolean value)
Enable / disable buffering mode on the given lob handle.
void(* POCI_NOTIFY_AQ)(OCI_Dequeue *dequeue)
AQ notification callback prototype.
Definition: ocilib.h:865
OCI_EXPORT unsigned int OCI_API OCI_GetStatementCacheSize(OCI_Connection *con)
Return the maximum number of statements to keep in the statement cache.
OCI_EXPORT boolean OCI_API OCI_SetTransaction(OCI_Connection *con, OCI_Transaction *trans)
Set a transaction to a connection.
OCI_EXPORT boolean OCI_API OCI_CollTrim(OCI_Coll *coll, unsigned int nb_elem)
Trims the given number of elements from the end of the collection.
OCI_EXPORT boolean OCI_API OCI_RefFree(OCI_Ref *ref)
Free a local Ref.
OCI_EXPORT OCI_Transaction *OCI_API OCI_GetTransaction(OCI_Connection *con)
Return the current transaction of the connection.
OCI_EXPORT boolean OCI_API OCI_DateNextDay(OCI_Date *date, const otext *day)
Gets the date of next day of the week, after a given date.
OCI_EXPORT boolean OCI_API OCI_Rollback(OCI_Connection *con)
Cancel current pending changes.
OCI_EXPORT OCI_TypeInfo *OCI_API OCI_ObjectGetTypeInfo(OCI_Object *obj)
Return the type info object associated to the object.
OCI_EXPORT unsigned int OCI_API OCI_LongGetSize(OCI_Long *lg)
Return the buffer size of a long object in bytes (OCI_BLONG) or character (OCI_CLONG) ...
OCI_EXPORT boolean OCI_API OCI_FileOpen(OCI_File *file)
Open a file for reading.
OCI_EXPORT boolean OCI_API OCI_FetchSeek(OCI_Resultset *rs, unsigned int mode, int offset)
Custom Fetch of the resultset.
OCI_EXPORT boolean OCI_API OCI_IntervalGetYearMonth(OCI_Interval *itv, int *year, int *month)
Return the year / month portion of an interval handle.
OCI_EXPORT boolean OCI_API OCI_IntervalSetDaySecond(OCI_Interval *itv, int day, int hour, int min, int sec, int fsec)
Set the day / time portion if the given interval handle.
OCI_EXPORT void OCI_API OCI_EnableWarnings(boolean value)
Enable or disable Oracle warning notifications.
OCI_EXPORT boolean OCI_API OCI_ElemSetColl(OCI_Elem *elem, OCI_Coll *value)
Assign a Collection handle to a collection element.
OCI_EXPORT unsigned int OCI_API OCI_DequeueGetVisibility(OCI_Dequeue *dequeue)
Get the dequeuing/locking behavior.
OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedShort(OCI_Object *obj, const otext *attr, unsigned short value)
Set an object attribute of type unsigned short.
OCI_EXPORT boolean OCI_API OCI_ElemSetDate(OCI_Elem *elem, OCI_Date *value)
Assign a Date handle to a collection element.
OCI_EXPORT unsigned int OCI_API OCI_GetDataLength(OCI_Resultset *rs, unsigned int index)
Return the current row data length of the column at the given index in the resultset.
OCI_EXPORT boolean OCI_API OCI_ReleaseResultsets(OCI_Statement *stmt)
Free the statement resultsets.
OCI_EXPORT boolean OCI_API OCI_RegisterString(OCI_Statement *stmt, const otext *name, unsigned int len)
Register a string output bind placeholder.
OCI_EXPORT boolean OCI_API OCI_RegisterShort(OCI_Statement *stmt, const otext *name)
Register a short output bind placeholder.
OCI_EXPORT OCI_Object *OCI_API OCI_ElemGetObject(OCI_Elem *elem)
Return the object value of the given collection element.
OCI_EXPORT unsigned int OCI_API OCI_GetSQLCommand(OCI_Statement *stmt)
Return the Oracle SQL code the command held by the statement handle.
OCI_EXPORT unsigned int OCI_API OCI_DirPathGetRowCount(OCI_DirPath *dp)
Return the number of rows successfully loaded into the database so far.
OCI_EXPORT boolean OCI_API OCI_TimestampAssign(OCI_Timestamp *tmsp, OCI_Timestamp *tmsp_src)
Assign the value of a timestamp handle to another one.
OCI_EXPORT boolean OCI_API OCI_DirPathSetConvertMode(OCI_DirPath *dp, unsigned int mode)
Set the direct path conversion mode.
OCI_EXPORT int OCI_API OCI_ColumnGetFractionalPrecision(OCI_Column *col)
Return the fractional precision of the column for timestamp and interval columns. ...
OCI_EXPORT unsigned int OCI_API OCI_GetPrefetchMemory(OCI_Statement *stmt)
Return the amount of memory used to retrieve rows pre-fetched by OCI Client.
OCI_EXPORT boolean OCI_API OCI_SetPrefetchSize(OCI_Statement *stmt, unsigned int size)
Set the number of rows pre-fetched by OCI Client.
OCI_EXPORT boolean OCI_API OCI_DequeueGetRelativeMsgID(OCI_Dequeue *dequeue, void *id, unsigned int *len)
Get the message identifier of the message to be dequeued.
OCI_EXPORT boolean OCI_API OCI_DequeueSetCorrelation(OCI_Dequeue *dequeue, const otext *pattern)
set the correlation identifier of the message to be dequeued
OCI_EXPORT boolean OCI_API OCI_DirPathSetParallel(OCI_DirPath *dp, boolean value)
Set the parallel loading mode.
void(* POCI_THREADKEYDEST)(void *data)
Thread key destructor prototype.
Definition: ocilib.h:835
OCILIB encapsulation of A/Q message.
OCI_EXPORT boolean OCI_API OCI_BindArrayOfRefs(OCI_Statement *stmt, const otext *name, OCI_Ref **data, OCI_TypeInfo *typinf, unsigned int nbelem)
Bind an array of Ref handles.
OCI_EXPORT boolean OCI_API OCI_QueueAlter(OCI_Connection *con, const otext *queue_name, unsigned int max_retries, unsigned int retry_delay, unsigned int retention_time, const otext *comment)
Alter the given queue.
OCI_EXPORT OCI_Dequeue *OCI_API OCI_DequeueCreate(OCI_TypeInfo *typinf, const otext *name)
Create a Dequeue object for the given queue.
OCI_EXPORT OCI_Error *OCI_API OCI_GetBatchError(OCI_Statement *stmt)
Returns the first or next error that occurred within a DML array statement execution.
OCI_EXPORT OCI_HashValue *OCI_API OCI_HashGetValue(OCI_HashTable *table, const otext *key)
Return the first hash slot that matches the key.
OCI_EXPORT OCI_Resultset *OCI_API OCI_GetNextResultset(OCI_Statement *stmt)
Retrieve the next available resultset.
OCI_EXPORT unsigned int OCI_API OCI_TransactionGetTimeout(OCI_Transaction *trans)
Return global transaction Timeout.
OCI_EXPORT boolean OCI_API OCI_TimestampArrayFree(OCI_Timestamp **tmsps)
Free an array of timestamp objects.
OCI_EXPORT boolean OCI_API OCI_ElemSetInt(OCI_Elem *elem, int value)
Set a int value to a collection element.
OCI_EXPORT boolean OCI_API OCI_LongFree(OCI_Long *lg)
Free a local temporary long.
OCI_EXPORT boolean OCI_API OCI_SetStructNumericType(OCI_Resultset *rs, unsigned int index, unsigned int type)
set the numeric datatype of the given structure member (identified from position in the resultset) to...
OCI_EXPORT double OCI_API OCI_ElemGetDouble(OCI_Elem *elem)
Return the Double value of the given collection element.
OCI_EXPORT boolean OCI_API OCI_RegisterRef(OCI_Statement *stmt, const otext *name, OCI_TypeInfo *typinf)
Register a Ref output bind placeholder.
OCI_EXPORT boolean OCI_API OCI_TimestampToText(OCI_Timestamp *tmsp, const otext *fmt, int size, otext *str, int precision)
Convert a timestamp value from the given timestamp handle to a string.
OCI_EXPORT short OCI_API OCI_GetShort(OCI_Resultset *rs, unsigned int index)
Return the current short value of the column at the given index in the resultset. ...
OCI_EXPORT boolean OCI_API OCI_SetPrefetchMemory(OCI_Statement *stmt, unsigned int size)
Set the amount of memory pre-fetched by OCI Client.
OCI_EXPORT boolean OCI_API OCI_CollGetElem2(OCI_Coll *coll, unsigned int index, OCI_Elem *elem)
Return the element at the given position in the collection.
OCI_EXPORT OCI_Column *OCI_API OCI_TypeInfoGetColumn(OCI_TypeInfo *typinf, unsigned int index)
Return the column object handle at the given index in the table.
OCI_EXPORT const otext *OCI_API OCI_EventGetRowid(OCI_Event *event)
Return the rowid of the altered database object row.
OCI_EXPORT unsigned int OCI_API OCI_DirPathGetErrorRow(OCI_DirPath *dp)
Return the index of a row which caused an error during data conversion.
OCI_EXPORT const otext *OCI_API OCI_ElemGetString(OCI_Elem *elem)
Return the String value of the given collection element.
OCI_EXPORT const otext *OCI_API OCI_GetServiceName(OCI_Connection *con)
Return the Oracle server service name of the connected database/service name.
OCI_EXPORT OCI_Object *OCI_API OCI_MsgGetObject(OCI_Msg *msg)
Get the object payload of the given message.
OCI_EXPORT boolean OCI_API OCI_BindShort(OCI_Statement *stmt, const otext *name, short *data)
Bind an short variable.
OCI_EXPORT boolean OCI_API OCI_ElemSetDouble(OCI_Elem *elem, double value)
Set a double value to a collection element.
OCI_EXPORT const otext *OCI_API OCI_DequeueGetConsumer(OCI_Dequeue *dequeue)
Get the current consumer name associated with the dequeuing process.
OCI_EXPORT boolean OCI_API OCI_ElemSetObject(OCI_Elem *elem, OCI_Object *value)
Assign an Object handle to a collection element.
OCI_EXPORT unsigned int OCI_API OCI_GetUnsignedInt(OCI_Resultset *rs, unsigned int index)
Return the current unsigned integer value of the column at the given index in the resultset...
OCI_EXPORT boolean OCI_API OCI_RefIsNull(OCI_Ref *ref)
Check if the Ref points to an object or not.
OCI_EXPORT boolean OCI_API OCI_HashAddPointer(OCI_HashTable *table, const otext *key, void *value)
Adds a pair string key / pointer value to the hash table.
OCI_EXPORT unsigned int OCI_API OCI_GetOCIRuntimeVersion(void)
Return the version of OCI used at runtime.
OCI_EXPORT boolean OCI_API OCI_BindFloat(OCI_Statement *stmt, const otext *name, float *data)
Bind a float variable.
OCI_EXPORT boolean OCI_API OCI_HashAddString(OCI_HashTable *table, const otext *key, const otext *value)
Add a pair string key / string value to the hash table.
OCI_EXPORT boolean OCI_API OCI_IsNull2(OCI_Resultset *rs, const otext *name)
Check if the current row value is null for the column of the given name in the resultset.
OCI_EXPORT boolean OCI_API OCI_TimestampGetDate(OCI_Timestamp *tmsp, int *year, int *month, int *day)
Extract the date part from a timestamp handle.
OCI_EXPORT boolean OCI_API OCI_DequeueSetMode(OCI_Dequeue *dequeue, unsigned int mode)
Set the dequeuing/locking behavior.
OCI_EXPORT big_uint OCI_API OCI_LobGetMaxSize(OCI_Lob *lob)
Return the maximum size that the lob can contain.
OCI_EXPORT int OCI_API OCI_ElemGetInt(OCI_Elem *elem)
Return the int value of the given collection element.
OCI_EXPORT boolean OCI_API OCI_FileClose(OCI_File *file)
Close a file.
OCI_EXPORT boolean OCI_API OCI_DirPathPrepare(OCI_DirPath *dp)
Prepares the OCI direct path load interface before any rows can be converted or loaded.
OCI_EXPORT void *OCI_API OCI_LongGetBuffer(OCI_Long *lg)
Return the internal buffer of an OCI_Long object read from a fetch sequence.
OCI_EXPORT unsigned int OCI_API OCI_TypeInfoGetType(OCI_TypeInfo *typinf)
Return the type of the type info object.
OCI_EXPORT OCI_Date **OCI_API OCI_DateArrayCreate(OCI_Connection *con, unsigned int nbelem)
Create an array of date object.
OCI_EXPORT boolean OCI_API OCI_SetFetchSize(OCI_Statement *stmt, unsigned int size)
Set the number of rows fetched per internal server fetch call.
OCI_EXPORT OCI_Coll **OCI_API OCI_CollArrayCreate(OCI_Connection *con, OCI_TypeInfo *typinf, unsigned int nbelem)
Create an array of Collection object.
OCI_EXPORT unsigned int OCI_API OCI_DirPathGetMaxRows(OCI_DirPath *dp)
Return the maximum number of rows allocated in the OCI and OCILIB internal arrays of rows...
OCI_EXPORT unsigned int OCI_API OCI_EnqueueGetSequenceDeviation(OCI_Enqueue *enqueue)
Return the sequence deviation of messages to enqueue to the queue.
OCI_EXPORT OCI_Msg *OCI_API OCI_DequeueGet(OCI_Dequeue *dequeue)
Dequeue messages from the given queue.
Internal Variant type based on union C type.
Definition: ocilib.h:975
OCI_EXPORT OCI_Agent *OCI_API OCI_AgentCreate(OCI_Connection *con, const otext *name, const otext *address)
Create an AQ agent object.
OCI_EXPORT unsigned int OCI_API OCI_GetBindMode(OCI_Statement *stmt)
Return the binding mode of a SQL statement.
OCI_EXPORT big_int OCI_API OCI_ObjectGetBigInt(OCI_Object *obj, const otext *attr)
Return the big integer value of the given object attribute.
OCI_EXPORT boolean OCI_API OCI_TimestampSysTimestamp(OCI_Timestamp *tmsp)
Stores the system current date and time as a timestamp value with time zone into the timestamp handle...
OCI_EXPORT OCI_Elem *OCI_API OCI_IterGetPrev(OCI_Iter *iter)
Get the previous element in the collection.
OCI_EXPORT unsigned int OCI_API OCI_CollGetType(OCI_Coll *coll)
Return the collection type.
OCI_EXPORT boolean OCI_API OCI_CollToText(OCI_Coll *coll, unsigned int *size, otext *str)
Convert a collection handle value to a string.
OCI_EXPORT boolean OCI_API OCI_SetSessionTag(OCI_Connection *con, const otext *tag)
Associate a tag to the given connection/session.
OCI_EXPORT boolean OCI_API OCI_BindIsNullAtPos(OCI_Bind *bnd, unsigned int position)
Check if the current entry value at the given index of the binded array is marked as NULL...
OCI_EXPORT boolean OCI_API OCI_MsgSetExpiration(OCI_Msg *msg, int value)
set the duration that the message is available for dequeuing
OCI_EXPORT unsigned int OCI_API OCI_TimestampGetType(OCI_Timestamp *tmsp)
Return the type of the given Timestamp object.
OCI_EXPORT boolean OCI_API OCI_IntervalFromText(OCI_Interval *itv, const otext *str)
Convert a string to an interval and store it in the given interval handle.
OCI_EXPORT OCI_Timestamp *OCI_API OCI_TimestampCreate(OCI_Connection *con, unsigned int type)
Create a local Timestamp instance.
OCI_EXPORT boolean OCI_API OCI_ObjectSetInterval(OCI_Object *obj, const otext *attr, OCI_Interval *value)
Set an object attribute of type Interval.
OCI_EXPORT boolean OCI_API OCI_SetStatementCacheSize(OCI_Connection *con, unsigned int value)
Set the maximum number of statements to keep in the statement cache.
OCI_EXPORT unsigned int OCI_API OCI_LongGetType(OCI_Long *lg)
Return the type of the given Long object.
OCI_EXPORT OCI_Thread *OCI_API OCI_ThreadCreate(void)
Create a Thread object.
OCI_EXPORT unsigned int OCI_API OCI_TypeInfoGetColumnCount(OCI_TypeInfo *typinf)
Retruns the number of columns of a table/view/object.
OCI_EXPORT boolean OCI_API OCI_ObjectSetFloat(OCI_Object *obj, const otext *attr, float value)
Set an object attribute of type float.
OCI_EXPORT OCI_Coll *OCI_API OCI_ObjectGetColl(OCI_Object *obj, const otext *attr)
Return the collection value of the given object attribute.
OCI_EXPORT boolean OCI_API OCI_SetLongMode(OCI_Statement *stmt, unsigned int mode)
Set the long datatype handling mode of a SQL statement.
OCI_EXPORT boolean OCI_API OCI_AgentFree(OCI_Agent *agent)
Free an AQ agent object.
OCI_EXPORT OCI_Long *OCI_API OCI_GetLong2(OCI_Resultset *rs, const otext *name)
Return the current Long value of the column from its name in the resultset.
OCI_EXPORT int OCI_API OCI_IntervalCheck(OCI_Interval *itv)
Check if the given interval is valid.
OCI_EXPORT OCI_Connection *OCI_API OCI_StatementGetConnection(OCI_Statement *stmt)
Return the connection handle associated with a statement handle.
OCI_EXPORT boolean OCI_API OCI_QueueTableDrop(OCI_Connection *con, const otext *queue_table, boolean force)
Drop the given queue table.
OCI_EXPORT OCI_Timestamp *OCI_API OCI_GetTimestamp(OCI_Resultset *rs, unsigned int index)
Return the current timestamp value of the column at the given index in the resultset.
OCI_EXPORT boolean OCI_API OCI_BindLong(OCI_Statement *stmt, const otext *name, OCI_Long *data, unsigned int size)
Bind a Long variable.
OCI_EXPORT unsigned int OCI_API OCI_GetBindCount(OCI_Statement *stmt)
Return the number of binds currently associated to a statement.
OCI_EXPORT OCI_Agent *OCI_API OCI_DequeueListen(OCI_Dequeue *dequeue, int timeout)
Listen for messages that match any recipient of the associated Agent list.
OCI_EXPORT boolean OCI_API OCI_MsgSetPriority(OCI_Msg *msg, int value)
Set the priority of the message.
OCI_EXPORT int OCI_API OCI_MsgGetEnqueueDelay(OCI_Msg *msg)
Return the number of seconds that a message is delayed for dequeuing.
OCI_EXPORT OCI_TypeInfo *OCI_API OCI_ColumnGetTypeInfo(OCI_Column *col)
Return the type information object associated to the column.
OCI_EXPORT unsigned int OCI_API OCI_PoolGetTimeout(OCI_Pool *pool)
Get the idle timeout for connections/sessions in the pool.
OCI_EXPORT boolean OCI_API OCI_RegisterTimestamp(OCI_Statement *stmt, const otext *name, unsigned int type)
Register a timestamp output bind placeholder.
OCI_EXPORT OCI_File *OCI_API OCI_ObjectGetFile(OCI_Object *obj, const otext *attr)
Return the file value of the given object attribute.
Oracle External Large objects:
OCI_EXPORT OCI_Interval *OCI_API OCI_ObjectGetInterval(OCI_Object *obj, const otext *attr)
Return the interval value of the given object attribute.
OCI_EXPORT boolean OCI_API OCI_IntervalFree(OCI_Interval *itv)
Free an OCI_Interval handle.
OCI_EXPORT boolean OCI_API OCI_DirPathSave(OCI_DirPath *dp)
Execute a data savepoint (server side)
OCI_EXPORT boolean OCI_API OCI_BindSetNotNull(OCI_Bind *bnd)
Set the bind variable to NOT null.
OCI_EXPORT boolean OCI_API OCI_MsgSetEnqueueDelay(OCI_Msg *msg, int value)
set the number of seconds to delay the enqueued message
Oracle Internal Large objects:
OCI_EXPORT boolean OCI_API OCI_DateGetDate(OCI_Date *date, int *year, int *month, int *day)
Extract the date part from a date handle.
OCI_EXPORT boolean OCI_API OCI_TimestampFromCTime(OCI_Timestamp *tmsp, struct tm *ptm, time_t t)
Affect ISO C time datatypes values to an OCI_Timestamp handle.
OCI_EXPORT unsigned int OCI_API OCI_ColumnGetSize(OCI_Column *col)
Return the size of the column.
OCILIB encapsulation of OCI Direct Path handle.
OCI_EXPORT boolean OCI_API OCI_TransactionStart(OCI_Transaction *trans)
Start global transaction.
OCI_EXPORT unsigned int OCI_API OCI_GetColumnIndex(OCI_Resultset *rs, const otext *name)
Return the index of the column in the result from its name.
OCI_EXPORT boolean OCI_API OCI_BindColl(OCI_Statement *stmt, const otext *name, OCI_Coll *data)
Bind a Collection variable.
OCI_EXPORT unsigned int OCI_API OCI_LongWrite(OCI_Long *lg, void *buffer, unsigned int len)
Write a buffer into a Long.
OCI_EXPORT boolean OCI_API OCI_QueueDrop(OCI_Connection *con, const otext *queue_name)
Drop the given queue.
OCI_EXPORT int OCI_API OCI_ColumnGetPrecision(OCI_Column *col)
Return the precision of the column for numeric columns.
OCI_EXPORT const otext *OCI_API OCI_GetServerName(OCI_Connection *con)
Return the Oracle server machine name of the connected database/service name.
OCI_EXPORT boolean OCI_API OCI_DequeueUnsubscribe(OCI_Dequeue *dequeue)
Unsubscribe for asynchronous messages notifications.
OCI_EXPORT boolean OCI_API OCI_TransactionStop(OCI_Transaction *trans)
Stop current global transaction.
OCI_EXPORT const void *OCI_API OCI_HandleGetFile(OCI_File *file)
Return the OCI LobLocator Handle (OCILobLocator *) of an OCILIB OCI_File object.
OCI_EXPORT unsigned int OCI_API OCI_DirPathGetCurrentRows(OCI_DirPath *dp)
Return the current number of rows used in the OCILIB internal arrays of rows.
OCI_EXPORT boolean OCI_API OCI_MsgSetCorrelation(OCI_Msg *msg, const otext *correlation)
set the correlation identifier of the message
OCI_EXPORT unsigned int OCI_API OCI_ErrorGetRow(OCI_Error *err)
Return the row index which caused an error during statement execution.
OCI_EXPORT boolean OCI_API OCI_ElemFree(OCI_Elem *elem)
Free a local collection element.
OCI_EXPORT const otext *OCI_API OCI_AgentGetName(OCI_Agent *agent)
Get the given AQ agent name.
OCI_EXPORT OCI_DirPath *OCI_API OCI_DirPathCreate(OCI_TypeInfo *typinf, const otext *partition, unsigned int nb_cols, unsigned int nb_rows)
Create a direct path object.
OCI_EXPORT boolean OCI_API OCI_LobSeek(OCI_Lob *lob, big_uint offset, unsigned int mode)
Perform a seek operation on the OCI_lob content buffer.
OCI_EXPORT boolean OCI_API OCI_BindArrayOfObjects(OCI_Statement *stmt, const otext *name, OCI_Object **data, OCI_TypeInfo *typinf, unsigned int nbelem)
Bind an array of object handles.
OCI_EXPORT boolean OCI_API OCI_DirPathFlushRow(OCI_DirPath *dp)
Flushes a partially loaded row from server.
OCI_EXPORT boolean OCI_API OCI_ElemSetTimestamp(OCI_Elem *elem, OCI_Timestamp *value)
Assign a Timestamp handle to a collection element.
OCI_EXPORT boolean OCI_API OCI_Initialize(POCI_ERROR err_handler, const otext *lib_path, unsigned int mode)
Initialize the library.
OCI_EXPORT const otext *OCI_API OCI_GetSql(OCI_Statement *stmt)
Return the last SQL or PL/SQL statement prepared or executed by the statement.
OCI_EXPORT OCI_Coll *OCI_API OCI_GetColl2(OCI_Resultset *rs, const otext *name)
Return the current Collection value of the column from its name in the resultset. ...
OCI_EXPORT boolean OCI_API OCI_ObjectSetString(OCI_Object *obj, const otext *attr, const otext *value)
Set an object attribute of type string.
OCI_EXPORT big_uint OCI_API OCI_ElemGetUnsignedBigInt(OCI_Elem *elem)
Return the unsigned big int value of the given collection element.
OCI_EXPORT unsigned int OCI_API OCI_PoolGetMin(OCI_Pool *pool)
Return the minimum number of connections/sessions that can be opened to the database.
OCI_EXPORT OCI_Timestamp **OCI_API OCI_TimestampArrayCreate(OCI_Connection *con, unsigned int type, unsigned int nbelem)
Create an array of timestamp object.
OCI_EXPORT boolean OCI_API OCI_FileArrayFree(OCI_File **files)
Free an array of file objects.
OCI_EXPORT int OCI_API OCI_HashGetInt(OCI_HashTable *table, const otext *key)
Return the integer value associated to the given key.
OCI_EXPORT int OCI_API OCI_MsgGetAttemptCount(OCI_Msg *msg)
Return the number of attempts that have been made to dequeue the message.
OCI_EXPORT boolean OCI_API OCI_ElemSetShort(OCI_Elem *elem, short value)
Set a short value to a collection element.
Collection of output columns from a select statement.
OCI_EXPORT unsigned int OCI_API OCI_BindGetDataCount(OCI_Bind *bnd)
Return the number of elements of the bind handle.
OCI_EXPORT OCI_Mutex *OCI_API OCI_MutexCreate(void)
Create a Mutex object.
OCI_EXPORT OCI_Long *OCI_API OCI_LongCreate(OCI_Statement *stmt, unsigned int type)
Create a local temporary Long instance.
OCI_EXPORT boolean OCI_API OCI_IntervalAssign(OCI_Interval *itv, OCI_Interval *itv_src)
Assign the value of a interval handle to another one.
OCI_EXPORT int OCI_API OCI_IntervalCompare(OCI_Interval *itv, OCI_Interval *itv2)
Compares two interval handles.
OCI_EXPORT boolean OCI_API OCI_BindArrayOfBigInts(OCI_Statement *stmt, const otext *name, big_int *data, unsigned int nbelem)
Bind an array of big integers.
OCI_EXPORT OCI_Timestamp *OCI_API OCI_ElemGetTimestamp(OCI_Elem *elem)
Return the Timestamp value of the given collection element.
OCI_EXPORT boolean OCI_API OCI_TimestampToCTime(OCI_Timestamp *tmsp, struct tm *ptm, time_t *pt)
Affect an OCI_Timestamp handle value to ISO C time data types.
OCI_EXPORT OCI_Elem *OCI_API OCI_IterGetNext(OCI_Iter *iter)
Get the next element in the collection.
OCI_EXPORT const otext *OCI_API OCI_GetDefaultFormatDate(OCI_Connection *con)
Return the current date format for implicit string / date conversions.
OCI_EXPORT unsigned int OCI_API OCI_GetDefaultLobPrefetchSize(OCI_Connection *con)
Return the default LOB prefetch buffer size for the connection.
OCI_EXPORT boolean OCI_API OCI_LobFree(OCI_Lob *lob)
Free a local temporary lob.
OCI_EXPORT unsigned int OCI_API OCI_ColumnGetType(OCI_Column *col)
Return the type of the given column.
Oracle SQL Column and Type member representation.
OCI_EXPORT OCI_Object *OCI_API OCI_GetObject(OCI_Resultset *rs, unsigned int index)
Return the current Object value of the column at the given index in the resultset.
OCI_EXPORT boolean OCI_API OCI_TimestampGetTimeZoneOffset(OCI_Timestamp *tmsp, int *hour, int *min)
Return the time zone (hour, minute) portion of a timestamp handle.
OCI_EXPORT boolean OCI_API OCI_BindSetNull(OCI_Bind *bnd)
Set the bind variable to null.
OCI_EXPORT boolean OCI_API OCI_IterFree(OCI_Iter *iter)
Free an iterator handle.
OCI_EXPORT boolean OCI_API OCI_EnqueuePut(OCI_Enqueue *enqueue, OCI_Msg *msg)
Enqueue a message on the queue associated to the Enqueue object.
OCI_EXPORT boolean OCI_API OCI_TransactionResume(OCI_Transaction *trans)
Resume a stopped global transaction.
OCI_EXPORT unsigned int OCI_API OCI_GetSqlErrorPos(OCI_Statement *stmt)
Return the error position (in terms of characters) in the SQL statement where the error occurred in c...
OCI_EXPORT boolean OCI_API OCI_QueueStop(OCI_Connection *con, const otext *queue_name, boolean enqueue, boolean dequeue, boolean wait)
Stop enqueuing or dequeuing or both on the given queue.
OCI_EXPORT boolean OCI_API OCI_LobAppendLob(OCI_Lob *lob, OCI_Lob *lob_src)
Append a source LOB at the end of a destination LOB.
OCI_EXPORT boolean OCI_API OCI_MsgSetExceptionQueue(OCI_Msg *msg, const otext *queue)
Set the name of the queue to which the message is moved to if it cannot be processed successfully...
OCI_EXPORT boolean OCI_API OCI_RegisterInterval(OCI_Statement *stmt, const otext *name, unsigned int type)
Register an interval output bind placeholder.
OCI_EXPORT unsigned int OCI_API OCI_HashGetType(OCI_HashTable *table)
Return the type of the hash table.
OCI_EXPORT boolean OCI_API OCI_Parse(OCI_Statement *stmt, const otext *sql)
Parse a SQL statement or PL/SQL block.
OCI_EXPORT boolean OCI_API OCI_IntervalSetYearMonth(OCI_Interval *itv, int year, int month)
Set the year / month portion if the given Interval handle.
OCI_EXPORT OCI_Statement *OCI_API OCI_ErrorGetStatement(OCI_Error *err)
Retrieve statement handle within the error occurred.
OCI_EXPORT const void *OCI_API OCI_HandleGetThread(OCI_Thread *thread)
Return OCI Thread handle (OCIThreadHandle *) of an OCILIB OCI_Thread object.
OCI_EXPORT boolean OCI_API OCI_SetFetchMode(OCI_Statement *stmt, unsigned int mode)
Set the fetch mode of a SQL statement.
OCI_EXPORT boolean OCI_API OCI_BindArrayOfColls(OCI_Statement *stmt, const otext *name, OCI_Coll **data, OCI_TypeInfo *typinf, unsigned int nbelem)
Bind an array of Collection handles.
OCI_EXPORT boolean OCI_API OCI_DirPathSetDateFormat(OCI_DirPath *dp, const otext *format)
Set the default date format string for input conversion.
OCI_EXPORT boolean OCI_API OCI_DateToCTime(OCI_Date *date, struct tm *ptm, time_t *pt)
Affect an OCI_Date handle value to ISO C time data types.
OCI_EXPORT boolean OCI_API OCI_DequeueSetRelativeMsgID(OCI_Dequeue *dequeue, const void *id, unsigned int len)
Set the message identifier of the message to be dequeued.
OCI_EXPORT boolean OCI_API OCI_RegisterRaw(OCI_Statement *stmt, const otext *name, unsigned int len)
Register an raw output bind placeholder.
OCI_EXPORT boolean OCI_API OCI_DirPathFinish(OCI_DirPath *dp)
Terminate a direct path operation and commit changes into the database.
OCI_EXPORT boolean OCI_API OCI_EnqueueFree(OCI_Enqueue *enqueue)
Free a Enqueue object.
OCI_EXPORT OCI_HashEntry *OCI_API OCI_HashLookup(OCI_HashTable *table, const otext *key, boolean create)
Lookup for an entry matching the key in the table.
OCI_EXPORT boolean OCI_API OCI_RefAssign(OCI_Ref *ref, OCI_Ref *ref_src)
Assign a Ref to another one.
OCI_EXPORT const otext *OCI_API OCI_GetTrace(OCI_Connection *con, unsigned int trace)
Get the current trace for the trace type from the given connection.
OCI_EXPORT OCI_Msg *OCI_API OCI_MsgCreate(OCI_TypeInfo *typinf)
Create a message object based on the given payload type.
OCI_EXPORT boolean OCI_API OCI_AgentSetAddress(OCI_Agent *agent, const otext *address)
Set the given AQ agent address.
OCI_EXPORT boolean OCI_API OCI_LobFlush(OCI_Lob *lob)
Flush Lob content to the server.
OCI_EXPORT OCI_Lob *OCI_API OCI_GetLob(OCI_Resultset *rs, unsigned int index)
Return the current lob value of the column at the given index in the resultset.
OCI_EXPORT boolean OCI_API OCI_BindUnsignedShort(OCI_Statement *stmt, const otext *name, unsigned short *data)
Bind an unsigned short variable.
OCI_EXPORT OCI_Subscription *OCI_API OCI_SubscriptionRegister(OCI_Connection *con, const otext *name, unsigned int type, POCI_NOTIFY handler, unsigned int port, unsigned int timeout)
Register a notification against the given database.
OCI_EXPORT OCI_Ref *OCI_API OCI_ElemGetRef(OCI_Elem *elem)
Return the Ref value of the given collection element.
OCI_EXPORT boolean OCI_API OCI_RegisterFloat(OCI_Statement *stmt, const otext *name)
Register a float output bind placeholder.
OCI_EXPORT OCI_Ref **OCI_API OCI_RefArrayCreate(OCI_Connection *con, OCI_TypeInfo *typinf, unsigned int nbelem)
Create an array of Ref object.
OCI_EXPORT boolean OCI_API OCI_ElemSetFloat(OCI_Elem *elem, float value)
Set a float value to a collection element.
OCI_EXPORT const void *OCI_API OCI_HandleGetTransaction(OCI_Transaction *trans)
Return the OCI Transaction Handle (OCITrans *) of an OCILIB OCI_Transaction object.
OCI_EXPORT unsigned int OCI_API OCI_ObjectGetRawSize(OCI_Object *obj, const otext *attr)
Return the raw attribute value size of the given object attribute into the given buffer.
OCI_EXPORT boolean OCI_API OCI_BindRef(OCI_Statement *stmt, const otext *name, OCI_Ref *data)
Bind a Ref variable.
OCI_EXPORT const void *OCI_API OCI_HandleGetDirPathColArray(OCI_DirPath *dp)
Return OCI DirectPath Column array handle (OCIDirPathColArray *) of an OCILIB OCI_DirPath object...
OCI_EXPORT boolean OCI_API OCI_FileIsEqual(OCI_File *file, OCI_File *file2)
Compare two file handle for equality.
OCI_EXPORT boolean OCI_API OCI_Cleanup(void)
Clean up all resources allocated by the library.
OCI_EXPORT const void *OCI_API OCI_HandleGetRef(OCI_Ref *ref)
Return OCI Ref Handle (OCIRef *) of an OCILIB OCI_Ref object.
OCI_EXPORT const void *OCI_API OCI_HandleGetInterval(OCI_Interval *itv)
Return OCI Interval Handle (OCIInterval *) of an OCILIB OCI_Interval object.
OCI_EXPORT unsigned int OCI_API OCI_BindGetType(OCI_Bind *bnd)
Return the OCILIB type of the given bind.
OCI_EXPORT OCI_Pool *OCI_API OCI_PoolCreate(const otext *db, const otext *user, const otext *pwd, unsigned int type, unsigned int mode, unsigned int min_con, unsigned int max_con, unsigned int incr_con)
Create an Oracle pool of connections or sessions.
OCI_EXPORT boolean OCI_API OCI_TimestampConvert(OCI_Timestamp *tmsp, OCI_Timestamp *tmsp_src)
Convert one timestamp value from one type to another.