OCILIB (C and C++ Driver for Oracle)  4.1.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-2015 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 1
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 defined(__cplusplus) && defined(_MSC_VER) && (_MSC_VER < 1300)
264 extern "C++" {
265 #endif
266 
267 #include <wchar.h>
268 
269 #if defined(__cplusplus) && defined(_MSC_VER) && (_MSC_VER < 1300)
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 
444 
456 
467 typedef struct OCI_Bind OCI_Bind;
468 
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 
558 
579 typedef struct OCI_Long OCI_Long;
580 
589 typedef struct OCI_Date OCI_Date;
590 
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 
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 
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 
974 typedef union OCI_Variant {
975  /* integers */
976  int num;
977 
978  /* raw data */
979  unsigned char *p_bytes;
980 
981  /* pointer to c natives types */
982  void *p_void;
983  int *p_int;
984  float *p_float;
985  double *p_double;
986  otext *p_text;
987 
988  /* ocilib object types */
989  OCI_Date *p_date;
990  OCI_Interval *p_interval;
991  OCI_Timestamp *p_timestamp;
992  OCI_Long *p_long;
993  OCI_Lob *p_lob;
994  OCI_File *p_file;
995  OCI_Statement *p_stmt;
996  OCI_Column *p_col;
997  OCI_Object *p_obj;
998  OCI_Coll *p_coll;
999  OCI_Iter *p_iter;
1000  OCI_Elem *p_elem;
1001 } OCI_Variant;
1002 
1013 typedef struct OCI_HashValue {
1014  OCI_Variant value;
1015  struct OCI_HashValue *next;
1016 } OCI_HashValue;
1017 
1026 typedef struct OCI_HashEntry {
1027  otext *key;
1028  struct OCI_HashValue *values;
1029  struct OCI_HashEntry *next;
1030 } OCI_HashEntry;
1031 
1041 /* check for long long support */
1042 
1043 #if defined(_LONGLONG) || defined(LONG_LONG_MAX) || defined(LLONG_MAX) || defined(__LONG_LONG_MAX__)
1044 
1045 /* C99 long long supported */
1046 
1047 typedef long long big_int;
1048 typedef unsigned long long big_uint;
1049 
1050  #define OCI_BIG_UINT_ENABLED
1051 
1052 #elif defined(_WINDOWS)
1053 
1054 /* Microsoft extension supported */
1055 
1056 typedef __int64 big_int;
1057 typedef unsigned __int64 big_uint;
1058 
1059  #define OCI_BIG_UINT_ENABLED
1060 
1061 #else
1062 
1063 typedef int big_int;
1064 typedef unsigned int big_uint;
1065 
1066 #endif
1067 
1072 /* boolean values */
1073 
1074 #ifndef TRUE
1075  #define TRUE 1
1076  #define FALSE 0
1077 #endif
1078 
1079 #ifndef boolean
1080  #define boolean int
1081 #endif
1082 
1083 /* oracle OCI key versions*/
1084 
1085 #define OCI_8_0 800
1086 #define OCI_8_1 810
1087 #define OCI_9_0 900
1088 #define OCI_9_2 920
1089 #define OCI_10_1 1010
1090 #define OCI_10_2 1020
1091 #define OCI_11_1 1110
1092 #define OCI_11_2 1120
1093 #define OCI_12_1 1210
1094 
1095 /* versions extract macros */
1096 
1097 #define OCI_VER_MAJ(v) (unsigned int) (v/100)
1098 #define OCI_VER_MIN(v) (unsigned int) ((v/10) - ((v/100)*10))
1099 #define OCI_VER_REV(v) (unsigned int) ((v) - ((v/10)*10))
1100 
1101 /* OCILIB Error types */
1102 
1103 #define OCI_ERR_ORACLE 1
1104 #define OCI_ERR_OCILIB 2
1105 #define OCI_ERR_WARNING 3
1106 
1107 /* OCILIB Error codes */
1108 
1109 #define OCI_ERR_NONE 0
1110 #define OCI_ERR_NOT_INITIALIZED 1
1111 #define OCI_ERR_LOADING_SHARED_LIB 2
1112 #define OCI_ERR_LOADING_SYMBOLS 3
1113 #define OCI_ERR_MULTITHREADED 4
1114 #define OCI_ERR_MEMORY 5
1115 #define OCI_ERR_NOT_AVAILABLE 6
1116 #define OCI_ERR_NULL_POINTER 7
1117 #define OCI_ERR_DATATYPE_NOT_SUPPORTED 8
1118 #define OCI_ERR_PARSE_TOKEN 9
1119 #define OCI_ERR_MAP_ARGUMENT 10
1120 #define OCI_ERR_OUT_OF_BOUNDS 11
1121 #define OCI_ERR_UNFREED_DATA 12
1122 #define OCI_ERR_MAX_BIND 13
1123 #define OCI_ERR_ATTR_NOT_FOUND 14
1124 #define OCI_ERR_MIN_VALUE 15
1125 #define OCI_ERR_NOT_COMPATIBLE 16
1126 #define OCI_ERR_STMT_STATE 17
1127 #define OCI_ERR_STMT_NOT_SCROLLABLE 18
1128 #define OCI_ERR_BIND_ALREADY_USED 19
1129 #define OCI_ERR_BIND_ARRAY_SIZE 20
1130 #define OCI_ERR_COLUMN_NOT_FOUND 21
1131 #define OCI_ERR_DIRPATH_STATE 22
1132 #define OCI_ERR_CREATE_OCI_ENVIRONMENT 23
1133 #define OCI_ERR_REBIND_BAD_DATATYPE 24
1134 #define OCI_ERR_TYPEINFO_DATATYPE 25
1135 #define OCI_ERR_ITEM_NOT_FOUND 26
1136 #define OCI_ERR_ARG_INVALID_VALUE 27
1137 
1138 #define OCI_ERR_COUNT 28
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 /* format types */
1509 
1510 #define OCI_FMT_DATE 1
1511 #define OCI_FMT_TIMESTAMP 2
1512 #define OCI_FMT_NUMERIC 3
1513 #define OCI_FMT_BINARY_DOUBLE 4
1514 #define OCI_FMT_BINARY_FLOAT 5
1515 
1516 /* sql function codes */
1517 
1518 #define OCI_SFC_CREATE_TABLE 1
1519 #define OCI_SFC_SET_ROLE 2
1520 #define OCI_SFC_INSERT 3
1521 #define OCI_SFC_SELECT 4
1522 #define OCI_SFC_UPDATE 5
1523 #define OCI_SFC_DROP_ROLE 6
1524 #define OCI_SFC_DROP_VIEW 7
1525 #define OCI_SFC_DROP_TABLE 8
1526 #define OCI_SFC_DELETE 9
1527 #define OCI_SFC_CREATE_VIEW 10
1528 #define OCI_SFC_DROP_USER 11
1529 #define OCI_SFC_CREATE_ROLE 12
1530 #define OCI_SFC_CREATE_SEQUENCE 13
1531 #define OCI_SFC_ALTER_SEQUENCE 14
1532 
1533 #define OCI_SFC_DROP_SEQUENCE 16
1534 #define OCI_SFC_CREATE_SCHEMA 17
1535 #define OCI_SFC_CREATE_CLUSTER 18
1536 #define OCI_SFC_CREATE_USER 19
1537 #define OCI_SFC_CREATE_INDEX 20
1538 #define OCI_SFC_DROP_INDEX 21
1539 #define OCI_SFC_DROP_CLUSTER 22
1540 #define OCI_SFC_VALIDATE_INDEX 23
1541 #define OCI_SFC_CREATE_PROCEDURE 24
1542 #define OCI_SFC_ALTER_PROCEDURE 25
1543 #define OCI_SFC_ALTER_TABLE 26
1544 #define OCI_SFC_EXPLAIN 27
1545 #define OCI_SFC_GRANT 28
1546 #define OCI_SFC_REVOKE 29
1547 #define OCI_SFC_CREATE_SYNONYM 30
1548 #define OCI_SFC_DROP_SYNONYM 31
1549 #define OCI_SFC_ALTER_SYSTEM_SWITCHLOG 32
1550 #define OCI_SFC_SET_TRANSACTION 33
1551 #define OCI_SFC_PLSQL_EXECUTE 34
1552 #define OCI_SFC_LOCK 35
1553 #define OCI_SFC_NOOP 36
1554 #define OCI_SFC_RENAME 37
1555 #define OCI_SFC_COMMENT 38
1556 #define OCI_SFC_AUDIT 39
1557 #define OCI_SFC_NO_AUDIT 40
1558 #define OCI_SFC_ALTER_INDEX 41
1559 #define OCI_SFC_CREATE_EXTERNAL_DATABASE 42
1560 #define OCI_SFC_DROP_EXTERNALDATABASE 43
1561 #define OCI_SFC_CREATE_DATABASE 44
1562 #define OCI_SFC_ALTER_DATABASE 45
1563 #define OCI_SFC_CREATE_ROLLBACK_SEGMENT 46
1564 #define OCI_SFC_ALTER_ROLLBACK_SEGMENT 47
1565 #define OCI_SFC_DROP_ROLLBACK_SEGMENT 48
1566 #define OCI_SFC_CREATE_TABLESPACE 49
1567 #define OCI_SFC_ALTER_TABLESPACE 50
1568 #define OCI_SFC_DROP_TABLESPACE 51
1569 #define OCI_SFC_ALTER_SESSION 52
1570 #define OCI_SFC_ALTER_USER 53
1571 #define OCI_SFC_COMMIT_WORK 54
1572 #define OCI_SFC_ROLLBACK 55
1573 #define OCI_SFC_SAVEPOINT 56
1574 #define OCI_SFC_CREATE_CONTROL_FILE 57
1575 #define OCI_SFC_ALTER_TRACING 58
1576 #define OCI_SFC_CREATE_TRIGGER 59
1577 #define OCI_SFC_ALTER_TRIGGER 60
1578 #define OCI_SFC_DROP_TRIGGER 61
1579 #define OCI_SFC_ANALYZE_TABLE 62
1580 #define OCI_SFC_ANALYZE_INDEX 63
1581 #define OCI_SFC_ANALYZE_CLUSTER 64
1582 #define OCI_SFC_CREATE_PROFILE 65
1583 #define OCI_SFC_DROP_PROFILE 66
1584 #define OCI_SFC_ALTER_PROFILE 67
1585 #define OCI_SFC_DROP_PROCEDURE 68
1586 
1587 #define OCI_SFC_ALTER_RESOURCE_COST 70
1588 #define OCI_SFC_CREATE_SNAPSHOT_LOG 71
1589 #define OCI_SFC_ALTER_SNAPSHOT_LOG 72
1590 #define OCI_SFC_DROP_SNAPSHOT_LOG 73
1591 #define OCI_SFC_DROP_SUMMARY 73
1592 #define OCI_SFC_CREATE_SNAPSHOT 74
1593 #define OCI_SFC_ALTER_SNAPSHOT 75
1594 #define OCI_SFC_DROP_SNAPSHOT 76
1595 #define OCI_SFC_CREATE_TYPE 77
1596 #define OCI_SFC_DROP_TYPE 78
1597 #define OCI_SFC_ALTER_ROLE 79
1598 #define OCI_SFC_ALTER_TYPE 80
1599 #define OCI_SFC_CREATE_TYPE_BODY 81
1600 #define OCI_SFC_ALTER_TYPE_BODY 82
1601 #define OCI_SFC_DROP_TYPE_BODY 83
1602 #define OCI_SFC_DROP_LIBRARY 84
1603 #define OCI_SFC_TRUNCATE_TABLE 85
1604 #define OCI_SFC_TRUNCATE_CLUSTER 86
1605 #define OCI_SFC_CREATE_BITMAPFILE 87
1606 #define OCI_SFC_ALTER_VIEW 88
1607 #define OCI_SFC_DROP_BITMAPFILE 89
1608 #define OCI_SFC_SET_CONSTRAINTS 90
1609 #define OCI_SFC_CREATE_FUNCTION 91
1610 #define OCI_SFC_ALTER_FUNCTION 92
1611 #define OCI_SFC_DROP_FUNCTION 93
1612 #define OCI_SFC_CREATE_PACKAGE 94
1613 #define OCI_SFC_ALTER_PACKAGE 95
1614 #define OCI_SFC_DROP_PACKAGE 96
1615 #define OCI_SFC_CREATE_PACKAGE_BODY 97
1616 #define OCI_SFC_ALTER_PACKAGE_BODY 98
1617 #define OCI_SFC_DROP_PACKAGE_BODY 99
1618 #define OCI_SFC_CREATE_DIRECTORY 157
1619 #define OCI_SFC_DROP_DIRECTORY 158
1620 #define OCI_SFC_CREATE_LIBRARY 159
1621 #define OCI_SFC_CREATE_JAVA 160
1622 #define OCI_SFC_ALTER_JAVA 161
1623 #define OCI_SFC_DROP_JAVA 162
1624 #define OCI_SFC_CREATE_OPERATOR 163
1625 #define OCI_SFC_CREATE_INDEXTYPE 164
1626 #define OCI_SFC_DROP_INDEXTYPE 165
1627 #define OCI_SFC_ALTER_INDEXTYPE 166
1628 #define OCI_SFC_DROP_OPERATOR 167
1629 #define OCI_SFC_ASSOCIATE_STATISTICS 168
1630 #define OCI_SFC_DISASSOCIATE_STATISTICS 169
1631 #define OCI_SFC_CALL_METHOD 170
1632 #define OCI_SFC_CREATE_SUMMARY 171
1633 #define OCI_SFC_ALTER_SUMMARY 172
1634 #define OCI_SFC_CREATE_DIMENSION 174
1635 #define OCI_SFC_ALTER_DIMENSION 175
1636 #define OCI_SFC_DROP_DIMENSION 176
1637 #define OCI_SFC_CREATE_CONTEXT 177
1638 #define OCI_SFC_DROP_CONTEXT 178
1639 #define OCI_SFC_ALTER_OUTLINE 179
1640 #define OCI_SFC_CREATE_OUTLINE 180
1641 #define OCI_SFC_DROP_OUTLINE 181
1642 #define OCI_SFC_UPDATE_INDEXES 182
1643 #define OCI_SFC_ALTER_OPERATOR 183
1644 
1645 /* size constants */
1646 
1647 #define OCI_SIZE_FORMAT 64
1648 #define OCI_SIZE_BUFFER 512
1649 #define OCI_SIZE_LONG (64*1024)-1
1650 #define OCI_SIZE_DATE 45
1651 #define OCI_SIZE_TIMESTAMP 54
1652 #define OCI_SIZE_FORMAT_TODATE 14
1653 #define OCI_SIZE_NULL 4
1654 #define OCI_SIZE_PRECISION 10
1655 #define OCI_SIZE_ROWID 23
1656 #define OCI_SIZE_DIRECTORY 30
1657 #define OCI_SIZE_FILENAME 255
1658 #define OCI_SIZE_FORMAT_NUMS 40
1659 #define OCI_SIZE_FORMAT_NUML 65
1660 #define OCI_SIZE_OBJ_NAME 32
1661 
1662 #define OCI_HASH_DEFAULT_SIZE 256
1663 
1664 /* string constants */
1665 
1666 #define OCILIB_DRIVER_NAME OTEXT("OCILIB")
1667 #define OCI_STRING_NULL OTEXT("NULL")
1668 #define OCI_STRING_EMPTY OTEXT("")
1669 #define OCI_STRING_FORMAT_DATE OTEXT("YYYY-MM-DD")
1670 #define OCI_STRING_FORMAT_TIME OTEXT("HH24:MI:SS")
1671 #define OCI_STRING_FORMAT_DATETIME OTEXT("YYYY-MM-DD HH24:MI:SS")
1672 #define OCI_STRING_FORMAT_TIMESTAMP OTEXT("YYYY-MM-DD HH24:MI:SS:FF3")
1673 #define OCI_STRING_DEFAULT_PREC 3
1674 #define OCI_STRING_FORMAT_NUM \
1675  OTEXT("FM99999999999999999999999999999999999990.999999999999999999999999")
1676 #define OCI_STRING_FORMAT_NUM_BDOUBLE OTEXT("%lf")
1677 #define OCI_STRING_FORMAT_NUM_BFLOAT OTEXT("%f")
1678 
1679 #ifdef _WINDOWS
1680  #define OCI_CHAR_SLASH '\\'
1681 #else
1682  #define OCI_CHAR_SLASH '/'
1683 #endif
1684 
1744 OCI_EXPORT boolean OCI_API OCI_Initialize
1745 (
1746  POCI_ERROR err_handler,
1747  const otext *lib_path,
1748  unsigned int mode
1749 );
1750 
1766 OCI_EXPORT boolean OCI_API OCI_Cleanup
1767 (
1768  void
1769 );
1770 
1782 OCI_EXPORT unsigned int OCI_API OCI_GetOCICompileVersion
1783 (
1784  void
1785 );
1786 
1799 OCI_EXPORT unsigned int OCI_API OCI_GetOCIRuntimeVersion
1800 (
1801  void
1802 );
1803 
1815 OCI_EXPORT unsigned int OCI_API OCI_GetImportMode
1816 (
1817  void
1818 );
1819 
1831 OCI_EXPORT unsigned int OCI_API OCI_GetCharset
1832 (
1833  void
1834 );
1835 
1847 OCI_EXPORT boolean OCI_API OCI_EnableWarnings
1848 (
1849  boolean value
1850 );
1851 
1863 OCI_EXPORT boolean OCI_API OCI_SetErrorHandler
1864 (
1865  POCI_ERROR handler
1866 );
1867 
1890 OCI_EXPORT boolean OCI_API OCI_SetHAHandler
1891 (
1892  POCI_HA_HANDLER handler
1893 );
1894 
1963 OCI_EXPORT OCI_Error * OCI_API OCI_GetLastError
1964 (
1965  void
1966 );
1967 
1976 OCI_EXPORT const otext * OCI_API OCI_ErrorGetString
1977 (
1978  OCI_Error *err
1979 );
1980 
1999 OCI_EXPORT unsigned int OCI_API OCI_ErrorGetType
2000 (
2001  OCI_Error *err
2002 );
2003 
2012 OCI_EXPORT int OCI_API OCI_ErrorGetOCICode
2013 (
2014  OCI_Error *err
2015 );
2016 
2025 OCI_EXPORT int OCI_API OCI_ErrorGetInternalCode
2026 (
2027  OCI_Error *err
2028 );
2029 
2038 OCI_EXPORT OCI_Connection * OCI_API OCI_ErrorGetConnection
2039 (
2040  OCI_Error *err
2041 );
2042 
2054 OCI_EXPORT OCI_Statement * OCI_API OCI_ErrorGetStatement
2055 (
2056  OCI_Error *err
2057 );
2058 
2074 OCI_EXPORT unsigned int OCI_API OCI_ErrorGetRow
2075 (
2076  OCI_Error *err
2077 );
2078 
2156 OCI_EXPORT OCI_Connection * OCI_API OCI_ConnectionCreate
2157 (
2158  const otext *db,
2159  const otext *user,
2160  const otext *pwd,
2161  unsigned int mode
2162 );
2163 
2175 OCI_EXPORT boolean OCI_API OCI_ConnectionFree
2176 (
2177  OCI_Connection *con
2178 );
2179 
2188 OCI_EXPORT boolean OCI_API OCI_IsConnected
2189 (
2190  OCI_Connection *con
2191 );
2192 
2201 OCI_EXPORT void * OCI_API OCI_GetUserData
2202 (
2203  OCI_Connection *con
2204 );
2205 
2218 OCI_EXPORT boolean OCI_API OCI_SetUserData
2219 (
2220  OCI_Connection *con,
2221  void *data
2222 );
2223 
2247 OCI_EXPORT boolean OCI_API OCI_SetSessionTag
2248 (
2249  OCI_Connection *con,
2250  const otext *tag
2251 );
2252 
2261 OCI_EXPORT const otext * OCI_API OCI_GetSessionTag
2262 (
2263  OCI_Connection *con
2264 );
2265 
2274 OCI_EXPORT const otext * OCI_API OCI_GetDatabase
2275 (
2276  OCI_Connection *con
2277 );
2278 
2287 OCI_EXPORT const otext * OCI_API OCI_GetUserName
2288 (
2289  OCI_Connection *con
2290 );
2291 
2300 OCI_EXPORT const otext * OCI_API OCI_GetPassword
2301 (
2302  OCI_Connection *con
2303 );
2304 
2317 OCI_EXPORT boolean OCI_API OCI_SetPassword
2318 (
2319  OCI_Connection *con,
2320  const otext *password
2321 );
2322 
2337 OCI_EXPORT boolean OCI_API OCI_SetUserPassword
2338 (
2339  const otext *db,
2340  const otext *user,
2341  const otext *pwd,
2342  const otext *new_pwd
2343 );
2344 
2356 OCI_EXPORT unsigned int OCI_API OCI_GetSessionMode
2357 (
2358  OCI_Connection *con
2359 );
2360 
2369 OCI_EXPORT const otext * OCI_API OCI_GetVersionServer
2370 (
2371  OCI_Connection *con
2372 );
2373 
2385 OCI_EXPORT unsigned int OCI_API OCI_GetServerMajorVersion
2386 (
2387  OCI_Connection *con
2388 );
2389 
2401 OCI_EXPORT unsigned int OCI_API OCI_GetServerMinorVersion
2402 (
2403  OCI_Connection *con
2404 );
2405 
2417 OCI_EXPORT unsigned int OCI_API OCI_GetServerRevisionVersion
2418 (
2419  OCI_Connection *con
2420 );
2421 
2464 OCI_EXPORT boolean OCI_API OCI_SetFormat
2465 (
2466  OCI_Connection *con,
2467  unsigned int type,
2468  const otext *format
2469 );
2470 
2483 OCI_EXPORT const otext * OCI_API OCI_GetFormat
2484 (
2485  OCI_Connection *con,
2486  unsigned int type
2487 );
2488 
2500 OCI_EXPORT OCI_Transaction * OCI_API OCI_GetTransaction
2501 (
2502  OCI_Connection *con
2503 );
2504 
2521 OCI_EXPORT boolean OCI_API OCI_SetTransaction
2522 (
2523  OCI_Connection *con,
2524  OCI_Transaction *trans
2525 );
2526 
2552 OCI_EXPORT unsigned int OCI_API OCI_GetVersionConnection
2553 (
2554  OCI_Connection *con
2555 );
2556 
2601 OCI_EXPORT boolean OCI_API OCI_SetTrace
2602 (
2603  OCI_Connection *con,
2604  unsigned int trace,
2605  const otext *value
2606 );
2607 
2620 OCI_EXPORT const otext * OCI_API OCI_GetTrace
2621 (
2622  OCI_Connection *con,
2623  unsigned int trace
2624 );
2625 
2641 OCI_EXPORT boolean OCI_API OCI_Ping
2642 (
2643  OCI_Connection *con
2644 );
2645 
2658 OCI_EXPORT const otext * OCI_API OCI_GetDBName
2659 (
2660  OCI_Connection *con
2661 );
2662 
2675 OCI_EXPORT const otext * OCI_API OCI_GetInstanceName
2676 (
2677  OCI_Connection *con
2678 );
2679 
2680 
2693 OCI_EXPORT const otext * OCI_API OCI_GetServiceName
2694 (
2695  OCI_Connection *con
2696 );
2697 
2698 
2711 OCI_EXPORT const otext * OCI_API OCI_GetServerName
2712 (
2713  OCI_Connection *con
2714 );
2715 
2716 
2729 OCI_EXPORT const otext * OCI_API OCI_GetDomainName
2730 (
2731  OCI_Connection *con
2732 );
2733 
2734 
2748 OCI_EXPORT OCI_Timestamp * OCI_API OCI_GetInstanceStartTime
2749 (
2750  OCI_Connection *con
2751 );
2752 
2768 OCI_EXPORT boolean OCI_API OCI_IsTAFCapable
2769 (
2770  OCI_Connection *con
2771 );
2772 
2792 OCI_EXPORT boolean OCI_API OCI_SetTAFHandler
2793 (
2794  OCI_Connection *con,
2795  POCI_TAF_HANDLER handler
2796 );
2797 
2812 OCI_EXPORT unsigned int OCI_API OCI_GetStatementCacheSize
2813 (
2814  OCI_Connection *con
2815 );
2816 
2832 OCI_EXPORT boolean OCI_API OCI_SetStatementCacheSize
2833 (
2834  OCI_Connection *con,
2835  unsigned int value
2836 );
2837 
2857 OCI_EXPORT unsigned int OCI_API OCI_GetDefaultLobPrefetchSize
2858 (
2859  OCI_Connection *con
2860 );
2861 
2891 OCI_EXPORT boolean OCI_API OCI_SetDefaultLobPrefetchSize
2892 (
2893  OCI_Connection *con,
2894  unsigned int value
2895 );
2896 
2987 OCI_EXPORT OCI_Pool * OCI_API OCI_PoolCreate
2988 (
2989  const otext *db,
2990  const otext *user,
2991  const otext *pwd,
2992  unsigned int type,
2993  unsigned int mode,
2994  unsigned int min_con,
2995  unsigned int max_con,
2996  unsigned int incr_con
2997 );
2998 
3010 OCI_EXPORT boolean OCI_API OCI_PoolFree
3011 (
3012  OCI_Pool *pool
3013 );
3014 
3047 OCI_EXPORT OCI_Connection * OCI_API OCI_PoolGetConnection
3048 (
3049  OCI_Pool *pool,
3050  const otext *tag
3051 );
3052 
3067 OCI_EXPORT unsigned int OCI_API OCI_PoolGetTimeout
3068 (
3069  OCI_Pool *pool
3070 );
3071 
3087 OCI_EXPORT boolean OCI_API OCI_PoolSetTimeout
3088 (
3089  OCI_Pool *pool,
3090  unsigned int value
3091 );
3092 
3106 OCI_EXPORT boolean OCI_API OCI_PoolGetNoWait
3107 (
3108  OCI_Pool *pool
3109 );
3110 
3126 OCI_EXPORT boolean OCI_API OCI_PoolSetNoWait
3127 (
3128  OCI_Pool *pool,
3129  boolean value
3130 );
3131 
3140 OCI_EXPORT unsigned int OCI_API OCI_PoolGetBusyCount
3141 (
3142  OCI_Pool *pool
3143 );
3144 
3153 OCI_EXPORT unsigned int OCI_API OCI_PoolGetOpenedCount
3154 (
3155  OCI_Pool *pool
3156 );
3157 
3166 OCI_EXPORT unsigned int OCI_API OCI_PoolGetMin
3167 (
3168  OCI_Pool *pool
3169 );
3170 
3179 OCI_EXPORT unsigned int OCI_API OCI_PoolGetMax
3180 (
3181  OCI_Pool *pool
3182 );
3183 
3193 OCI_EXPORT unsigned int OCI_API OCI_PoolGetIncrement
3194 (
3195  OCI_Pool *pool
3196 );
3197 
3209 OCI_EXPORT unsigned int OCI_API OCI_PoolGetStatementCacheSize
3210 (
3211  OCI_Pool *pool
3212 );
3213 
3226 OCI_EXPORT boolean OCI_API OCI_PoolSetStatementCacheSize
3227 (
3228  OCI_Pool *pool,
3229  unsigned int value
3230 );
3231 
3279 OCI_EXPORT boolean OCI_API OCI_Commit
3280 (
3281  OCI_Connection *con
3282 );
3283 
3295 OCI_EXPORT boolean OCI_API OCI_Rollback
3296 (
3297  OCI_Connection *con
3298 );
3299 
3314 OCI_EXPORT boolean OCI_API OCI_SetAutoCommit
3315 (
3316  OCI_Connection *con,
3317  boolean enable
3318 );
3319 
3331 OCI_EXPORT boolean OCI_API OCI_GetAutoCommit
3332 (
3333  OCI_Connection *con
3334 );
3335 
3366 OCI_EXPORT OCI_Transaction * OCI_API OCI_TransactionCreate
3367 (
3368  OCI_Connection *con,
3369  unsigned int timeout,
3370  unsigned int mode,
3371  OCI_XID *pxid
3372 );
3373 
3385 OCI_EXPORT boolean OCI_API OCI_TransactionFree
3386 (
3387  OCI_Transaction *trans
3388 );
3389 
3401 OCI_EXPORT boolean OCI_API OCI_TransactionStart
3402 (
3403  OCI_Transaction *trans
3404 );
3405 
3417 OCI_EXPORT boolean OCI_API OCI_TransactionStop
3418 (
3419  OCI_Transaction *trans
3420 );
3421 
3432 OCI_EXPORT boolean OCI_API OCI_TransactionResume
3433 (
3434  OCI_Transaction *trans
3435 );
3436 
3448 OCI_EXPORT boolean OCI_API OCI_TransactionPrepare
3449 (
3450  OCI_Transaction *trans
3451 );
3452 
3464 OCI_EXPORT boolean OCI_API OCI_TransactionForget
3465 (
3466  OCI_Transaction *trans
3467 );
3468 
3483 OCI_EXPORT unsigned int OCI_API OCI_TransactionGetMode
3484 (
3485  OCI_Transaction *trans
3486 );
3487 
3499 OCI_EXPORT unsigned int OCI_API OCI_TransactionGetTimeout
3500 (
3501  OCI_Transaction *trans
3502 );
3503 
3557 OCI_EXPORT OCI_Statement * OCI_API OCI_StatementCreate
3558 (
3559  OCI_Connection *con
3560 );
3561 
3573 OCI_EXPORT boolean OCI_API OCI_StatementFree
3574 (
3575  OCI_Statement *stmt
3576 );
3577 
3592 OCI_EXPORT boolean OCI_API OCI_Prepare
3593 (
3594  OCI_Statement *stmt,
3595  const otext *sql
3596 );
3597 
3617 OCI_EXPORT boolean OCI_API OCI_Execute
3618 (
3619  OCI_Statement *stmt
3620 );
3621 
3642 OCI_EXPORT boolean OCI_API OCI_ExecuteStmt
3643 (
3644  OCI_Statement *stmt,
3645  const otext *sql
3646 );
3647 
3676 OCI_EXPORT boolean OCI_API OCI_Parse
3677 (
3678  OCI_Statement *stmt,
3679  const otext *sql
3680 );
3681 
3714 OCI_EXPORT boolean OCI_API OCI_Describe
3715 (
3716  OCI_Statement *stmt,
3717  const otext *sql
3718 );
3719 
3728 OCI_EXPORT const otext * OCI_API OCI_GetSql
3729 (
3730  OCI_Statement *stmt
3731 );
3732 
3745 OCI_EXPORT unsigned int OCI_API OCI_GetSqlErrorPos
3746 (
3747  OCI_Statement *stmt
3748 );
3749 
3766 OCI_EXPORT unsigned int OCI_API OCI_GetAffectedRows
3767 (
3768  OCI_Statement *stmt
3769 );
3770 
3785 OCI_EXPORT unsigned int OCI_API OCI_GetSQLCommand
3786 (
3787  OCI_Statement *stmt
3788 );
3789 
3807 OCI_EXPORT const otext * OCI_API OCI_GetSQLVerb
3808 (
3809  OCI_Statement *stmt
3810 );
3811 
3948 OCI_EXPORT boolean OCI_API OCI_BindArraySetSize
3949 (
3950  OCI_Statement *stmt,
3951  unsigned int size
3952 );
3953 
3965 OCI_EXPORT unsigned int OCI_API OCI_BindArrayGetSize
3966 (
3967  OCI_Statement *stmt
3968 );
3969 
3989 OCI_EXPORT boolean OCI_API OCI_AllowRebinding
3990 (
3991  OCI_Statement *stmt,
3992  boolean value
3993 );
3994 
4008 OCI_EXPORT boolean OCI_API OCI_IsRebindingAllowed
4009 (
4010  OCI_Statement *stmt
4011 );
4012 
4029 OCI_EXPORT boolean OCI_API OCI_BindShort
4030 (
4031  OCI_Statement *stmt,
4032  const otext *name,
4033  short *data
4034 );
4035 
4057 OCI_EXPORT boolean OCI_API OCI_BindArrayOfShorts
4058 (
4059  OCI_Statement *stmt,
4060  const otext *name,
4061  short *data,
4062  unsigned int nbelem
4063 );
4064 
4081 OCI_EXPORT boolean OCI_API OCI_BindUnsignedShort
4082 (
4083  OCI_Statement *stmt,
4084  const otext *name,
4085  unsigned short *data
4086 );
4087 
4109 OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedShorts
4110 (
4111  OCI_Statement *stmt,
4112  const otext *name,
4113  unsigned short *data,
4114  unsigned int nbelem
4115 );
4116 
4133 OCI_EXPORT boolean OCI_API OCI_BindInt
4134 (
4135  OCI_Statement *stmt,
4136  const otext *name,
4137  int *data
4138 );
4139 
4161 OCI_EXPORT boolean OCI_API OCI_BindArrayOfInts
4162 (
4163  OCI_Statement *stmt,
4164  const otext *name,
4165  int *data,
4166  unsigned int nbelem
4167 );
4168 
4185 OCI_EXPORT boolean OCI_API OCI_BindUnsignedInt
4186 (
4187  OCI_Statement *stmt,
4188  const otext *name,
4189  unsigned int *data
4190 );
4191 
4213 OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedInts
4214 (
4215  OCI_Statement *stmt,
4216  const otext *name,
4217  unsigned int *data,
4218  unsigned int nbelem
4219 );
4220 
4237 OCI_EXPORT boolean OCI_API OCI_BindBigInt
4238 (
4239  OCI_Statement *stmt,
4240  const otext *name,
4241  big_int *data
4242 );
4243 
4265 OCI_EXPORT boolean OCI_API OCI_BindArrayOfBigInts
4266 (
4267  OCI_Statement *stmt,
4268  const otext *name,
4269  big_int *data,
4270  unsigned int nbelem
4271 );
4272 
4289 OCI_EXPORT boolean OCI_API OCI_BindUnsignedBigInt
4290 (
4291  OCI_Statement *stmt,
4292  const otext *name,
4293  big_uint *data
4294 );
4295 
4317 OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedBigInts
4318 (
4319  OCI_Statement *stmt,
4320  const otext *name,
4321  big_uint *data,
4322  unsigned int nbelem
4323 );
4324 
4346 OCI_EXPORT boolean OCI_API OCI_BindString
4347 (
4348  OCI_Statement *stmt,
4349  const otext *name,
4350  otext *data,
4351  unsigned int len
4352 );
4353 
4380 OCI_EXPORT boolean OCI_API OCI_BindArrayOfStrings
4381 (
4382  OCI_Statement *stmt,
4383  const otext *name,
4384  otext *data,
4385  unsigned int len,
4386  unsigned int nbelem
4387 );
4388 
4409 OCI_EXPORT boolean OCI_API OCI_BindRaw
4410 (
4411  OCI_Statement *stmt,
4412  const otext *name,
4413  void *data,
4414  unsigned int len
4415 );
4416 
4445 OCI_EXPORT boolean OCI_API OCI_BindArrayOfRaws
4446 (
4447  OCI_Statement *stmt,
4448  const otext *name,
4449  void *data,
4450  unsigned int len,
4451  unsigned int nbelem
4452 );
4453 
4470 OCI_EXPORT boolean OCI_API OCI_BindDouble
4471 (
4472  OCI_Statement *stmt,
4473  const otext *name,
4474  double *data
4475 );
4476 
4498 OCI_EXPORT boolean OCI_API OCI_BindArrayOfDoubles
4499 (
4500  OCI_Statement *stmt,
4501  const otext *name,
4502  double *data,
4503  unsigned int nbelem
4504 );
4505 
4506 
4523 OCI_EXPORT boolean OCI_API OCI_BindFloat
4524 (
4525  OCI_Statement *stmt,
4526  const otext *name,
4527  float *data
4528 );
4529 
4551 OCI_EXPORT boolean OCI_API OCI_BindArrayOfFloats
4552 (
4553  OCI_Statement *stmt,
4554  const otext *name,
4555  float *data,
4556  unsigned int nbelem
4557 );
4558 
4575 OCI_EXPORT boolean OCI_API OCI_BindDate
4576 (
4577  OCI_Statement *stmt,
4578  const otext *name,
4579  OCI_Date *data
4580 );
4581 
4603 OCI_EXPORT boolean OCI_API OCI_BindArrayOfDates
4604 (
4605  OCI_Statement *stmt,
4606  const otext *name,
4607  OCI_Date **data,
4608  unsigned int nbelem
4609 );
4610 
4626 OCI_EXPORT boolean OCI_API OCI_BindTimestamp
4627 (
4628  OCI_Statement *stmt,
4629  const otext *name,
4630  OCI_Timestamp *data
4631 );
4632 
4658 OCI_EXPORT boolean OCI_API OCI_BindArrayOfTimestamps
4659 (
4660  OCI_Statement *stmt,
4661  const otext *name,
4662  OCI_Timestamp **data,
4663  unsigned int type,
4664  unsigned int nbelem
4665 );
4666 
4683 OCI_EXPORT boolean OCI_API OCI_BindInterval
4684 (
4685  OCI_Statement *stmt,
4686  const otext *name,
4687  OCI_Interval *data
4688 );
4689 
4716 OCI_EXPORT boolean OCI_API OCI_BindArrayOfIntervals
4717 (
4718  OCI_Statement *stmt,
4719  const otext *name,
4720  OCI_Interval **data,
4721  unsigned int type,
4722  unsigned int nbelem
4723 );
4724 
4740 OCI_EXPORT boolean OCI_API OCI_BindLob
4741 (
4742  OCI_Statement *stmt,
4743  const otext *name,
4744  OCI_Lob *data
4745 );
4746 
4772 OCI_EXPORT boolean OCI_API OCI_BindArrayOfLobs
4773 (
4774  OCI_Statement *stmt,
4775  const otext *name,
4776  OCI_Lob **data,
4777  unsigned int type,
4778  unsigned int nbelem
4779 );
4780 
4796 OCI_EXPORT boolean OCI_API OCI_BindFile
4797 (
4798  OCI_Statement *stmt,
4799  const otext *name,
4800  OCI_File *data
4801 );
4802 
4828 OCI_EXPORT boolean OCI_API OCI_BindArrayOfFiles
4829 (
4830  OCI_Statement *stmt,
4831  const otext *name,
4832  OCI_File **data,
4833  unsigned int type,
4834  unsigned int nbelem
4835 );
4836 
4853 OCI_EXPORT boolean OCI_API OCI_BindObject
4854 (
4855  OCI_Statement *stmt,
4856  const otext *name,
4857  OCI_Object *data
4858 );
4859 
4883 OCI_EXPORT boolean OCI_API OCI_BindArrayOfObjects
4884 (
4885  OCI_Statement *stmt,
4886  const otext *name,
4887  OCI_Object **data,
4888  OCI_TypeInfo *typinf,
4889  unsigned int nbelem
4890 );
4891 
4907 OCI_EXPORT boolean OCI_API OCI_BindColl
4908 (
4909  OCI_Statement *stmt,
4910  const otext *name,
4911  OCI_Coll *data
4912 );
4913 
4940 OCI_EXPORT boolean OCI_API OCI_BindArrayOfColls
4941 (
4942  OCI_Statement *stmt,
4943  const otext *name,
4944  OCI_Coll **data,
4945  OCI_TypeInfo *typinf,
4946  unsigned int nbelem
4947 );
4948 
4964 OCI_EXPORT boolean OCI_API OCI_BindRef
4965 (
4966  OCI_Statement *stmt,
4967  const otext *name,
4968  OCI_Ref *data
4969 );
4970 
4994 OCI_EXPORT boolean OCI_API OCI_BindArrayOfRefs
4995 (
4996  OCI_Statement *stmt,
4997  const otext *name,
4998  OCI_Ref **data,
4999  OCI_TypeInfo *typinf,
5000  unsigned int nbelem
5001 );
5002 
5018 OCI_EXPORT boolean OCI_API OCI_BindStatement
5019 (
5020  OCI_Statement *stmt,
5021  const otext *name,
5022  OCI_Statement *data
5023 );
5024 
5046 OCI_EXPORT boolean OCI_API OCI_BindLong
5047 (
5048  OCI_Statement *stmt,
5049  const otext *name,
5050  OCI_Long *data,
5051  unsigned int size
5052 );
5053 
5064 OCI_EXPORT OCI_Error * OCI_API OCI_GetBatchError
5065 (
5066  OCI_Statement *stmt
5067 );
5068 
5077 OCI_EXPORT unsigned int OCI_API OCI_GetBatchErrorCount
5078 (
5079  OCI_Statement *stmt
5080 );
5081 
5090 OCI_EXPORT unsigned int OCI_API OCI_GetBindCount
5091 (
5092  OCI_Statement *stmt
5093 );
5094 
5115 OCI_EXPORT OCI_Bind * OCI_API OCI_GetBind
5116 (
5117  OCI_Statement *stmt,
5118  unsigned int index
5119 );
5120 
5136 OCI_EXPORT OCI_Bind * OCI_API OCI_GetBind2
5137 (
5138  OCI_Statement *stmt,
5139  const otext *name
5140 );
5141 
5160 OCI_EXPORT unsigned int OCI_API OCI_GetBindIndex
5161 (
5162  OCI_Statement *stmt,
5163  const otext *name
5164 );
5165 
5174 OCI_EXPORT const otext * OCI_API OCI_BindGetName
5175 (
5176  OCI_Bind *bnd
5177 );
5178 
5179 
5201 OCI_EXPORT boolean OCI_API OCI_BindSetDirection
5202 (
5203  OCI_Bind *bnd,
5204  unsigned int direction
5205 );
5206 
5220 OCI_EXPORT unsigned int OCI_API OCI_BindGetDirection
5221 (
5222  OCI_Bind *bnd
5223 );
5224 
5253 OCI_EXPORT unsigned int OCI_API OCI_BindGetType
5254 (
5255  OCI_Bind *bnd
5256 );
5257 
5310 OCI_EXPORT unsigned int OCI_API OCI_BindGetSubtype
5311 (
5312  OCI_Bind *bnd
5313 );
5314 
5327 OCI_EXPORT unsigned int OCI_API OCI_BindGetDataCount
5328 (
5329  OCI_Bind *bnd
5330 );
5331 
5344 OCI_EXPORT void * OCI_API OCI_BindGetData
5345 (
5346  OCI_Bind *bnd
5347 );
5348 
5357 OCI_EXPORT OCI_Statement * OCI_API OCI_BindGetStatement
5358 (
5359  OCI_Bind *bnd
5360 );
5361 
5387 OCI_EXPORT boolean OCI_API OCI_BindSetDataSize
5388 (
5389  OCI_Bind *bnd,
5390  unsigned int size
5391 );
5392 
5419 OCI_EXPORT boolean OCI_API OCI_BindSetDataSizeAtPos
5420 (
5421  OCI_Bind *bnd,
5422  unsigned int position,
5423  unsigned int size
5424 );
5425 
5441 OCI_EXPORT unsigned int OCI_API OCI_BindGetDataSize
5442 (
5443  OCI_Bind *bnd
5444 );
5445 
5463 OCI_EXPORT unsigned int OCI_API OCI_BindGetDataSizeAtPos
5464 (
5465  OCI_Bind *bnd,
5466  unsigned int position
5467 );
5468 
5488 OCI_EXPORT boolean OCI_API OCI_BindSetNull
5489 (
5490  OCI_Bind *bnd
5491 );
5492 
5516 OCI_EXPORT boolean OCI_API OCI_BindSetNullAtPos
5517 (
5518  OCI_Bind *bnd,
5519  unsigned int position
5520 );
5521 
5541 OCI_EXPORT boolean OCI_API OCI_BindSetNotNull
5542 (
5543  OCI_Bind *bnd
5544 );
5545 
5569 OCI_EXPORT boolean OCI_API OCI_BindSetNotNullAtPos
5570 (
5571  OCI_Bind *bnd,
5572  unsigned int position
5573 );
5574 
5586 OCI_EXPORT boolean OCI_API OCI_BindIsNull
5587 (
5588  OCI_Bind *bnd
5589 );
5590 
5607 OCI_EXPORT boolean OCI_API OCI_BindIsNullAtPos
5608 (
5609  OCI_Bind *bnd,
5610  unsigned int position
5611 );
5612 
5639 boolean OCI_API OCI_BindSetCharsetForm
5640 (
5641  OCI_Bind *bnd,
5642  unsigned int csfrm
5643 );
5644 
5816 OCI_EXPORT OCI_Resultset * OCI_API OCI_GetResultset
5817 (
5818  OCI_Statement *stmt
5819 );
5820 
5841 OCI_EXPORT boolean OCI_API OCI_ReleaseResultsets
5842 (
5843  OCI_Statement *stmt
5844 );
5845 
5863 OCI_EXPORT boolean OCI_API OCI_FetchNext
5864 (
5865  OCI_Resultset *rs
5866 );
5867 
5885 OCI_EXPORT boolean OCI_API OCI_FetchPrev
5886 (
5887  OCI_Resultset *rs
5888 );
5889 
5906 OCI_EXPORT boolean OCI_API OCI_FetchFirst
5907 (
5908  OCI_Resultset *rs
5909 );
5910 
5927 OCI_EXPORT boolean OCI_API OCI_FetchLast
5928 (
5929  OCI_Resultset *rs
5930 );
5931 
5962 OCI_EXPORT boolean OCI_API OCI_FetchSeek
5963 (
5964  OCI_Resultset *rs,
5965  unsigned int mode,
5966  int offset
5967 );
5968 
5977 OCI_EXPORT unsigned int OCI_API OCI_GetRowCount
5978 (
5979  OCI_Resultset *rs
5980 );
5981 
5995 OCI_EXPORT unsigned int OCI_API OCI_GetCurrentRow
5996 (
5997  OCI_Resultset *rs
5998 );
5999 
6008 OCI_EXPORT unsigned int OCI_API OCI_GetColumnCount
6009 (
6010  OCI_Resultset *rs
6011 );
6012 
6026 OCI_EXPORT OCI_Column * OCI_API OCI_GetColumn
6027 (
6028  OCI_Resultset *rs,
6029  unsigned int index
6030 );
6031 
6048 OCI_EXPORT OCI_Column * OCI_API OCI_GetColumn2
6049 (
6050  OCI_Resultset *rs,
6051  const otext *name
6052 );
6053 
6072 OCI_EXPORT unsigned int OCI_API OCI_GetColumnIndex
6073 (
6074  OCI_Resultset *rs,
6075  const otext *name
6076 );
6077 
6086 OCI_EXPORT const otext * OCI_API OCI_ColumnGetName
6087 (
6088  OCI_Column *col
6089 );
6090 
6119 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetType
6120 (
6121  OCI_Column *col
6122 );
6123 
6138 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetCharsetForm
6139 (
6140  OCI_Column *col
6141 );
6142 
6154 OCI_EXPORT const otext * OCI_API OCI_ColumnGetSQLType
6155 (
6156  OCI_Column *col
6157 );
6158 
6176 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetFullSQLType
6177 (
6178  OCI_Column *col,
6179  otext *buffer,
6180  unsigned int len
6181 );
6182 
6195 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetSize
6196 (
6197  OCI_Column *col
6198 );
6199 
6208 OCI_EXPORT int OCI_API OCI_ColumnGetScale
6209 (
6210  OCI_Column *col
6211 );
6212 
6221 OCI_EXPORT int OCI_API OCI_ColumnGetPrecision
6222 (
6223  OCI_Column *col
6224 );
6225 
6234 OCI_EXPORT int OCI_API OCI_ColumnGetFractionalPrecision
6235 (
6236  OCI_Column *col
6237 );
6238 
6247 OCI_EXPORT int OCI_API OCI_ColumnGetLeadingPrecision
6248 (
6249  OCI_Column *col
6250 );
6251 
6263 OCI_EXPORT boolean OCI_API OCI_ColumnGetNullable
6264 (
6265  OCI_Column *col
6266 );
6267 
6281 OCI_EXPORT boolean OCI_API OCI_ColumnGetCharUsed
6282 (
6283  OCI_Column *col
6284 );
6285 
6310 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetPropertyFlags
6311 (
6312  OCI_Column *col
6313 );
6314 
6327 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_ColumnGetTypeInfo
6328 (
6329  OCI_Column *col
6330 );
6331 
6374 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetSubType
6375 (
6376  OCI_Column *col
6377 );
6378 
6404 OCI_EXPORT boolean OCI_API OCI_SetStructNumericType
6405 (
6406  OCI_Resultset *rs,
6407  unsigned int index,
6408  unsigned int type
6409 );
6410 
6436 OCI_EXPORT boolean OCI_API OCI_SetStructNumericType2
6437 (
6438  OCI_Resultset *rs,
6439  const otext *name,
6440  unsigned int type
6441 );
6442 
6494 OCI_EXPORT boolean OCI_API OCI_GetStruct
6495 (
6496  OCI_Resultset *rs,
6497  void *row_struct,
6498  void *row_struct_ind
6499 );
6500 
6516 OCI_EXPORT short OCI_API OCI_GetShort
6517 (
6518  OCI_Resultset *rs,
6519  unsigned int index
6520 );
6521 
6537 OCI_EXPORT short OCI_API OCI_GetShort2
6538 (
6539  OCI_Resultset *rs,
6540  const otext *name
6541 );
6542 
6558 OCI_EXPORT unsigned short OCI_API OCI_GetUnsignedShort
6559 (
6560  OCI_Resultset *rs,
6561  unsigned int index
6562 );
6563 
6579 OCI_EXPORT unsigned short OCI_API OCI_GetUnsignedShort2
6580 (
6581  OCI_Resultset *rs,
6582  const otext *name
6583 );
6584 
6600 OCI_EXPORT int OCI_API OCI_GetInt
6601 (
6602  OCI_Resultset *rs,
6603  unsigned int index
6604 );
6605 
6621 OCI_EXPORT int OCI_API OCI_GetInt2
6622 (
6623  OCI_Resultset *rs,
6624  const otext *name
6625 );
6626 
6642 OCI_EXPORT unsigned int OCI_API OCI_GetUnsignedInt
6643 (
6644  OCI_Resultset *rs,
6645  unsigned int index
6646 );
6647 
6663 OCI_EXPORT unsigned int OCI_API OCI_GetUnsignedInt2
6664 (
6665  OCI_Resultset *rs,
6666  const otext *name
6667 );
6668 
6684 OCI_EXPORT big_int OCI_API OCI_GetBigInt
6685 (
6686  OCI_Resultset *rs,
6687  unsigned int index
6688 );
6689 
6705 OCI_EXPORT big_int OCI_API OCI_GetBigInt2
6706 (
6707  OCI_Resultset *rs,
6708  const otext *name
6709 );
6710 
6726 OCI_EXPORT big_uint OCI_API OCI_GetUnsignedBigInt
6727 (
6728  OCI_Resultset *rs,
6729  unsigned int index
6730 );
6731 
6747 OCI_EXPORT big_uint OCI_API OCI_GetUnsignedBigInt2
6748 (
6749  OCI_Resultset *rs,
6750  const otext *name
6751 );
6752 
6787 OCI_EXPORT const otext * OCI_API OCI_GetString
6788 (
6789  OCI_Resultset *rs,
6790  unsigned int index
6791 );
6792 
6808 OCI_EXPORT const otext * OCI_API OCI_GetString2
6809 (
6810  OCI_Resultset *rs,
6811  const otext *name
6812 );
6813 
6831 OCI_EXPORT unsigned int OCI_API OCI_GetRaw
6832 (
6833  OCI_Resultset *rs,
6834  unsigned int index,
6835  void *buffer,
6836  unsigned int len
6837 );
6838 
6856 OCI_EXPORT unsigned int OCI_API OCI_GetRaw2
6857 (
6858  OCI_Resultset *rs,
6859  const otext *name,
6860  void *buffer,
6861  unsigned int len
6862 );
6863 
6879 OCI_EXPORT double OCI_API OCI_GetDouble
6880 (
6881  OCI_Resultset *rs,
6882  unsigned int index
6883 );
6884 
6900 OCI_EXPORT double OCI_API OCI_GetDouble2
6901 (
6902  OCI_Resultset *rs,
6903  const otext *name
6904 );
6905 
6921 OCI_EXPORT float OCI_API OCI_GetFloat
6922 (
6923  OCI_Resultset *rs,
6924  unsigned int index
6925 );
6926 
6942 OCI_EXPORT float OCI_API OCI_GetFloat2
6943 (
6944  OCI_Resultset *rs,
6945  const otext *name
6946 );
6947 
6963 OCI_EXPORT OCI_Date * OCI_API OCI_GetDate
6964 (
6965  OCI_Resultset *rs,
6966  unsigned int index
6967 );
6968 
6981 OCI_EXPORT OCI_Date * OCI_API OCI_GetDate2
6982 (
6983  OCI_Resultset *rs,
6984  const otext *name
6985 );
6986 
7002 OCI_EXPORT OCI_Timestamp * OCI_API OCI_GetTimestamp
7003 (
7004  OCI_Resultset *rs,
7005  unsigned int index
7006 );
7007 
7020 OCI_EXPORT OCI_Timestamp * OCI_API OCI_GetTimestamp2
7021 (
7022  OCI_Resultset *rs,
7023  const otext *name
7024 );
7025 
7041 OCI_EXPORT OCI_Interval * OCI_API OCI_GetInterval
7042 (
7043  OCI_Resultset *rs,
7044  unsigned int index
7045 );
7046 
7059 OCI_EXPORT OCI_Interval * OCI_API OCI_GetInterval2
7060 (
7061  OCI_Resultset *rs,
7062  const otext *name
7063 );
7064 
7080 OCI_EXPORT OCI_Statement * OCI_API OCI_GetStatement
7081 (
7082  OCI_Resultset *rs,
7083  unsigned int index
7084 );
7085 
7098 OCI_EXPORT OCI_Statement * OCI_API OCI_GetStatement2
7099 (
7100  OCI_Resultset *rs,
7101  const otext *name
7102 );
7103 
7119 OCI_EXPORT OCI_Lob * OCI_API OCI_GetLob
7120 (
7121  OCI_Resultset *rs,
7122  unsigned int index
7123 );
7124 
7137 OCI_EXPORT OCI_Lob * OCI_API OCI_GetLob2
7138 (
7139  OCI_Resultset *rs,
7140  const otext *name
7141 );
7142 
7158 OCI_EXPORT OCI_File * OCI_API OCI_GetFile
7159 (
7160  OCI_Resultset *rs,
7161  unsigned int index
7162 );
7163 
7176 OCI_EXPORT OCI_File * OCI_API OCI_GetFile2
7177 (
7178  OCI_Resultset *rs,
7179  const otext *name
7180 );
7181 
7197 OCI_EXPORT OCI_Object * OCI_API OCI_GetObject
7198 (
7199  OCI_Resultset *rs,
7200  unsigned int index
7201 );
7202 
7215 OCI_EXPORT OCI_Object * OCI_API OCI_GetObject2
7216 (
7217  OCI_Resultset *rs,
7218  const otext *name
7219 );
7220 
7236 OCI_EXPORT OCI_Coll * OCI_API OCI_GetColl
7237 (
7238  OCI_Resultset *rs,
7239  unsigned int index
7240 );
7241 
7254 OCI_EXPORT OCI_Coll * OCI_API OCI_GetColl2
7255 (
7256  OCI_Resultset *rs,
7257  const otext *name
7258 );
7259 
7275 OCI_EXPORT OCI_Ref * OCI_API OCI_GetRef
7276 (
7277  OCI_Resultset *rs,
7278  unsigned int index
7279 );
7280 
7293 OCI_EXPORT OCI_Ref * OCI_API OCI_GetRef2
7294 (
7295  OCI_Resultset *rs,
7296  const otext *name
7297 );
7298 
7314 OCI_EXPORT OCI_Long * OCI_API OCI_GetLong
7315 (
7316  OCI_Resultset *rs,
7317  unsigned int index
7318 );
7319 
7332 OCI_EXPORT OCI_Long * OCI_API OCI_GetLong2
7333 (
7334  OCI_Resultset *rs,
7335  const otext *name
7336 );
7337 
7353 OCI_EXPORT boolean OCI_API OCI_IsNull
7354 (
7355  OCI_Resultset *rs,
7356  unsigned int index
7357 );
7358 
7371 OCI_EXPORT boolean OCI_API OCI_IsNull2
7372 (
7373  OCI_Resultset *rs,
7374  const otext *name
7375 );
7376 
7385 OCI_EXPORT OCI_Statement * OCI_API OCI_ResultsetGetStatement
7386 (
7387  OCI_Resultset *rs
7388 );
7389 
7405 OCI_EXPORT unsigned int OCI_API OCI_GetDataLength
7406 (
7407  OCI_Resultset *rs,
7408  unsigned int index
7409 );
7410 
7475 OCI_EXPORT boolean OCI_API OCI_ServerEnableOutput
7476 (
7477  OCI_Connection *con,
7478  unsigned int bufsize,
7479  unsigned int arrsize,
7480  unsigned int lnsize
7481 );
7482 
7497 OCI_EXPORT boolean OCI_API OCI_ServerDisableOutput
7498 (
7499  OCI_Connection *con
7500 );
7501 
7517 OCI_EXPORT const otext * OCI_API OCI_ServerGetOutput
7518 (
7519  OCI_Connection *con
7520 );
7521 
7573 OCI_EXPORT OCI_Coll * OCI_API OCI_CollCreate
7574 (
7575  OCI_TypeInfo *typinf
7576 );
7577 
7593 OCI_EXPORT boolean OCI_API OCI_CollFree
7594 (
7595  OCI_Coll *coll
7596 );
7597 
7614 OCI_EXPORT OCI_Coll ** OCI_API OCI_CollArrayCreate
7615 (
7616  OCI_Connection *con,
7617  OCI_TypeInfo *typinf,
7618  unsigned int nbelem
7619 );
7620 
7636 OCI_EXPORT boolean OCI_API OCI_CollArrayFree
7637 (
7638  OCI_Coll **colls
7639 );
7640 
7656 OCI_EXPORT boolean OCI_API OCI_CollAssign
7657 (
7658  OCI_Coll *coll,
7659  OCI_Coll *coll_src
7660 );
7661 
7670 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_CollGetTypeInfo
7671 (
7672  OCI_Coll *coll
7673 );
7674 
7692 OCI_EXPORT unsigned int OCI_API OCI_CollGetType
7693 (
7694  OCI_Coll *coll
7695 );
7696 
7705 OCI_EXPORT unsigned int OCI_API OCI_CollGetMax
7706 (
7707  OCI_Coll *coll
7708 );
7709 
7718 OCI_EXPORT unsigned int OCI_API OCI_CollGetSize
7719 (
7720  OCI_Coll *coll
7721 );
7722 
7736 OCI_EXPORT unsigned int OCI_API OCI_CollGetCount
7737 (
7738  OCI_Coll *coll
7739 );
7740 
7753 OCI_EXPORT boolean OCI_API OCI_CollTrim
7754 (
7755  OCI_Coll *coll,
7756  unsigned int nb_elem
7757 );
7758 
7770 OCI_EXPORT boolean OCI_API OCI_CollClear
7771 (
7772  OCI_Coll *coll
7773 );
7774 
7790 OCI_EXPORT OCI_Elem * OCI_API OCI_CollGetElem
7791 (
7792  OCI_Coll *coll,
7793  unsigned int index
7794 );
7795 
7812 OCI_EXPORT boolean OCI_API OCI_CollGetElem2
7813 (
7814  OCI_Coll *coll,
7815  unsigned int index,
7816  OCI_Elem *elem
7817 );
7818 
7836 OCI_EXPORT boolean OCI_API OCI_CollSetElem
7837 (
7838  OCI_Coll *coll,
7839  unsigned int index,
7840  OCI_Elem *elem
7841 );
7842 
7855 OCI_EXPORT boolean OCI_API OCI_CollAppend
7856 (
7857  OCI_Coll *coll,
7858  OCI_Elem *elem
7859 );
7860 
7886 OCI_EXPORT boolean OCI_API OCI_CollToText
7887 (
7888  OCI_Coll *coll,
7889  unsigned int *size,
7890  otext *str
7891 );
7892 
7913 OCI_EXPORT boolean OCI_API OCI_CollDeleteElem
7914 (
7915  OCI_Coll *coll,
7916  unsigned int index
7917 );
7918 
7930 OCI_EXPORT OCI_Iter * OCI_API OCI_IterCreate
7931 (
7932  OCI_Coll *coll
7933 );
7934 
7946 OCI_EXPORT boolean OCI_API OCI_IterFree
7947 (
7948  OCI_Iter *iter
7949 );
7950 
7965 OCI_EXPORT OCI_Elem * OCI_API OCI_IterGetNext
7966 (
7967  OCI_Iter *iter
7968 );
7969 
7984 OCI_EXPORT OCI_Elem * OCI_API OCI_IterGetPrev
7985 (
7986  OCI_Iter *iter
7987 );
7988 
8003 OCI_EXPORT OCI_Elem * OCI_API OCI_IterGetCurrent
8004 (
8005  OCI_Iter *iter
8006 );
8007 
8020 OCI_EXPORT OCI_Elem * OCI_API OCI_ElemCreate
8021 (
8022  OCI_TypeInfo *typinf
8023 );
8024 
8040 OCI_EXPORT boolean OCI_API OCI_ElemFree
8041 (
8042  OCI_Elem *elem
8043 );
8044 
8056 OCI_EXPORT short OCI_API OCI_ElemGetShort
8057 (
8058  OCI_Elem *elem
8059 );
8060 
8072 OCI_EXPORT unsigned short OCI_API OCI_ElemGetUnsignedShort
8073 (
8074  OCI_Elem *elem
8075 );
8076 
8088 OCI_EXPORT int OCI_API OCI_ElemGetInt
8089 (
8090  OCI_Elem *elem
8091 );
8092 
8104 OCI_EXPORT unsigned int OCI_API OCI_ElemGetUnsignedInt
8105 (
8106  OCI_Elem *elem
8107 );
8108 
8120 OCI_EXPORT big_int OCI_API OCI_ElemGetBigInt
8121 (
8122  OCI_Elem *elem
8123 );
8124 
8136 OCI_EXPORT big_uint OCI_API OCI_ElemGetUnsignedBigInt
8137 (
8138  OCI_Elem *elem
8139 );
8140 
8152 OCI_EXPORT double OCI_API OCI_ElemGetDouble
8153 (
8154  OCI_Elem *elem
8155 );
8156 
8168 OCI_EXPORT float OCI_API OCI_ElemGetFloat
8169 (
8170  OCI_Elem *elem
8171 );
8172 
8184 OCI_EXPORT const otext * OCI_API OCI_ElemGetString
8185 (
8186  OCI_Elem *elem
8187 );
8188 
8202 OCI_EXPORT unsigned int OCI_API OCI_ElemGetRaw
8203 (
8204  OCI_Elem *elem,
8205  void *value,
8206  unsigned int len
8207 );
8208 
8220 OCI_EXPORT unsigned int OCI_API OCI_ElemGetRawSize
8221 (
8222  OCI_Elem *elem
8223 );
8224 
8236 OCI_EXPORT OCI_Date * OCI_API OCI_ElemGetDate
8237 (
8238  OCI_Elem *elem
8239 );
8240 
8252 OCI_EXPORT OCI_Timestamp * OCI_API OCI_ElemGetTimestamp
8253 (
8254  OCI_Elem *elem
8255 );
8256 
8268 OCI_EXPORT OCI_Interval * OCI_API OCI_ElemGetInterval
8269 (
8270  OCI_Elem *elem
8271 );
8272 
8284 OCI_EXPORT OCI_Lob * OCI_API OCI_ElemGetLob
8285 (
8286  OCI_Elem *elem
8287 );
8288 
8300 OCI_EXPORT OCI_File * OCI_API OCI_ElemGetFile
8301 (
8302  OCI_Elem *elem
8303 );
8304 
8316 OCI_EXPORT OCI_Object * OCI_API OCI_ElemGetObject
8317 (
8318  OCI_Elem *elem
8319 );
8320 
8332 OCI_EXPORT OCI_Coll * OCI_API OCI_ElemGetColl
8333 (
8334  OCI_Elem *elem
8335 );
8336 
8348 OCI_EXPORT OCI_Ref * OCI_API OCI_ElemGetRef
8349 (
8350  OCI_Elem *elem
8351 );
8352 
8365 OCI_EXPORT boolean OCI_API OCI_ElemSetShort
8366 (
8367  OCI_Elem *elem,
8368  short value
8369 );
8370 
8383 OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedShort
8384 (
8385  OCI_Elem *elem,
8386  unsigned short value
8387 );
8388 
8401 OCI_EXPORT boolean OCI_API OCI_ElemSetInt
8402 (
8403  OCI_Elem *elem,
8404  int value
8405 );
8406 
8419 OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedInt
8420 (
8421  OCI_Elem *elem,
8422  unsigned int value
8423 );
8424 
8437 OCI_EXPORT boolean OCI_API OCI_ElemSetBigInt
8438 (
8439  OCI_Elem *elem,
8440  big_int value
8441 );
8442 
8455 OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedBigInt
8456 (
8457  OCI_Elem *elem,
8458  big_uint value
8459 );
8460 
8473 OCI_EXPORT boolean OCI_API OCI_ElemSetDouble
8474 (
8475  OCI_Elem *elem,
8476  double value
8477 );
8478 
8491 OCI_EXPORT boolean OCI_API OCI_ElemSetFloat
8492 (
8493  OCI_Elem *elem,
8494  float value
8495 );
8496 
8512 OCI_EXPORT boolean OCI_API OCI_ElemSetString
8513 (
8514  OCI_Elem *elem,
8515  const otext *value
8516 );
8517 
8534 OCI_EXPORT boolean OCI_API OCI_ElemSetRaw
8535 (
8536  OCI_Elem *elem,
8537  void *value,
8538  unsigned int len
8539 );
8540 
8556 OCI_EXPORT boolean OCI_API OCI_ElemSetDate
8557 (
8558  OCI_Elem *elem,
8559  OCI_Date *value
8560 );
8561 
8577 OCI_EXPORT boolean OCI_API OCI_ElemSetTimestamp
8578 (
8579  OCI_Elem *elem,
8580  OCI_Timestamp *value
8581 );
8582 
8598 OCI_EXPORT boolean OCI_API OCI_ElemSetInterval
8599 (
8600  OCI_Elem *elem,
8601  OCI_Interval *value
8602 );
8603 
8619 OCI_EXPORT boolean OCI_API OCI_ElemSetColl
8620 (
8621  OCI_Elem *elem,
8622  OCI_Coll *value
8623 );
8624 
8645 OCI_EXPORT boolean OCI_API OCI_ElemSetObject
8646 (
8647  OCI_Elem *elem,
8648  OCI_Object *value
8649 );
8650 
8666 OCI_EXPORT boolean OCI_API OCI_ElemSetLob
8667 (
8668  OCI_Elem *elem,
8669  OCI_Lob *value
8670 );
8671 
8687 OCI_EXPORT boolean OCI_API OCI_ElemSetFile
8688 (
8689  OCI_Elem *elem,
8690  OCI_File *value
8691 );
8692 
8708 OCI_EXPORT boolean OCI_API OCI_ElemSetRef
8709 (
8710  OCI_Elem *elem,
8711  OCI_Ref *value
8712 );
8713 
8725 OCI_EXPORT boolean OCI_API OCI_ElemIsNull
8726 (
8727  OCI_Elem *elem
8728 );
8729 
8741 OCI_EXPORT boolean OCI_API OCI_ElemSetNull
8742 (
8743  OCI_Elem *elem
8744 );
8745 
8825 OCI_EXPORT OCI_Resultset * OCI_API OCI_GetNextResultset
8826 (
8827  OCI_Statement *stmt
8828 );
8829 
8842 OCI_EXPORT boolean OCI_API OCI_RegisterShort
8843 (
8844  OCI_Statement *stmt,
8845  const otext *name
8846 );
8847 
8860 OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedShort
8861 (
8862  OCI_Statement *stmt,
8863  const otext *name
8864 );
8865 
8878 OCI_EXPORT boolean OCI_API OCI_RegisterInt
8879 (
8880  OCI_Statement *stmt,
8881  const otext *name
8882 );
8883 
8896 OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedInt
8897 (
8898  OCI_Statement *stmt,
8899  const otext *name
8900 );
8901 
8914 OCI_EXPORT boolean OCI_API OCI_RegisterBigInt
8915 (
8916  OCI_Statement *stmt,
8917  const otext *name
8918 );
8919 
8932 OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedBigInt
8933 (
8934  OCI_Statement *stmt,
8935  const otext *name
8936 );
8937 
8951 OCI_EXPORT boolean OCI_API OCI_RegisterString
8952 (
8953  OCI_Statement *stmt,
8954  const otext *name,
8955  unsigned int len
8956 );
8957 
8970 OCI_EXPORT boolean OCI_API OCI_RegisterRaw
8971 (
8972  OCI_Statement *stmt,
8973  const otext *name,
8974  unsigned int len
8975 );
8976 
8988 OCI_EXPORT boolean OCI_API OCI_RegisterDouble
8989 (
8990  OCI_Statement *stmt,
8991  const otext *name
8992 );
8993 
9005 OCI_EXPORT boolean OCI_API OCI_RegisterFloat
9006 (
9007  OCI_Statement *stmt,
9008  const otext *name
9009 );
9010 
9022 OCI_EXPORT boolean OCI_API OCI_RegisterDate
9023 (
9024  OCI_Statement *stmt,
9025  const otext *name
9026 );
9027 
9043 OCI_EXPORT boolean OCI_API OCI_RegisterTimestamp
9044 (
9045  OCI_Statement *stmt,
9046  const otext *name,
9047  unsigned int type
9048 );
9049 
9065 OCI_EXPORT boolean OCI_API OCI_RegisterInterval
9066 (
9067  OCI_Statement *stmt,
9068  const otext *name,
9069  unsigned int type
9070 );
9071 
9084 OCI_EXPORT boolean OCI_API OCI_RegisterObject
9085 (
9086  OCI_Statement *stmt,
9087  const otext *name,
9088  OCI_TypeInfo *typinf
9089 );
9090 
9106 OCI_EXPORT boolean OCI_API OCI_RegisterLob
9107 (
9108  OCI_Statement *stmt,
9109  const otext *name,
9110  unsigned int type
9111 );
9112 
9128 OCI_EXPORT boolean OCI_API OCI_RegisterFile
9129 (
9130  OCI_Statement *stmt,
9131  const otext *name,
9132  unsigned int type
9133 );
9134 
9147 OCI_EXPORT boolean OCI_API OCI_RegisterRef
9148 (
9149  OCI_Statement *stmt,
9150  const otext *name,
9151  OCI_TypeInfo *typinf
9152 );
9153 
9208 OCI_EXPORT unsigned int OCI_API OCI_GetStatementType
9209 (
9210  OCI_Statement *stmt
9211 );
9212 
9230 OCI_EXPORT boolean OCI_API OCI_SetFetchMode
9231 (
9232  OCI_Statement *stmt,
9233  unsigned int mode
9234 );
9235 
9248 OCI_EXPORT unsigned int OCI_API OCI_GetFetchMode
9249 (
9250  OCI_Statement *stmt
9251 );
9252 
9267 OCI_EXPORT boolean OCI_API OCI_SetBindMode
9268 (
9269  OCI_Statement *stmt,
9270  unsigned int mode
9271 );
9272 
9288 OCI_EXPORT unsigned int OCI_API OCI_GetBindMode
9289 (
9290  OCI_Statement *stmt
9291 );
9292 
9307 OCI_EXPORT boolean OCI_API OCI_SetBindAllocation
9308 (
9309  OCI_Statement *stmt,
9310  unsigned int mode
9311 );
9312 
9327 OCI_EXPORT unsigned int OCI_API OCI_GetBindAllocation
9328 (
9329  OCI_Statement *stmt
9330 );
9331 
9344 OCI_EXPORT boolean OCI_API OCI_SetFetchSize
9345 (
9346  OCI_Statement *stmt,
9347  unsigned int size
9348 );
9349 
9361 OCI_EXPORT unsigned int OCI_API OCI_GetFetchSize
9362 (
9363  OCI_Statement *stmt
9364 );
9365 
9381 OCI_EXPORT boolean OCI_API OCI_SetPrefetchSize
9382 (
9383  OCI_Statement *stmt,
9384  unsigned int size
9385 );
9386 
9398 OCI_EXPORT unsigned int OCI_API OCI_GetPrefetchSize
9399 (
9400  OCI_Statement *stmt
9401 );
9402 
9426 OCI_EXPORT boolean OCI_API OCI_SetPrefetchMemory
9427 (
9428  OCI_Statement *stmt,
9429  unsigned int size
9430 );
9431 
9443 OCI_EXPORT unsigned int OCI_API OCI_GetPrefetchMemory
9444 (
9445  OCI_Statement *stmt
9446 );
9447 
9460 OCI_EXPORT boolean OCI_API OCI_SetLongMaxSize
9461 (
9462  OCI_Statement *stmt,
9463  unsigned int size
9464 );
9465 
9477 OCI_EXPORT unsigned int OCI_API OCI_GetLongMaxSize
9478 (
9479  OCI_Statement *stmt
9480 );
9481 
9499 OCI_EXPORT boolean OCI_API OCI_SetLongMode
9500 (
9501  OCI_Statement *stmt,
9502  unsigned int mode
9503 );
9504 
9516 OCI_EXPORT unsigned int OCI_API OCI_GetLongMode
9517 (
9518  OCI_Statement *stmt
9519 );
9520 
9529 OCI_EXPORT OCI_Connection * OCI_API OCI_StatementGetConnection
9530 (
9531  OCI_Statement *stmt
9532 );
9533 
9605 OCI_EXPORT OCI_Lob * OCI_API OCI_LobCreate
9606 (
9607  OCI_Connection *con,
9608  unsigned int type
9609 );
9610 
9625 OCI_EXPORT boolean OCI_API OCI_LobFree
9626 (
9627  OCI_Lob *lob
9628 );
9629 
9646 OCI_EXPORT OCI_Lob ** OCI_API OCI_LobArrayCreate
9647 (
9648  OCI_Connection *con,
9649  unsigned int type,
9650  unsigned int nbelem
9651 );
9652 
9668 OCI_EXPORT boolean OCI_API OCI_LobArrayFree
9669 (
9670  OCI_Lob **lobs
9671 );
9672 
9687 OCI_EXPORT unsigned int OCI_API OCI_LobGetType
9688 (
9689  OCI_Lob *lob
9690 );
9691 
9719 OCI_EXPORT boolean OCI_API OCI_LobSeek
9720 (
9721  OCI_Lob *lob,
9722  big_uint offset,
9723  unsigned int mode
9724 );
9725 
9736 OCI_EXPORT big_uint OCI_API OCI_LobGetOffset
9737 (
9738  OCI_Lob *lob
9739 );
9740 
9762 OCI_EXPORT unsigned int OCI_API OCI_LobRead
9763 (
9764  OCI_Lob *lob,
9765  void *buffer,
9766  unsigned int len
9767 );
9768 
9794 OCI_EXPORT boolean OCI_API OCI_LobRead2
9795 (
9796  OCI_Lob *lob,
9797  void *buffer,
9798  unsigned int *char_count,
9799  unsigned int *byte_count
9800 );
9801 
9823 OCI_EXPORT unsigned int OCI_API OCI_LobWrite
9824 (
9825  OCI_Lob *lob,
9826  void *buffer,
9827  unsigned int len
9828 );
9829 
9855 OCI_EXPORT boolean OCI_API OCI_LobWrite2
9856 (
9857  OCI_Lob *lob,
9858  void *buffer,
9859  unsigned int *char_count,
9860  unsigned int *byte_count
9861 );
9862 
9880 OCI_EXPORT boolean OCI_API OCI_LobTruncate
9881 (
9882  OCI_Lob *lob,
9883  big_uint size
9884 );
9885 
9897 OCI_EXPORT big_uint OCI_API OCI_LobGetLength
9898 (
9899  OCI_Lob *lob
9900 );
9901 
9919 OCI_EXPORT unsigned int OCI_API OCI_LobGetChunkSize
9920 (
9921  OCI_Lob *lob
9922 );
9923 
9942 OCI_EXPORT big_uint OCI_API OCI_LobErase
9943 (
9944  OCI_Lob *lob,
9945  big_uint offset,
9946  big_uint len
9947 );
9948 
9967 OCI_EXPORT unsigned int OCI_API OCI_LobAppend
9968 (
9969  OCI_Lob *lob,
9970  void *buffer,
9971  unsigned int len
9972 );
9973 
9999 OCI_EXPORT boolean OCI_API OCI_LobAppend2
10000 (
10001  OCI_Lob *lob,
10002  void *buffer,
10003  unsigned int *char_count,
10004  unsigned int *byte_count
10005 );
10006 
10019 OCI_EXPORT boolean OCI_API OCI_LobAppendLob
10020 (
10021  OCI_Lob *lob,
10022  OCI_Lob *lob_src
10023 );
10024 
10036 OCI_EXPORT boolean OCI_API OCI_LobIsTemporary
10037 (
10038  OCI_Lob *lob
10039 );
10040 
10060 OCI_EXPORT boolean OCI_API OCI_LobCopy
10061 (
10062  OCI_Lob *lob,
10063  OCI_Lob *lob_src,
10064  big_uint offset_dst,
10065  big_uint offset_src,
10066  big_uint count
10067 );
10068 
10089 OCI_EXPORT boolean OCI_API OCI_LobCopyFromFile
10090 (
10091  OCI_Lob *lob,
10092  OCI_File *file,
10093  big_uint offset_dst,
10094  big_uint offset_src,
10095  big_uint count
10096 );
10097 
10120 OCI_EXPORT boolean OCI_API OCI_LobOpen
10121 (
10122  OCI_Lob *lob,
10123  unsigned int mode
10124 );
10125 
10140 OCI_EXPORT boolean OCI_API OCI_LobClose
10141 (
10142  OCI_Lob *lob
10143 );
10144 
10157 OCI_EXPORT boolean OCI_API OCI_LobIsEqual
10158 (
10159  OCI_Lob *lob,
10160  OCI_Lob *lob2
10161 );
10162 
10175 OCI_EXPORT boolean OCI_API OCI_LobAssign
10176 (
10177  OCI_Lob *lob,
10178  OCI_Lob *lob_src
10179 );
10180 
10192 OCI_EXPORT big_uint OCI_API OCI_LobGetMaxSize
10193 (
10194  OCI_Lob *lob
10195 );
10196 
10208 OCI_EXPORT boolean OCI_API OCI_LobFlush
10209 (
10210  OCI_Lob *lob
10211 );
10212 
10237 OCI_EXPORT boolean OCI_API OCI_LobEnableBuffering
10238 (
10239  OCI_Lob *lob,
10240  boolean value
10241 );
10242 
10251 OCI_EXPORT OCI_Connection * OCI_API OCI_LobGetConnection
10252 (
10253  OCI_Lob *lob
10254 );
10255 
10315 OCI_EXPORT OCI_File * OCI_API OCI_FileCreate
10316 (
10317  OCI_Connection *con,
10318  unsigned int type
10319 );
10320 
10335 OCI_EXPORT boolean OCI_API OCI_FileFree
10336 (
10337  OCI_File *file
10338 );
10339 
10356 OCI_EXPORT OCI_File ** OCI_API OCI_FileArrayCreate
10357 (
10358  OCI_Connection *con,
10359  unsigned int type,
10360  unsigned int nbelem
10361 );
10362 
10377 OCI_EXPORT boolean OCI_API OCI_FileArrayFree
10378 (
10379  OCI_File **files
10380 );
10381 
10396 OCI_EXPORT unsigned int OCI_API OCI_FileGetType
10397 (
10398  OCI_File *file
10399 );
10400 
10424 OCI_EXPORT boolean OCI_API OCI_FileSeek
10425 (
10426  OCI_File *file,
10427  big_uint offset,
10428  unsigned int mode
10429 );
10430 
10441 OCI_EXPORT big_uint OCI_API OCI_FileGetOffset
10442 (
10443  OCI_File *file
10444 );
10445 
10459 OCI_EXPORT unsigned int OCI_API OCI_FileRead
10460 (
10461  OCI_File *file,
10462  void *buffer,
10463  unsigned int len
10464 );
10465 
10474 OCI_EXPORT big_uint OCI_API OCI_FileGetSize
10475 (
10476  OCI_File *file
10477 );
10478 
10493 OCI_EXPORT boolean OCI_API OCI_FileExists
10494 (
10495  OCI_File *file
10496 );
10497 
10515 OCI_EXPORT boolean OCI_API OCI_FileSetName
10516 (
10517  OCI_File *file,
10518  const otext *dir,
10519  const otext *name
10520 );
10521 
10530 OCI_EXPORT const otext * OCI_API OCI_FileGetDirectory
10531 (
10532  OCI_File *file
10533 );
10534 
10543 OCI_EXPORT const otext * OCI_API OCI_FileGetName
10544 (
10545  OCI_File *file
10546 );
10547 
10559 OCI_EXPORT boolean OCI_API OCI_FileOpen
10560 (
10561  OCI_File *file
10562 );
10563 
10575 OCI_EXPORT boolean OCI_API OCI_FileIsOpen
10576 (
10577  OCI_File *file
10578 );
10579 
10591 OCI_EXPORT boolean OCI_API OCI_FileClose
10592 (
10593  OCI_File *file
10594 );
10595 
10608 OCI_EXPORT boolean OCI_API OCI_FileIsEqual
10609 (
10610  OCI_File *file,
10611  OCI_File *file2
10612 );
10613 
10626 OCI_EXPORT boolean OCI_API OCI_FileAssign
10627 (
10628  OCI_File *file,
10629  OCI_File *file_src
10630 );
10631 
10640 OCI_EXPORT OCI_Connection * OCI_API OCI_FileGetConnection
10641 (
10642  OCI_File *file
10643 );
10644 
10697 OCI_EXPORT OCI_Long * OCI_API OCI_LongCreate
10698 (
10699  OCI_Statement *stmt,
10700  unsigned int type
10701 );
10702 
10717 OCI_EXPORT boolean OCI_API OCI_LongFree
10718 (
10719  OCI_Long *lg
10720 );
10721 
10736 OCI_EXPORT unsigned int OCI_API OCI_LongGetType
10737 (
10738  OCI_Long *lg
10739 );
10740 
10766 OCI_EXPORT unsigned int OCI_API OCI_LongRead
10767 (
10768  OCI_Long *lg,
10769  void *buffer,
10770  unsigned int len
10771 );
10772 
10787 OCI_EXPORT unsigned int OCI_API OCI_LongWrite
10788 (
10789  OCI_Long *lg,
10790  void *buffer,
10791  unsigned int len
10792 );
10793 
10802 OCI_EXPORT unsigned int OCI_API OCI_LongGetSize
10803 (
10804  OCI_Long *lg
10805 );
10806 
10815 OCI_EXPORT void * OCI_API OCI_LongGetBuffer
10816 (
10817  OCI_Long *lg
10818 );
10819 
10852 OCI_EXPORT OCI_Date * OCI_API OCI_DateCreate
10853 (
10854  OCI_Connection *con
10855 );
10856 
10871 OCI_EXPORT boolean OCI_API OCI_DateFree
10872 (
10873  OCI_Date *date
10874 );
10875 
10891 OCI_EXPORT OCI_Date ** OCI_API OCI_DateArrayCreate
10892 (
10893  OCI_Connection *con,
10894  unsigned int nbelem
10895 );
10896 
10911 OCI_EXPORT boolean OCI_API OCI_DateArrayFree
10912 (
10913  OCI_Date **dates
10914 );
10915 
10928 OCI_EXPORT boolean OCI_API OCI_DateAddDays
10929 (
10930  OCI_Date *date,
10931  int nb
10932 );
10933 
10946 OCI_EXPORT boolean OCI_API OCI_DateAddMonths
10947 (
10948  OCI_Date *date,
10949  int nb
10950 );
10951 
10964 OCI_EXPORT int OCI_API OCI_DateAssign
10965 (
10966  OCI_Date *date,
10967  OCI_Date *date_src
10968 );
10969 
10982 OCI_EXPORT int OCI_API OCI_DateCheck
10983 (
10984  OCI_Date *date
10985 );
10986 
11001 OCI_EXPORT int OCI_API OCI_DateCompare
11002 (
11003  OCI_Date *date,
11004  OCI_Date *date2
11005 );
11006 
11019 OCI_EXPORT int OCI_API OCI_DateDaysBetween
11020 (
11021  OCI_Date *date,
11022  OCI_Date *date2
11023 );
11024 
11038 OCI_EXPORT boolean OCI_API OCI_DateFromText
11039 (
11040  OCI_Date *date,
11041  const otext *str,
11042  const otext *fmt
11043 );
11044 
11059 OCI_EXPORT boolean OCI_API OCI_DateToText
11060 (
11061  OCI_Date *date,
11062  const otext *fmt,
11063  int size,
11064  otext *str
11065 );
11066 
11081 OCI_EXPORT boolean OCI_API OCI_DateGetDate
11082 (
11083  OCI_Date *date,
11084  int *year,
11085  int *month,
11086  int *day
11087 );
11088 
11103 OCI_EXPORT boolean OCI_API OCI_DateGetTime
11104 (
11105  OCI_Date *date,
11106  int *hour,
11107  int *min,
11108  int *sec
11109 );
11110 
11128 OCI_EXPORT boolean OCI_API OCI_DateGetDateTime
11129 (
11130  OCI_Date *date,
11131  int *year,
11132  int *month,
11133  int *day,
11134  int *hour,
11135  int *min,
11136  int *sec
11137 );
11138 
11153 OCI_EXPORT boolean OCI_API OCI_DateSetDate
11154 (
11155  OCI_Date *date,
11156  int year,
11157  int month,
11158  int day
11159 );
11160 
11175 OCI_EXPORT boolean OCI_API OCI_DateSetTime
11176 (
11177  OCI_Date *date,
11178  int hour,
11179  int min,
11180  int sec
11181 );
11182 
11200 OCI_EXPORT boolean OCI_API OCI_DateSetDateTime
11201 (
11202  OCI_Date *date,
11203  int year,
11204  int month,
11205  int day,
11206  int hour,
11207  int min,
11208  int sec
11209 );
11210 
11222 OCI_EXPORT boolean OCI_API OCI_DateLastDay
11223 (
11224  OCI_Date *date
11225 );
11226 
11239 OCI_EXPORT boolean OCI_API OCI_DateNextDay
11240 (
11241  OCI_Date *date,
11242  const otext *day
11243 );
11244 
11256 OCI_EXPORT boolean OCI_API OCI_DateSysDate
11257 (
11258  OCI_Date *date
11259 );
11260 
11274 OCI_EXPORT boolean OCI_API OCI_DateZoneToZone
11275 (
11276  OCI_Date *date,
11277  const otext *zone1,
11278  const otext *zone2
11279 );
11280 
11297 OCI_EXPORT boolean OCI_API OCI_DateToCTime
11298 (
11299  OCI_Date *date,
11300  struct tm *ptm,
11301  time_t *pt
11302 );
11303 
11322 OCI_EXPORT boolean OCI_API OCI_DateFromCTime
11323 (
11324  OCI_Date *date,
11325  struct tm *ptm,
11326  time_t t
11327 );
11328 
11373 OCI_EXPORT OCI_Timestamp * OCI_API OCI_TimestampCreate
11374 (
11375  OCI_Connection *con,
11376  unsigned int type
11377 );
11378 
11393 OCI_EXPORT boolean OCI_API OCI_TimestampFree
11394 (
11395  OCI_Timestamp *tmsp
11396 );
11397 
11414 OCI_EXPORT OCI_Timestamp ** OCI_API OCI_TimestampArrayCreate
11415 (
11416  OCI_Connection *con,
11417  unsigned int type,
11418  unsigned int nbelem
11419 );
11420 
11436 OCI_EXPORT boolean OCI_API OCI_TimestampArrayFree
11437 (
11438  OCI_Timestamp **tmsps
11439 );
11440 
11455 OCI_EXPORT unsigned int OCI_API OCI_TimestampGetType
11456 (
11457  OCI_Timestamp *tmsp
11458 );
11459 
11472 OCI_EXPORT boolean OCI_API OCI_TimestampAssign
11473 (
11474  OCI_Timestamp *tmsp,
11475  OCI_Timestamp *tmsp_src
11476 );
11477 
11490 OCI_EXPORT int OCI_API OCI_TimestampCheck
11491 (
11492  OCI_Timestamp *tmsp
11493 );
11494 
11509 OCI_EXPORT int OCI_API OCI_TimestampCompare
11510 (
11511  OCI_Timestamp *tmsp,
11512  OCI_Timestamp *tmsp2
11513 );
11514 
11534 OCI_EXPORT boolean OCI_API OCI_TimestampConstruct
11535 (
11536  OCI_Timestamp *tmsp,
11537  int year,
11538  int month,
11539  int day,
11540  int hour,
11541  int min,
11542  int sec,
11543  int fsec,
11544  const otext *time_zone
11545 );
11546 
11559 OCI_EXPORT boolean OCI_API OCI_TimestampConvert
11560 (
11561  OCI_Timestamp *tmsp,
11562  OCI_Timestamp *tmsp_src
11563 );
11564 
11578 OCI_EXPORT boolean OCI_API OCI_TimestampFromText
11579 (
11580  OCI_Timestamp *tmsp,
11581  const otext *str,
11582  const otext *fmt
11583 );
11584 
11600 OCI_EXPORT boolean OCI_API OCI_TimestampToText
11601 (
11602  OCI_Timestamp *tmsp,
11603  const otext *fmt,
11604  int size,
11605  otext *str,
11606  int precision
11607 );
11608 
11623 OCI_EXPORT boolean OCI_API OCI_TimestampGetDate
11624 (
11625  OCI_Timestamp *tmsp,
11626  int *year,
11627  int *month,
11628  int *day
11629 );
11630 
11646 OCI_EXPORT boolean OCI_API OCI_TimestampGetTime
11647 (
11648  OCI_Timestamp *tmsp,
11649  int *hour,
11650  int *min,
11651  int *sec,
11652  int *fsec
11653 );
11654 
11673 OCI_EXPORT boolean OCI_API OCI_TimestampGetDateTime
11674 (
11675  OCI_Timestamp *tmsp,
11676  int *year,
11677  int *month,
11678  int *day,
11679  int *hour,
11680  int *min,
11681  int *sec,
11682  int *fsec
11683 );
11684 
11698 OCI_EXPORT boolean OCI_API OCI_TimestampGetTimeZoneName
11699 (
11700  OCI_Timestamp *tmsp,
11701  int size,
11702  otext *str
11703 );
11704 
11718 OCI_EXPORT boolean OCI_API OCI_TimestampGetTimeZoneOffset
11719 (
11720  OCI_Timestamp *tmsp,
11721  int *hour,
11722  int *min
11723 );
11724 
11737 OCI_EXPORT boolean OCI_API OCI_TimestampIntervalAdd
11738 (
11739  OCI_Timestamp *tmsp,
11740  OCI_Interval *itv
11741 );
11742 
11755 OCI_EXPORT boolean OCI_API OCI_TimestampIntervalSub
11756 (
11757  OCI_Timestamp *tmsp,
11758  OCI_Interval *itv
11759 );
11760 
11777 OCI_EXPORT boolean OCI_API OCI_TimestampSubtract
11778 (
11779  OCI_Timestamp *tmsp,
11780  OCI_Timestamp *tmsp2,
11781  OCI_Interval *itv
11782 );
11783 
11796 OCI_EXPORT boolean OCI_API OCI_TimestampSysTimestamp
11797 (
11798  OCI_Timestamp *tmsp
11799 );
11800 
11817 OCI_EXPORT boolean OCI_API OCI_TimestampToCTime
11818 (
11819  OCI_Timestamp *tmsp,
11820  struct tm *ptm,
11821  time_t *pt
11822 );
11823 
11842 OCI_EXPORT boolean OCI_API OCI_TimestampFromCTime
11843 (
11844  OCI_Timestamp *tmsp,
11845  struct tm *ptm,
11846  time_t t
11847 );
11848 
11870 OCI_EXPORT OCI_Interval * OCI_API OCI_IntervalCreate
11871 (
11872  OCI_Connection *con,
11873  unsigned int type
11874 );
11875 
11891 OCI_EXPORT boolean OCI_API OCI_IntervalFree
11892 (
11893  OCI_Interval *itv
11894 );
11895 
11912 OCI_EXPORT OCI_Interval ** OCI_API OCI_IntervalArrayCreate
11913 (
11914  OCI_Connection *con,
11915  unsigned int type,
11916  unsigned int nbelem
11917 );
11918 
11934 OCI_EXPORT boolean OCI_API OCI_IntervalArrayFree
11935 (
11936  OCI_Interval **itvs
11937 );
11938 
11953 OCI_EXPORT unsigned int OCI_API OCI_IntervalGetType
11954 (
11955  OCI_Interval *itv
11956 );
11957 
11970 OCI_EXPORT boolean OCI_API OCI_IntervalAssign
11971 (
11972  OCI_Interval *itv,
11973  OCI_Interval *itv_src
11974 );
11975 
11988 OCI_EXPORT int OCI_API OCI_IntervalCheck
11989 (
11990  OCI_Interval *itv
11991 );
11992 
12007 OCI_EXPORT int OCI_API OCI_IntervalCompare
12008 (
12009  OCI_Interval *itv,
12010  OCI_Interval *itv2
12011 );
12012 
12025 OCI_EXPORT boolean OCI_API OCI_IntervalFromText
12026 (
12027  OCI_Interval *itv,
12028  const otext *str
12029 );
12030 
12046 OCI_EXPORT boolean OCI_API OCI_IntervalToText
12047 (
12048  OCI_Interval *itv,
12049  int leading_prec,
12050  int fraction_prec,
12051  int size,
12052  otext *str
12053 );
12054 
12067 OCI_EXPORT boolean OCI_API OCI_IntervalFromTimeZone
12068 (
12069  OCI_Interval *itv,
12070  const otext *str
12071 );
12072 
12089 OCI_EXPORT boolean OCI_API OCI_IntervalGetDaySecond
12090 (
12091  OCI_Interval *itv,
12092  int *day,
12093  int *hour,
12094  int *min,
12095  int *sec,
12096  int *fsec
12097 );
12098 
12112 OCI_EXPORT boolean OCI_API OCI_IntervalGetYearMonth
12113 (
12114  OCI_Interval *itv,
12115  int *year,
12116  int *month
12117 );
12118 
12135 OCI_EXPORT boolean OCI_API OCI_IntervalSetDaySecond
12136 (
12137  OCI_Interval *itv,
12138  int day,
12139  int hour,
12140  int min,
12141  int sec,
12142  int fsec
12143 );
12144 
12158 OCI_EXPORT boolean OCI_API OCI_IntervalSetYearMonth
12159 (
12160  OCI_Interval *itv,
12161  int year,
12162  int month
12163 );
12164 
12177 OCI_EXPORT boolean OCI_API OCI_IntervalAdd
12178 (
12179  OCI_Interval *itv,
12180  OCI_Interval *itv2
12181 );
12182 
12195 OCI_EXPORT boolean OCI_API OCI_IntervalSubtract
12196 (
12197  OCI_Interval *itv,
12198  OCI_Interval *itv2
12199 );
12200 
12260 OCI_EXPORT OCI_Object * OCI_API OCI_ObjectCreate
12261 (
12262  OCI_Connection *con,
12263  OCI_TypeInfo *typinf
12264 );
12265 
12281 OCI_EXPORT boolean OCI_API OCI_ObjectFree
12282 (
12283  OCI_Object *obj
12284 );
12285 
12302 OCI_EXPORT OCI_Object ** OCI_API OCI_ObjectArrayCreate
12303 (
12304  OCI_Connection *con,
12305  OCI_TypeInfo *typinf,
12306  unsigned int nbelem
12307 );
12308 
12324 OCI_EXPORT boolean OCI_API OCI_ObjectArrayFree
12325 (
12326  OCI_Object **objs
12327 );
12328 
12347 OCI_EXPORT boolean OCI_API OCI_ObjectAssign
12348 (
12349  OCI_Object *obj,
12350  OCI_Object *obj_src
12351 );
12352 
12371 OCI_EXPORT unsigned int OCI_API OCI_ObjectGetType
12372 (
12373  OCI_Object *obj
12374 );
12375 
12393 OCI_EXPORT boolean OCI_API OCI_ObjectGetSelfRef
12394 (
12395  OCI_Object *obj,
12396  OCI_Ref *ref
12397 );
12398 
12407 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_ObjectGetTypeInfo
12408 (
12409  OCI_Object *obj
12410 );
12411 
12429 OCI_EXPORT short OCI_API OCI_ObjectGetShort
12430 (
12431  OCI_Object *obj,
12432  const otext *attr
12433 );
12434 
12452 OCI_EXPORT unsigned short OCI_API OCI_ObjectGetUnsignedShort
12453 (
12454  OCI_Object *obj,
12455  const otext *attr
12456 );
12457 
12475 OCI_EXPORT int OCI_API OCI_ObjectGetInt
12476 (
12477  OCI_Object *obj,
12478  const otext *attr
12479 );
12480 
12498 OCI_EXPORT unsigned int OCI_API OCI_ObjectGetUnsignedInt
12499 (
12500  OCI_Object *obj,
12501  const otext *attr
12502 );
12503 
12521 OCI_EXPORT big_int OCI_API OCI_ObjectGetBigInt
12522 (
12523  OCI_Object *obj,
12524  const otext *attr
12525 );
12526 
12544 OCI_EXPORT big_uint OCI_API OCI_ObjectGetUnsignedBigInt
12545 (
12546  OCI_Object *obj,
12547  const otext *attr
12548 );
12549 
12567 OCI_EXPORT double OCI_API OCI_ObjectGetDouble
12568 (
12569  OCI_Object *obj,
12570  const otext *attr
12571 );
12572 
12590 OCI_EXPORT float OCI_API OCI_ObjectGetFloat
12591 (
12592  OCI_Object *obj,
12593  const otext *attr
12594 );
12595 
12613 OCI_EXPORT const otext * OCI_API OCI_ObjectGetString
12614 (
12615  OCI_Object *obj,
12616  const otext *attr
12617 );
12618 
12639 OCI_EXPORT int OCI_API OCI_ObjectGetRaw
12640 (
12641  OCI_Object *obj,
12642  const otext *attr,
12643  void *value,
12644  unsigned int len
12645 );
12646 
12664 OCI_EXPORT unsigned int OCI_API OCI_ObjectGetRawSize
12665 (
12666  OCI_Object *obj,
12667  const otext *attr
12668 );
12669 
12687 OCI_EXPORT OCI_Date * OCI_API OCI_ObjectGetDate
12688 (
12689  OCI_Object *obj,
12690  const otext *attr
12691 );
12692 
12710 OCI_EXPORT OCI_Timestamp * OCI_API OCI_ObjectGetTimestamp
12711 (
12712  OCI_Object *obj,
12713  const otext *attr
12714 );
12715 
12733 OCI_EXPORT OCI_Interval * OCI_API OCI_ObjectGetInterval
12734 (
12735  OCI_Object *obj,
12736  const otext *attr
12737 );
12738 
12756 OCI_EXPORT OCI_Coll * OCI_API OCI_ObjectGetColl
12757 (
12758  OCI_Object *obj,
12759  const otext *attr
12760 );
12761 
12779 OCI_EXPORT OCI_Ref * OCI_API OCI_ObjectGetRef
12780 (
12781  OCI_Object *obj,
12782  const otext *attr
12783 );
12784 
12802 OCI_EXPORT OCI_Object * OCI_API OCI_ObjectGetObject
12803 (
12804  OCI_Object *obj,
12805  const otext *attr
12806 );
12807 
12825 OCI_EXPORT OCI_Lob * OCI_API OCI_ObjectGetLob
12826 (
12827  OCI_Object *obj,
12828  const otext *attr
12829 );
12830 
12848 OCI_EXPORT OCI_File * OCI_API OCI_ObjectGetFile
12849 (
12850  OCI_Object *obj,
12851  const otext *attr
12852 );
12853 
12867 OCI_EXPORT boolean OCI_API OCI_ObjectSetShort
12868 (
12869  OCI_Object *obj,
12870  const otext *attr,
12871  short value
12872 );
12873 
12887 OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedShort
12888 (
12889  OCI_Object *obj,
12890  const otext *attr,
12891  unsigned short value
12892 );
12893 
12907 OCI_EXPORT boolean OCI_API OCI_ObjectSetInt
12908 (
12909  OCI_Object *obj,
12910  const otext *attr,
12911  int value
12912 );
12913 
12927 OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedInt
12928 (
12929  OCI_Object *obj,
12930  const otext *attr,
12931  unsigned int value
12932 );
12933 
12947 OCI_EXPORT boolean OCI_API OCI_ObjectSetBigInt
12948 (
12949  OCI_Object *obj,
12950  const otext *attr,
12951  big_int value
12952 );
12953 
12967 OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedBigInt
12968 (
12969  OCI_Object *obj,
12970  const otext *attr,
12971  big_uint value
12972 );
12973 
12987 OCI_EXPORT boolean OCI_API OCI_ObjectSetDouble
12988 (
12989  OCI_Object *obj,
12990  const otext *attr,
12991  double value
12992 );
12993 
13007 OCI_EXPORT boolean OCI_API OCI_ObjectSetFloat
13008 (
13009  OCI_Object *obj,
13010  const otext *attr,
13011  float value
13012 );
13013 
13030 OCI_EXPORT boolean OCI_API OCI_ObjectSetString
13031 (
13032  OCI_Object *obj,
13033  const otext *attr,
13034  const otext *value
13035 );
13036 
13054 OCI_EXPORT boolean OCI_API OCI_ObjectSetRaw
13055 (
13056  OCI_Object *obj,
13057  const otext *attr,
13058  void *value,
13059  unsigned int len
13060 );
13061 
13078 OCI_EXPORT boolean OCI_API OCI_ObjectSetDate
13079 (
13080  OCI_Object *obj,
13081  const otext *attr,
13082  OCI_Date *value
13083 );
13084 
13101 OCI_EXPORT boolean OCI_API OCI_ObjectSetTimestamp
13102 (
13103  OCI_Object *obj,
13104  const otext *attr,
13105  OCI_Timestamp *value
13106 );
13107 
13124 OCI_EXPORT boolean OCI_API OCI_ObjectSetInterval
13125 (
13126  OCI_Object *obj,
13127  const otext *attr,
13128  OCI_Interval *value
13129 );
13130 
13147 OCI_EXPORT boolean OCI_API OCI_ObjectSetColl
13148 (
13149  OCI_Object *obj,
13150  const otext *attr,
13151  OCI_Coll *value
13152 );
13153 
13175 OCI_EXPORT boolean OCI_API OCI_ObjectSetObject
13176 (
13177  OCI_Object *obj,
13178  const otext *attr,
13179  OCI_Object *value
13180 );
13181 
13198 OCI_EXPORT boolean OCI_API OCI_ObjectSetLob
13199 (
13200  OCI_Object *obj,
13201  const otext *attr,
13202  OCI_Lob *value
13203 );
13204 
13221 OCI_EXPORT boolean OCI_API OCI_ObjectSetFile
13222 (
13223  OCI_Object *obj,
13224  const otext *attr,
13225  OCI_File *value
13226 );
13227 
13244 OCI_EXPORT boolean OCI_API OCI_ObjectSetRef
13245 (
13246  OCI_Object *obj,
13247  const otext *attr,
13248  OCI_Ref *value
13249 );
13250 
13263 OCI_EXPORT boolean OCI_API OCI_ObjectIsNull
13264 (
13265  OCI_Object *obj,
13266  const otext *attr
13267 );
13268 
13281 OCI_EXPORT boolean OCI_API OCI_ObjectSetNull
13282 (
13283  OCI_Object *obj,
13284  const otext *attr
13285 );
13286 
13306 OCI_EXPORT boolean OCI_API OCI_ObjectGetStruct
13307 (
13308  OCI_Object *obj,
13309  void **pp_struct,
13310  void **pp_ind
13311 );
13312 
13338 OCI_EXPORT boolean OCI_API OCI_ObjectToText
13339 (
13340  OCI_Object *obj,
13341  unsigned int *size,
13342  otext *str
13343 );
13344 
13357 OCI_EXPORT OCI_Ref * OCI_API OCI_RefCreate
13358 (
13359  OCI_Connection *con,
13360  OCI_TypeInfo *typinf
13361 );
13362 
13378 OCI_EXPORT boolean OCI_API OCI_RefFree
13379 (
13380  OCI_Ref *ref
13381 );
13382 
13399 OCI_EXPORT OCI_Ref ** OCI_API OCI_RefArrayCreate
13400 (
13401  OCI_Connection *con,
13402  OCI_TypeInfo *typinf,
13403  unsigned int nbelem
13404 );
13405 
13421 OCI_EXPORT boolean OCI_API OCI_RefArrayFree
13422 (
13423  OCI_Ref **refs
13424 );
13425 
13441 OCI_EXPORT boolean OCI_API OCI_RefAssign
13442 (
13443  OCI_Ref *ref,
13444  OCI_Ref *ref_src
13445 );
13446 
13455 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_RefGetTypeInfo
13456 (
13457  OCI_Ref *ref
13458 );
13459 
13471 OCI_EXPORT OCI_Object * OCI_API OCI_RefGetObject
13472 (
13473  OCI_Ref *ref
13474 );
13475 
13487 OCI_EXPORT boolean OCI_API OCI_RefIsNull
13488 (
13489  OCI_Ref *ref
13490 );
13491 
13505 OCI_EXPORT boolean OCI_API OCI_RefSetNull
13506 (
13507  OCI_Ref *ref
13508 );
13509 
13522 OCI_EXPORT unsigned int OCI_API OCI_RefGetHexSize
13523 (
13524  OCI_Ref *ref
13525 );
13526 
13540 OCI_EXPORT boolean OCI_API OCI_RefToText
13541 (
13542  OCI_Ref *ref,
13543  unsigned int size,
13544  otext *str
13545 );
13546 
13592 OCI_EXPORT boolean OCI_API OCI_Break
13593 (
13594  OCI_Connection *con
13595 );
13596 
13634 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_TypeInfoGet
13635 (
13636  OCI_Connection *con,
13637  const otext *name,
13638  unsigned int type
13639 );
13640 
13660 OCI_EXPORT unsigned int OCI_API OCI_TypeInfoGetType
13661 (
13662  OCI_TypeInfo *typinf
13663 );
13664 
13673 OCI_EXPORT OCI_Connection * OCI_API OCI_TypeInfoGetConnection
13674 (
13675  OCI_TypeInfo *typinf
13676 );
13677 
13694 OCI_EXPORT boolean OCI_API OCI_TypeInfoFree
13695 (
13696  OCI_TypeInfo *typinf
13697 );
13698 
13707 OCI_EXPORT unsigned int OCI_API OCI_TypeInfoGetColumnCount
13708 (
13709  OCI_TypeInfo *typinf
13710 );
13711 
13725 OCI_EXPORT OCI_Column * OCI_API OCI_TypeInfoGetColumn
13726 (
13727  OCI_TypeInfo *typinf,
13728  unsigned int index
13729 );
13730 
13739 OCI_EXPORT const otext * OCI_API OCI_TypeInfoGetName
13740 (
13741  OCI_TypeInfo *typinf
13742 );
13743 
13841 OCI_EXPORT boolean OCI_Immediate
13842 (
13843  OCI_Connection *con,
13844  const otext *sql,
13845  ...
13846 );
13847 
13861 OCI_EXPORT boolean OCI_ImmediateFmt
13862 (
13863  OCI_Connection *con,
13864  const otext *sql,
13865  ...
13866 );
13867 
13880 OCI_EXPORT boolean OCI_PrepareFmt
13881 (
13882  OCI_Statement *stmt,
13883  const otext *sql,
13884  ...
13885 );
13886 
13908 OCI_EXPORT boolean OCI_ExecuteStmtFmt
13909 (
13910  OCI_Statement *stmt,
13911  const otext *sql,
13912  ...
13913 );
13914 
13944 OCI_EXPORT boolean OCI_ParseFmt
13945 (
13946  OCI_Statement *stmt,
13947  const otext *sql,
13948  ...
13949 );
13950 
13983 OCI_EXPORT boolean OCI_DescribeFmt
13984 (
13985  OCI_Statement *stmt,
13986  const otext *sql,
13987  ...
13988 );
13989 
14051 OCI_EXPORT OCI_HashTable * OCI_API OCI_HashCreate
14052 (
14053  unsigned int size,
14054  unsigned int type
14055 );
14056 
14068 OCI_EXPORT boolean OCI_API OCI_HashFree
14069 (
14070  OCI_HashTable *table
14071 );
14072 
14081 OCI_EXPORT unsigned int OCI_API OCI_HashGetSize
14082 (
14083  OCI_HashTable *table
14084 );
14085 
14104 OCI_EXPORT unsigned int OCI_API OCI_HashGetType
14105 (
14106  OCI_HashTable *table
14107 );
14108 
14122 OCI_EXPORT boolean OCI_API OCI_HashAddString
14123 (
14124  OCI_HashTable *table,
14125  const otext *key,
14126  const otext *value
14127 );
14128 
14141 OCI_EXPORT const otext * OCI_API OCI_HashGetString
14142 (
14143  OCI_HashTable *table,
14144  const otext *key
14145 );
14146 
14160 OCI_EXPORT boolean OCI_API OCI_HashAddInt
14161 (
14162  OCI_HashTable *table,
14163  const otext *key,
14164  int value
14165 );
14166 
14179 OCI_EXPORT int OCI_API OCI_HashGetInt
14180 (
14181  OCI_HashTable *table,
14182  const otext *key
14183 );
14184 
14198 OCI_EXPORT boolean OCI_API OCI_HashAddPointer
14199 (
14200  OCI_HashTable *table,
14201  const otext *key,
14202  void *value
14203 );
14204 
14217 OCI_EXPORT void * OCI_API OCI_HashGetPointer
14218 (
14219  OCI_HashTable *table,
14220  const otext *key
14221 );
14222 
14236 OCI_EXPORT OCI_HashEntry * OCI_API OCI_HashLookup
14237 (
14238  OCI_HashTable *table,
14239  const otext *key,
14240  boolean create
14241 );
14242 
14255 OCI_EXPORT OCI_HashValue * OCI_API OCI_HashGetValue
14256 (
14257  OCI_HashTable *table,
14258  const otext *key
14259 );
14260 
14276 OCI_EXPORT OCI_HashEntry * OCI_API OCI_HashGetEntry
14277 (
14278  OCI_HashTable *table,
14279  unsigned int index
14280 );
14281 
14332 OCI_EXPORT OCI_Mutex * OCI_API OCI_MutexCreate
14333 (
14334  void
14335 );
14336 
14348 OCI_EXPORT boolean OCI_API OCI_MutexFree
14349 (
14350  OCI_Mutex *mutex
14351 );
14352 
14364 OCI_EXPORT boolean OCI_API OCI_MutexAcquire
14365 (
14366  OCI_Mutex *mutex
14367 );
14368 
14380 OCI_EXPORT boolean OCI_API OCI_MutexRelease
14381 (
14382  OCI_Mutex *mutex
14383 );
14384 
14394 OCI_EXPORT OCI_Thread * OCI_API OCI_ThreadCreate
14395 (
14396  void
14397 );
14398 
14410 OCI_EXPORT boolean OCI_API OCI_ThreadFree
14411 (
14412  OCI_Thread *thread
14413 );
14414 
14428 OCI_EXPORT boolean OCI_API OCI_ThreadRun
14429 (
14430  OCI_Thread *thread,
14431  POCI_THREAD proc,
14432  void *arg
14433 );
14434 
14449 OCI_EXPORT boolean OCI_API OCI_ThreadJoin
14450 (
14451  OCI_Thread *thread
14452 );
14453 
14470 OCI_EXPORT boolean OCI_API OCI_ThreadKeyCreate
14471 (
14472  const otext *name,
14473  POCI_THREADKEYDEST destfunc
14474 );
14475 
14488 OCI_EXPORT boolean OCI_API OCI_ThreadKeySetValue
14489 (
14490  const otext *name,
14491  void *value
14492 );
14493 
14505 OCI_EXPORT void * OCI_API OCI_ThreadKeyGetValue
14506 (
14507  const otext *name
14508 );
14509 
14604 OCI_EXPORT OCI_DirPath * OCI_API OCI_DirPathCreate
14605 (
14606  OCI_TypeInfo *typinf,
14607  const otext *partition,
14608  unsigned int nb_cols,
14609  unsigned int nb_rows
14610 );
14611 
14622 OCI_EXPORT boolean OCI_API OCI_DirPathFree
14623 (
14624  OCI_DirPath *dp
14625 );
14626 
14648 OCI_EXPORT boolean OCI_API OCI_DirPathSetColumn
14649 (
14650  OCI_DirPath *dp,
14651  unsigned int index,
14652  const otext *name,
14653  unsigned int maxsize,
14654  const otext *format
14655 );
14656 
14669 OCI_EXPORT boolean OCI_API OCI_DirPathPrepare
14670 (
14671  OCI_DirPath *dp
14672 );
14673 
14714 OCI_EXPORT boolean OCI_API OCI_DirPathSetEntry
14715 (
14716  OCI_DirPath *dp,
14717  unsigned int row,
14718  unsigned int index,
14719  void *value,
14720  unsigned size,
14721  boolean complete
14722 );
14723 
14754 OCI_EXPORT unsigned int OCI_API OCI_DirPathConvert
14755 (
14756  OCI_DirPath *dp
14757 );
14758 
14781 OCI_EXPORT unsigned int OCI_API OCI_DirPathLoad
14782 (
14783  OCI_DirPath *dp
14784 );
14785 
14802 OCI_EXPORT boolean OCI_API OCI_DirPathReset
14803 (
14804  OCI_DirPath *dp
14805 );
14806 
14826 OCI_EXPORT boolean OCI_API OCI_DirPathFinish
14827 (
14828  OCI_DirPath *dp
14829 );
14830 
14850 OCI_EXPORT boolean OCI_API OCI_DirPathAbort
14851 (
14852  OCI_DirPath *dp
14853 );
14854 
14869 OCI_EXPORT boolean OCI_API OCI_DirPathSave
14870 (
14871  OCI_DirPath *dp
14872 );
14873 
14885 OCI_EXPORT boolean OCI_API OCI_DirPathFlushRow
14886 (
14887  OCI_DirPath *dp
14888 );
14889 
14906 OCI_EXPORT boolean OCI_API OCI_DirPathSetCurrentRows
14907 (
14908  OCI_DirPath *dp,
14909  unsigned int nb_rows
14910 );
14911 
14924 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetCurrentRows
14925 (
14926  OCI_DirPath *dp
14927 );
14928 
14941 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetMaxRows
14942 (
14943  OCI_DirPath *dp
14944 );
14945 
14964 OCI_EXPORT boolean OCI_API OCI_DirPathSetDateFormat
14965 (
14966  OCI_DirPath *dp,
14967  const otext *format
14968 );
14969 
15001 OCI_EXPORT boolean OCI_API OCI_DirPathSetParallel
15002 (
15003  OCI_DirPath *dp,
15004  boolean value
15005 );
15006 
15026 OCI_EXPORT boolean OCI_API OCI_DirPathSetNoLog
15027 (
15028  OCI_DirPath *dp,
15029  boolean value
15030 );
15031 
15051 OCI_EXPORT boolean OCI_API OCI_DirPathSetCacheSize
15052 (
15053  OCI_DirPath *dp,
15054  unsigned int size
15055 );
15056 
15072 OCI_EXPORT boolean OCI_API OCI_DirPathSetBufferSize
15073 (
15074  OCI_DirPath *dp,
15075  unsigned int size
15076 );
15077 
15101 OCI_EXPORT boolean OCI_API OCI_DirPathSetConvertMode
15102 (
15103  OCI_DirPath *dp,
15104  unsigned int mode
15105 );
15106 
15118 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetRowCount
15119 (
15120  OCI_DirPath *dp
15121 );
15122 
15138 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetAffectedRows
15139 (
15140  OCI_DirPath *dp
15141 );
15142 
15172 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetErrorColumn
15173 (
15174  OCI_DirPath *dp
15175 );
15176 
15214 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetErrorRow
15215 (
15216  OCI_DirPath *dp
15217 );
15218 
15315 OCI_EXPORT OCI_Msg * OCI_API OCI_MsgCreate
15316 (
15317  OCI_TypeInfo *typinf
15318 );
15319 
15334 OCI_EXPORT boolean OCI_API OCI_MsgFree
15335 (
15336  OCI_Msg *msg
15337 );
15338 
15358 OCI_EXPORT boolean OCI_API OCI_MsgReset
15359 (
15360  OCI_Msg *msg
15361 );
15362 
15374 OCI_EXPORT OCI_Object * OCI_API OCI_MsgGetObject
15375 (
15376  OCI_Msg *msg
15377 );
15378 
15391 OCI_EXPORT boolean OCI_API OCI_MsgSetObject
15392 (
15393  OCI_Msg *msg,
15394  OCI_Object *obj
15395 );
15396 
15413 OCI_EXPORT boolean OCI_API OCI_MsgGetRaw
15414 (
15415  OCI_Msg *msg,
15416  void *raw,
15417  unsigned int *size
15418 );
15419 
15433 OCI_EXPORT boolean OCI_API OCI_MsgSetRaw
15434 (
15435  OCI_Msg *msg,
15436  const void *raw,
15437  unsigned int size
15438 );
15439 
15448 OCI_EXPORT int OCI_API OCI_MsgGetAttemptCount
15449 (
15450  OCI_Msg *msg
15451 );
15452 
15464 OCI_EXPORT int OCI_API OCI_MsgGetEnqueueDelay
15465 (
15466  OCI_Msg *msg
15467 );
15468 
15496 OCI_EXPORT boolean OCI_API OCI_MsgSetEnqueueDelay
15497 (
15498  OCI_Msg *msg,
15499  int value
15500 );
15501 
15513 OCI_EXPORT OCI_Date * OCI_API OCI_MsgGetEnqueueTime
15514 (
15515  OCI_Msg *msg
15516 );
15517 
15529 OCI_EXPORT int OCI_API OCI_MsgGetExpiration
15530 (
15531  OCI_Msg *msg
15532 );
15533 
15558 OCI_EXPORT boolean OCI_API OCI_MsgSetExpiration
15559 (
15560  OCI_Msg *msg,
15561  int value
15562 );
15563 
15579 OCI_EXPORT unsigned int OCI_API OCI_MsgGetState
15580 (
15581  OCI_Msg *msg
15582 );
15583 
15595 OCI_EXPORT int OCI_API OCI_MsgGetPriority
15596 (
15597  OCI_Msg *msg
15598 );
15599 
15617 OCI_EXPORT boolean OCI_API OCI_MsgSetPriority
15618 (
15619  OCI_Msg *msg,
15620  int value
15621 );
15622 
15644 OCI_EXPORT boolean OCI_API OCI_MsgGetID
15645 (
15646  OCI_Msg *msg,
15647  void *id,
15648  unsigned int *len
15649 );
15650 
15671 OCI_EXPORT boolean OCI_API OCI_MsgGetOriginalID
15672 (
15673  OCI_Msg *msg,
15674  void *id,
15675  unsigned int *len
15676 );
15677 
15695 OCI_EXPORT boolean OCI_API OCI_MsgSetOriginalID
15696 (
15697  OCI_Msg *msg,
15698  const void *id,
15699  unsigned int len
15700 );
15701 
15713 OCI_EXPORT OCI_Agent * OCI_API OCI_MsgGetSender
15714 (
15715  OCI_Msg *msg
15716 );
15717 
15730 OCI_EXPORT boolean OCI_API OCI_MsgSetSender
15731 (
15732  OCI_Msg *msg,
15733  OCI_Agent *sender
15734 );
15735 
15753 OCI_EXPORT boolean OCI_API OCI_MsgSetConsumers
15754 (
15755  OCI_Msg *msg,
15756  OCI_Agent **consumers,
15757  unsigned int count
15758 );
15759 
15771 OCI_EXPORT const otext * OCI_API OCI_MsgGetCorrelation
15772 (
15773  OCI_Msg *msg
15774 );
15775 
15791 OCI_EXPORT boolean OCI_API OCI_MsgSetCorrelation
15792 (
15793  OCI_Msg *msg,
15794  const otext *correlation
15795 );
15796 
15812 OCI_EXPORT const otext * OCI_API OCI_MsgGetExceptionQueue
15813 (
15814  OCI_Msg *msg
15815 );
15816 
15848 OCI_EXPORT boolean OCI_API OCI_MsgSetExceptionQueue
15849 (
15850  OCI_Msg *msg,
15851  const otext *queue
15852 );
15853 
15881 OCI_EXPORT OCI_Enqueue * OCI_API OCI_EnqueueCreate
15882 (
15883  OCI_TypeInfo *typinf,
15884  const otext *name
15885 );
15886 
15898 OCI_EXPORT boolean OCI_API OCI_EnqueueFree
15899 (
15900  OCI_Enqueue *enqueue
15901 );
15902 
15915 OCI_EXPORT boolean OCI_API OCI_EnqueuePut
15916 (
15917  OCI_Enqueue *enqueue,
15918  OCI_Msg *msg
15919 );
15920 
15949 OCI_EXPORT boolean OCI_API OCI_EnqueueSetSequenceDeviation
15950 (
15951  OCI_Enqueue *enqueue,
15952  unsigned int sequence
15953 );
15954 
15966 OCI_EXPORT unsigned int OCI_API OCI_EnqueueGetSequenceDeviation
15967 (
15968  OCI_Enqueue *enqueue
15969 );
15970 
15991 OCI_EXPORT boolean OCI_API OCI_EnqueueSetVisibility
15992 (
15993  OCI_Enqueue *enqueue,
15994  unsigned int visibility
15995 );
15996 
16008 OCI_EXPORT unsigned int OCI_API OCI_EnqueueGetVisibility
16009 (
16010  OCI_Enqueue *enqueue
16011 );
16012 
16036 OCI_EXPORT boolean OCI_API OCI_EnqueueSetRelativeMsgID
16037 (
16038  OCI_Enqueue *enqueue,
16039  const void *id,
16040  unsigned int len
16041 );
16042 
16063 OCI_EXPORT boolean OCI_API OCI_EnqueueGetRelativeMsgID
16064 (
16065  OCI_Enqueue *enqueue,
16066  void *id,
16067  unsigned int *len
16068 );
16069 
16097 OCI_EXPORT OCI_Dequeue * OCI_API OCI_DequeueCreate
16098 (
16099  OCI_TypeInfo *typinf,
16100  const otext *name
16101 );
16102 
16114 OCI_EXPORT boolean OCI_API OCI_DequeueFree
16115 (
16116  OCI_Dequeue *dequeue
16117 );
16118 
16139 OCI_EXPORT OCI_Msg * OCI_API OCI_DequeueGet
16140 (
16141  OCI_Dequeue *dequeue
16142 );
16143 
16165 OCI_EXPORT boolean OCI_API OCI_DequeueSubscribe
16166 (
16167  OCI_Dequeue *dequeue,
16168  unsigned int port,
16169  unsigned int timeout,
16170  POCI_NOTIFY_AQ callback
16171 );
16172 
16184 OCI_EXPORT boolean OCI_API OCI_DequeueUnsubscribe
16185 (
16186  OCI_Dequeue *dequeue
16187 );
16188 
16205 OCI_EXPORT boolean OCI_API OCI_DequeueSetConsumer
16206 (
16207  OCI_Dequeue *dequeue,
16208  const otext *consumer
16209 );
16210 
16222 OCI_EXPORT const otext * OCI_API OCI_DequeueGetConsumer
16223 (
16224  OCI_Dequeue *dequeue
16225 );
16226 
16243 OCI_EXPORT boolean OCI_API OCI_DequeueSetCorrelation
16244 (
16245  OCI_Dequeue *dequeue,
16246  const otext *pattern
16247 );
16248 
16260 OCI_EXPORT const otext * OCI_API OCI_DequeueGetCorrelation
16261 (
16262  OCI_Dequeue *dequeue
16263 );
16264 
16281 OCI_EXPORT boolean OCI_API OCI_DequeueSetRelativeMsgID
16282 (
16283  OCI_Dequeue *dequeue,
16284  const void *id,
16285  unsigned int len
16286 );
16287 
16304 OCI_EXPORT boolean OCI_API OCI_DequeueGetRelativeMsgID
16305 (
16306  OCI_Dequeue *dequeue,
16307  void *id,
16308  unsigned int *len
16309 );
16310 
16335 OCI_EXPORT boolean OCI_API OCI_DequeueSetVisibility
16336 (
16337  OCI_Dequeue *dequeue,
16338  unsigned int visibility
16339 );
16340 
16352 OCI_EXPORT unsigned int OCI_API OCI_DequeueGetVisibility
16353 (
16354  OCI_Dequeue *dequeue
16355 );
16356 
16380 OCI_EXPORT boolean OCI_API OCI_DequeueSetMode
16381 (
16382  OCI_Dequeue *dequeue,
16383  unsigned int mode
16384 );
16385 
16397 OCI_EXPORT unsigned int OCI_API OCI_DequeueGetMode
16398 (
16399  OCI_Dequeue *dequeue
16400 );
16401 
16434 OCI_EXPORT boolean OCI_API OCI_DequeueSetNavigation
16435 (
16436  OCI_Dequeue *dequeue,
16437  unsigned int position
16438 );
16439 
16451 OCI_EXPORT unsigned int OCI_API OCI_DequeueGetNavigation
16452 (
16453  OCI_Dequeue *dequeue
16454 );
16455 
16479 OCI_EXPORT boolean OCI_API OCI_DequeueSetWaitTime
16480 (
16481  OCI_Dequeue *dequeue,
16482  int timeout
16483 );
16484 
16496 OCI_EXPORT int OCI_API OCI_DequeueGetWaitTime
16497 (
16498  OCI_Dequeue *dequeue
16499 );
16500 
16513 OCI_EXPORT boolean OCI_API OCI_DequeueSetAgentList
16514 (
16515  OCI_Dequeue *dequeue,
16516  OCI_Agent **consumers,
16517  unsigned int count
16518 );
16519 
16543 OCI_EXPORT OCI_Agent * OCI_API OCI_DequeueListen
16544 (
16545  OCI_Dequeue *dequeue,
16546  int timeout
16547 );
16548 
16572 OCI_EXPORT OCI_Agent * OCI_API OCI_AgentCreate
16573 (
16574  OCI_Connection *con,
16575  const otext *name,
16576  const otext *address
16577 );
16578 
16593 OCI_EXPORT boolean OCI_API OCI_AgentFree
16594 (
16595  OCI_Agent *agent
16596 );
16597 
16617 OCI_EXPORT boolean OCI_API OCI_AgentSetName
16618 (
16619  OCI_Agent *agent,
16620  const otext *name
16621 );
16622 
16634 OCI_EXPORT const otext * OCI_API OCI_AgentGetName
16635 (
16636  OCI_Agent *agent
16637 );
16638 
16657 OCI_EXPORT boolean OCI_API OCI_AgentSetAddress
16658 (
16659  OCI_Agent *agent,
16660  const otext *address
16661 );
16662 
16677 OCI_EXPORT const otext * OCI_API OCI_AgentGetAddress
16678 (
16679  OCI_Agent *agent
16680 );
16681 
16723 OCI_EXPORT boolean OCI_API OCI_QueueCreate
16724 (
16725  OCI_Connection *con,
16726  const otext *queue_name,
16727  const otext *queue_table,
16728  unsigned int queue_type,
16729  unsigned int max_retries,
16730  unsigned int retry_delay,
16731  unsigned int retention_time,
16732  boolean dependency_tracking,
16733  const otext *comment
16734 );
16735 
16763 OCI_EXPORT boolean OCI_API OCI_QueueAlter
16764 (
16765  OCI_Connection *con,
16766  const otext *queue_name,
16767  unsigned int max_retries,
16768  unsigned int retry_delay,
16769  unsigned int retention_time,
16770  const otext *comment
16771 );
16772 
16792 OCI_EXPORT boolean OCI_API OCI_QueueDrop
16793 (
16794  OCI_Connection *con,
16795  const otext *queue_name
16796 );
16797 
16819 OCI_EXPORT boolean OCI_API OCI_QueueStart
16820 (
16821  OCI_Connection *con,
16822  const otext *queue_name,
16823  boolean enqueue,
16824  boolean dequeue
16825 );
16826 
16849 OCI_EXPORT boolean OCI_API OCI_QueueStop
16850 (
16851  OCI_Connection *con,
16852  const otext *queue_name,
16853  boolean enqueue,
16854  boolean dequeue,
16855  boolean wait
16856 );
16857 
16911 OCI_EXPORT boolean OCI_API OCI_QueueTableCreate
16912 (
16913  OCI_Connection *con,
16914  const otext *queue_table,
16915  const otext *queue_payload_type,
16916  const otext *storage_clause,
16917  const otext *sort_list,
16918  boolean multiple_consumers,
16919  unsigned int message_grouping,
16920  const otext *comment,
16921  unsigned int primary_instance,
16922  unsigned int secondary_instance,
16923  const otext *compatible
16924 );
16925 
16948 OCI_EXPORT boolean OCI_API OCI_QueueTableAlter
16949 (
16950  OCI_Connection *con,
16951  const otext *queue_table,
16952  const otext *comment,
16953  unsigned int primary_instance,
16954  unsigned int secondary_instance
16955 );
16956 
16981 OCI_EXPORT boolean OCI_API OCI_QueueTableDrop
16982 (
16983  OCI_Connection *con,
16984  const otext *queue_table,
16985  boolean force
16986 );
16987 
17021 OCI_EXPORT boolean OCI_API OCI_QueueTablePurge
17022 (
17023  OCI_Connection *con,
17024  const otext *queue_table,
17025  const otext *purge_condition,
17026  boolean block,
17027  unsigned int delivery_mode
17028 );
17029 
17051 OCI_EXPORT boolean OCI_API OCI_QueueTableMigrate
17052 (
17053  OCI_Connection *con,
17054  const otext *queue_table,
17055  const otext *compatible
17056 );
17057 
17158 OCI_EXPORT OCI_Subscription * OCI_API OCI_SubscriptionRegister
17159 (
17160  OCI_Connection *con,
17161  const otext *name,
17162  unsigned int type,
17163  POCI_NOTIFY handler,
17164  unsigned int port,
17165  unsigned int timeout
17166 );
17167 
17192 OCI_EXPORT boolean OCI_API OCI_SubscriptionUnregister
17193 (
17194  OCI_Subscription *sub
17195 );
17196 
17220 OCI_EXPORT boolean OCI_API OCI_SubscriptionAddStatement
17221 (
17222  OCI_Subscription *sub,
17223  OCI_Statement *stmt
17224 );
17225 
17238 OCI_EXPORT const otext * OCI_API OCI_SubscriptionGetName
17239 (
17240  OCI_Subscription *sub
17241 );
17242 
17255 OCI_EXPORT unsigned int OCI_API OCI_SubscriptionGetPort
17256 (
17257  OCI_Subscription *sub
17258 );
17259 
17272 OCI_EXPORT unsigned int OCI_API OCI_SubscriptionGetTimeout
17273 (
17274  OCI_Subscription *sub
17275 );
17276 
17288 OCI_EXPORT OCI_Connection * OCI_API OCI_SubscriptionGetConnection
17289 (
17290 OCI_Subscription *sub
17291 );
17292 
17322 OCI_EXPORT unsigned int OCI_API OCI_EventGetType
17323 (
17324  OCI_Event *event
17325 );
17326 
17363 OCI_EXPORT unsigned int OCI_API OCI_EventGetOperation
17364 (
17365  OCI_Event *event
17366 );
17367 
17380 OCI_EXPORT const otext * OCI_API OCI_EventGetDatabase
17381 (
17382  OCI_Event *event
17383 );
17384 
17397 OCI_EXPORT const otext * OCI_API OCI_EventGetObject
17398 (
17399  OCI_Event *event
17400 );
17401 
17414 OCI_EXPORT const otext * OCI_API OCI_EventGetRowid
17415 (
17416  OCI_Event *event
17417 );
17418 
17431 OCI_EXPORT OCI_Subscription * OCI_API OCI_EventGetSubscription
17432 (
17433  OCI_Event *event
17434 );
17435 
17499 OCI_EXPORT boolean OCI_API OCI_DatabaseStartup
17500 (
17501  const otext *db,
17502  const otext *user,
17503  const otext *pwd,
17504  unsigned int sess_mode,
17505  unsigned int start_mode,
17506  unsigned int start_flag,
17507  const otext *spfile
17508 );
17509 
17564 OCI_EXPORT boolean OCI_API OCI_DatabaseShutdown
17565 (
17566  const otext *db,
17567  const otext *user,
17568  const otext *pwd,
17569  unsigned int sess_mode,
17570  unsigned int shut_mode,
17571  unsigned int shut_flag
17572 );
17573 
17618 OCI_EXPORT const void * OCI_API OCI_HandleGetEnvironment
17619 (
17620  void
17621 );
17622 
17634 OCI_EXPORT const void * OCI_API OCI_HandleGetContext
17635 (
17636  OCI_Connection *con
17637 );
17638 
17650 OCI_EXPORT const void * OCI_API OCI_HandleGetServer
17651 (
17652  OCI_Connection *con
17653 );
17654 
17666 OCI_EXPORT const void * OCI_API OCI_HandleGetError
17667 (
17668  OCI_Connection *con
17669 );
17670 
17682 OCI_EXPORT const void * OCI_API OCI_HandleGetSession
17683 (
17684  OCI_Connection *con
17685 );
17686 
17698 OCI_EXPORT const void * OCI_API OCI_HandleGetTransaction
17699 (
17700  OCI_Transaction *trans
17701 );
17702 
17714 OCI_EXPORT const void * OCI_API OCI_HandleGetStatement
17715 (
17716  OCI_Statement *stmt
17717 );
17718 
17730 OCI_EXPORT const void * OCI_API OCI_HandleGetLob
17731 (
17732  OCI_Lob *lob
17733 );
17734 
17746 OCI_EXPORT const void * OCI_API OCI_HandleGetFile
17747 (
17748  OCI_File *file
17749 );
17750 
17762 OCI_EXPORT const void * OCI_API OCI_HandleGetDate
17763 (
17764  OCI_Date *date
17765 );
17766 
17778 OCI_EXPORT const void * OCI_API OCI_HandleGetTimestamp
17779 (
17780  OCI_Timestamp *tmsp
17781 );
17782 
17794 OCI_EXPORT const void * OCI_API OCI_HandleGetInterval
17795 (
17796  OCI_Interval *itv
17797 );
17798 
17810 OCI_EXPORT const void * OCI_API OCI_HandleGetObject
17811 (
17812  OCI_Object *obj
17813 );
17814 
17826 OCI_EXPORT const void * OCI_API OCI_HandleGetColl
17827 (
17828  OCI_Coll *coll
17829 );
17830 
17842 OCI_EXPORT const void * OCI_API OCI_HandleGetRef
17843 (
17844  OCI_Ref *ref
17845 );
17846 
17858 OCI_EXPORT const void * OCI_API OCI_HandleGetMutex
17859 (
17860  OCI_Mutex *mutex
17861 );
17862 
17874 OCI_EXPORT const void * OCI_API OCI_HandleGetThreadID
17875 (
17876  OCI_Thread *thread
17877 );
17878 
17890 OCI_EXPORT const void * OCI_API OCI_HandleGetThread
17891 (
17892  OCI_Thread *thread
17893 );
17894 
17906 OCI_EXPORT const void * OCI_API OCI_HandleGetDirPathCtx
17907 (
17908  OCI_DirPath *dp
17909 );
17910 
17922 OCI_EXPORT const void * OCI_API OCI_HandleGetDirPathColArray
17923 (
17924  OCI_DirPath *dp
17925 );
17926 
17938 OCI_EXPORT const void * OCI_API OCI_HandleGetDirPathStream
17939 (
17940  OCI_DirPath *dp
17941 );
17942 
17954 OCI_EXPORT const void * OCI_API OCI_HandleGetSubscription
17955 (
17956  OCI_Subscription *sub
17957 );
17958 
17963 #ifdef __cplusplus
17964 }
17965 #endif
17966 
17980 /* Compatibility with sources built with older versions of OCILIB */
17981 
17982 /* macros added in version 2.3.0 */
17983 
17984 #define OCI_CreateConnection OCI_ConnectionCreate
17985 #define OCI_FreeConnection OCI_ConnectionFree
17986 #define OCI_CreateStatement OCI_StatementCreate
17987 #define OCI_FreeStatement OCI_StatementFree
17988 
17989 /* macros added in version 2.4.0 */
17990 
17991 #define OCI_CreateTransaction OCI_TransactionCreate
17992 #define OCI_FreeTransaction OCI_TransactionFree
17993 #define OCI_CreateHashTable OCI_HashCreate
17994 #define OCI_FreeHashTable OCI_HashFree
17995 
17996 /* macros added in version 3.0.0 */
17997 
17998 #define OCI_GetColumnName OCI_ColumnGetName
17999 #define OCI_GetColumnType OCI_ColumnGetType
18000 #define OCI_GetColumnCharsetForm OCI_ColumnGetCharsetForm
18001 #define OCI_GetColumnSQLType OCI_ColumnGetSQLType
18002 #define OCI_GetColumnFullSQLType OCI_ColumnGetFullSQLType
18003 #define OCI_GetColumnSize OCI_ColumnGetSize
18004 #define OCI_GetColumnScale OCI_ColumnGetScale
18005 #define OCI_GetColumnPrecision OCI_ColumnGetPrecision
18006 #define OCI_GetColumnFractionnalPrecision OCI_ColumnGetFractionnalPrecision
18007 #define OCI_GetColumnLeadingPrecision OCI_ColumnGetLeadingPrecision
18008 #define OCI_GetColumnNullable OCI_ColumnGetNullable
18009 #define OCI_GetColumnCharUsed OCI_ColumnGetCharUsed
18010 
18011 #define OCI_GetFormatDate(s) OCI_GetDefaultFormatDate(OCI_StatementGetConnection(s))
18012 #define OCI_SetFormatDate(s, f) OCI_SetDefaultFormatDate(OCI_StatementGetConnection(s), f)
18013 
18014 #define OCI_ERR_API OCI_ERR_ORACLE
18015 
18016 /* macros added in version 3.2.0 */
18017 
18018 #define OCI_ERR_NOT_SUPPORTED OCI_ERR_DATATYPE_NOT_SUPPORTED
18019 #define OCI_SCHEMA_TABLE OCI_TIF_TABLE
18020 #define OCI_SCHEMA_VIEW OCI_TIF_VIEW
18021 #define OCI_SCHEMA_TYPE OCI_TIF_TYPE
18022 
18023 #define OCI_Schema OCI_TypeInfo
18024 
18025 #define OCI_SchemaGet OCI_TypeInfoGet
18026 #define OCI_SchemaFree OCI_TypeInfoFree
18027 #define OCI_SchemaGetColumnCount OCI_TypeInfoGetColumnCount
18028 #define OCI_SchemaGetColumn OCI_TypeInfoGetColumn
18029 #define OCI_SchemaGetName OCI_TypeInfoGetName
18030 
18031 #define OCI_ColumnGetFractionnalPrecision OCI_ColumnGetFractionalPrecision
18032 
18033 /* macro added in version 3.3.0 */
18034 
18061 #define OCI_SetNull(stmt, index) \
18062  OCI_BindSetNull(OCI_GetBind(stmt, index))
18063 
18087 #define OCI_SetNull2(stmt, name) \
18088  OCI_BindSetNull(OCI_GetBind2(stmt, name))
18089 
18118 #define OCI_SetNullAtPos(stmt, index, position) \
18119  OCI_BindSetNullAtPos(OCI_GetBind(stmt, index), position)
18120 
18149 #define OCI_SetNullAtPos2(stmt, name, position) \
18150  OCI_BindSetNullAtPos(OCI_GetBind2(stmt, name), position)
18151 
18152 /* macro added in version 3.4.0 */
18153 
18154 #define OCI_8 OCI_8_1
18155 #define OCI_9 OCI_9_0
18156 #define OCI_10 OCI_10_1
18157 #define OCI_11 OCI_11_1
18158 
18159 /* macro added in version 3.6.0 */
18160 
18161 #define OCI_CHAR_UNICODE OCI_CHAR_WIDE
18162 #define OCI_CSF_CHARSET OCI_CSF_DEFAULT
18163 
18164 /* macro added in version 3.7.0 */
18165 
18166 #define OCI_ConnPool OCI_Pool
18167 
18168 #define OCI_ConnPoolCreate(db, us, pw, mo, mi, ma, in) \
18169  OCI_PoolCreate(db, us, pw, OCI_POOL_CONNECTION, mo, mi, ma, in)
18170 
18171 #define OCI_ConnPoolGetConnection(p) \
18172  OCI_PoolGetConnection(p, NULL)
18173 
18174 #define OCI_ConnPoolFree OCI_PoolFree
18175 #define OCI_ConnPoolGetTimeout OCI_PoolGetConnection
18176 #define OCI_ConnPoolSetTimeout OCI_PoolSetTimeout
18177 #define OCI_ConnPoolGetNoWait OCI_PoolGetNoWait
18178 #define OCI_ConnPoolSetNoWait OCI_PoolSetNoWait
18179 #define OCI_ConnPoolGetBusyCount OCI_PoolGetBusyCount
18180 #define OCI_ConnPoolGetOpenedCount OCI_PoolGetOpenedCount
18181 #define OCI_ConnPoolGetMin OCI_PoolGetMin
18182 #define OCI_ConnPoolGetMax OCI_PoolGetMax
18183 #define OCI_ConnPoolGetIncrement OCI_PoolGetIncrement
18184 
18185 /* macro added in version 3.8.0 */
18186 
18187 #define OCI_ObjectGetTimeStamp OCI_ObjectGetTimestamp
18188 #define OCI_ElemGetTimeStamp OCI_ElemGetTimestamp
18189 #define OCI_TimestampSysTimeStamp OCI_TimestampSysTimestamp
18190 
18191 /* macro added in version 4.0.0 */
18192 
18193 #define OCI_CollSetAt OCI_CollSetElem
18194 #define OCI_CollGetAt OCI_CollGetElem
18195 #define OCI_CollGetAt2 OCI_CollGetElem2
18196 
18197 #define OCI_GetCharsetMetaData OCI_GetCharset
18198 #define OCI_GetCharsetUserData OCI_GetCharset
18199 #define OCI_SIZE_TRACE_INF0 OCI_SIZE_TRACE_INFO
18200 
18201 #define MT(x) OTEXT(x)
18202 #define mtext otext
18203 #define DT(x) OTEXT(x)
18204 #define dtext otext
18205 
18206 #define mtsdup ostrdup
18207 #define mtscpy ostrcpy
18208 #define mtsncpy ostrncpy
18209 #define mtscat ostrcat
18210 #define mtsncat ostrncat
18211 #define mtslen ostrlen
18212 #define mtscmp ostrcmp
18213 #define mtscasecmp ostrcasecmp
18214 #define mtsprintf osprintf
18215 #define mtstol ostrtol
18216 #define mtsscanf osscanf
18217 
18218 #define dtsdup ostrdup
18219 #define dtscpy ostrcpy
18220 #define dtsncpy ostrncpy
18221 #define dtscat ostrcat
18222 #define dtsncat ostrncat
18223 #define dtslen ostrlen
18224 #define dtscmp ostrcmp
18225 #define dtscasecmp ostrcasecmp
18226 #define dtsprintf osprintf
18227 #define dtstol ostrtol
18228 #define dtsscanf osscanf
18229 
18230 /* macro added in version 4.1.0 */
18231 
18232 #define OCI_SetDefaultFormatDate(con, fmt) OCI_SetFormat(cn, OCI_FMT_DATE, fmt)
18233 #define OCI_SetDefaultFormatNumeric(con, fmt) OCI_SetFormat(cn, OCI_FMT_NUMERIC, fmt)
18234 
18235 #define OCI_GetDefaultFormatDate(con) OCI_GetFormat(cn, OCI_FMT_DATE)
18236 #define OCI_GetDefaultFormatNumeric(con) OCI_GetFormat(cn, OCI_FMT_NUMERIC)
18237 
18238 #define OCI_STRING_FORMAT_NUM_BIN OCI_STRING_FORMAT_NUM_BDOUBLE
18239 
18244 #endif /* OCILIB_H_INCLUDED */
18245 
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.
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.
struct OCI_Mutex OCI_Mutex
OCILIB encapsulation of OCI mutexes.
Definition: ocilib.h:710
struct OCI_Agent OCI_Agent
OCILIB encapsulation of A/Q Agent.
Definition: ocilib.h:770
OCI_EXPORT unsigned int OCI_API OCI_GetLongMode(OCI_Statement *stmt)
Return the long data type 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.
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:1047
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.
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.
struct OCI_Connection OCI_Connection
Oracle physical connection.
Definition: ocilib.h:443
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_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.
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 data type.
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.
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.
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
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.
struct OCI_XID OCI_XID
Global transaction identifier.
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.
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.
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.
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.
struct OCI_Interval OCI_Interval
Oracle internal interval representation.
Definition: ocilib.h:609
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.
struct OCI_Dequeue OCI_Dequeue
OCILIB encapsulation of A/Q dequeuing operations.
Definition: ocilib.h:780
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
struct OCI_Statement OCI_Statement
Oracle SQL or PL/SQL statement.
Definition: ocilib.h:455
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.
struct OCI_Enqueue OCI_Enqueue
OCILIB encapsulation of A/Q enqueuing operations.
Definition: ocilib.h:790
OCI_EXPORT int OCI_API OCI_DateAssign(OCI_Date *date, OCI_Date *date_src)
Assign the value of a date handle to another one.
struct OCI_Bind OCI_Bind
Internal bind representation.
Definition: ocilib.h:467
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.
struct OCI_Subscription OCI_Subscription
OCILIB encapsulation of Oracle DCN notification.
Definition: ocilib.h:740
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.
struct OCI_Pool OCI_Pool
Pool object (session or connection)
Definition: ocilib.h:426
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.
struct OCI_Timestamp OCI_Timestamp
Oracle internal timestamp representation.
Definition: ocilib.h:599
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.
struct OCI_HashEntry OCI_HashEntry
Hash table entry.
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.
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.
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...
struct OCI_Msg OCI_Msg
OCILIB encapsulation of A/Q message.
Definition: ocilib.h:760
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.
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.
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.
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.
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.
struct OCI_Ref OCI_Ref
Oracle REF type representation.
Definition: ocilib.h:666
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 boolean OCI_API OCI_EnableWarnings(boolean value)
Enable or disable Oracle warning notifications.
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.
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.
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.
struct OCI_Date OCI_Date
Oracle internal date representation.
Definition: ocilib.h:589
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)
Verify 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.
struct OCI_Transaction OCI_Transaction
Oracle Transaction.
Definition: ocilib.h:557
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.
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.
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.
struct OCI_Resultset OCI_Resultset
Collection of output columns from a select statement.
Definition: ocilib.h:482
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.
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 boolean OCI_API OCI_SetErrorHandler(POCI_ERROR handler)
Set the global error user handler.
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.
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.
struct OCI_DirPath OCI_DirPath
OCILIB encapsulation of OCI Direct Path handle.
Definition: ocilib.h:730
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.
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.
struct OCI_File OCI_File
Oracle External Large objects:
Definition: ocilib.h:542
OCI_EXPORT OCI_Lob *OCI_API OCI_LobCreate(OCI_Connection *con, unsigned int type)
Create a local temporary Lob instance.
struct OCI_Thread OCI_Thread
OCILIB encapsulation of OCI Threads.
Definition: ocilib.h:720
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 const otext *OCI_API OCI_GetFormat(OCI_Connection *con, unsigned int type)
Return the format string for implicit string conversions of the given type.
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.
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.
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 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 objects.
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 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
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.
struct OCI_HashValue OCI_HashValue
Hash table entry value.
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 data type of the given structure member (identified from position in the resultset) t...
struct OCI_Long OCI_Long
Oracle Long data type.
Definition: ocilib.h:579
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.
struct OCI_TypeInfo OCI_TypeInfo
Type info metadata handle.
Definition: ocilib.h:676
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:974
OCI_EXPORT OCI_Agent *OCI_API OCI_AgentCreate(OCI_Connection *con, const otext *name, const otext *address)
Create an AQ agent object.
struct OCI_HashTable OCI_HashTable
OCILIB implementation of hash tables.
Definition: ocilib.h:686
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 boolean OCI_API OCI_SetFormat(OCI_Connection *con, unsigned int type, const otext *format)
Set the format string for implicit string conversions of the given type.
OCI_EXPORT unsigned int OCI_API OCI_TypeInfoGetColumnCount(OCI_TypeInfo *typinf)
Return 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 data type 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.
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 save-point (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
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 data types values to an OCI_Timestamp handle.
OCI_EXPORT unsigned int OCI_API OCI_ColumnGetSize(OCI_Column *col)
Return the size of the column.
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.
struct OCI_Coll OCI_Coll
Oracle Collections (VARRAYs and Nested Tables) representation.
Definition: ocilib.h:629
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.
struct OCI_Elem OCI_Elem
Oracle Collection item representation.
Definition: ocilib.h:639
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.
struct OCI_Object OCI_Object
Oracle Named types representation.
Definition: ocilib.h:619
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.
struct OCI_Column OCI_Column
Oracle SQL Column and Type member representation.
Definition: ocilib.h:494
OCI_EXPORT OCI_Elem *OCI_API OCI_IterGetNext(OCI_Iter *iter)
Get the next element in the collection.
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.
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.
struct OCI_Iter OCI_Iter
Oracle Collection iterator representation.
Definition: ocilib.h:648
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.
struct OCI_Error OCI_Error
Encapsulates an Oracle or OCILIB exception.
Definition: ocilib.h:700
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.
struct OCI_Event OCI_Event
OCILIB encapsulation of Oracle DCN event.
Definition: ocilib.h:750
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.
struct OCI_Lob OCI_Lob
Oracle Internal Large objects:
Definition: ocilib.h:517
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.