OCILIB (C and C++ Driver for Oracle)  4.6.0
ocilib.h
1 /*
2  * OCILIB - C Driver for Oracle (C Wrapper for Oracle OCI)
3  *
4  * Website: http://www.ocilib.net
5  *
6  * Copyright (c) 2007-2018 Vincent ROGIER <vince.rogier@ocilib.net>
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  */
20 
21 /* IMPORTANT NOTICE
22  *
23  * This file contains explanations about Oracle and OCI technologies.
24  * OCILIB is a wrapper around OCI and thus exposes OCI features.
25  * The OCILIB documentation intends to explain Oracle / OCI concepts
26  * and is naturally based on the official Oracle OCI documentation.
27  *
28  * Some parts of OCILIB documentation may include some informations
29  * taken and adapted from the following Oracle documentations :
30  * - Oracle Call Interface Programmer's Guide
31  * - Oracle Streams - Advanced Queuing User's Guide
32  */
33 
34 #ifndef OCILIB_H_INCLUDED
35 #define OCILIB_H_INCLUDED
36 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif /* __cplusplus */
40 
41 
48 /* --------------------------------------------------------------------------------------------- *
49  * Platform configuration
50  * --------------------------------------------------------------------------------------------- */
51 
52 #ifdef HAVE_CONFIG_H
53  #include <config.h>
54 #endif
55 
56 /* --------------------------------------------------------------------------------------------- *
57  * C headers
58  * --------------------------------------------------------------------------------------------- */
59 
60 #include <stdlib.h>
61 #include <stdio.h>
62 #include <stdarg.h>
63 #include <ctype.h>
64 #include <wctype.h>
65 #include <string.h>
66 #include <time.h>
67 #include <limits.h>
68 
69 /* --------------------------------------------------------------------------------------------- *
70  * MS Windows platform detection
71  * --------------------------------------------------------------------------------------------- */
72 
73 #ifndef _WINDOWS
74  #if defined(_WIN32)|| defined(WIN32) || defined(_WIN64) || defined(WIN64) || defined(_WIN32_WINNT)
75  #define _WINDOWS
76  #endif
77 #endif
78 
79 #ifdef _WINDOWS
80  #ifdef boolean
81  #undef boolean
82  #endif
83  #include <windows.h>
84  #ifdef boolean
85  #undef boolean
86  #endif
87 #endif
88 
89 /* --------------------------------------------------------------------------------------------- *
90  * OCILIB version information
91  * --------------------------------------------------------------------------------------------- */
92 
93 #define OCILIB_MAJOR_VERSION 4
94 #define OCILIB_MINOR_VERSION 6
95 #define OCILIB_REVISION_VERSION 0
96 
97 /* Import mode */
98 
99 #define OCI_IMPORT_MODE_LINKAGE 1
100 #define OCI_IMPORT_MODE_RUNTIME 2
101 
102 #ifdef OCI_IMPORT_RUNTIME
103  #undef OCI_IMPORT_LINKAGE
104 #endif
105 
106 #ifdef OCI_IMPORT_LINKAGE
107  #undef OCI_IMPORT_RUNTIME
108 #endif
109 
110 #if !defined(OCI_IMPORT_RUNTIME) && !defined(OCI_IMPORT_LINKAGE)
111  #define OCI_IMPORT_LINKAGE
112 #endif
113 
114 #ifdef OCI_IMPORT_RUNTIME
115  #define OCI_IMPORT_MODE OCI_IMPORT_MODE_RUNTIME
116 #else
117  #define OCI_IMPORT_MODE OCI_IMPORT_MODE_LINKAGE
118 #endif
119 
120 /* Charset modes */
121 
122 #ifdef OCI_CHARSET_UNICODE
123  #define OCI_CHARSET_WIDE
124 #endif
125 
126 #ifdef OCI_CHARSET_WIDE
127  #undef OCI_CHARSET_ANSI
128 #endif
129 
130 #ifdef OCI_CHARSET_ANSI
131  #undef OCI_CHARSET_ANSI
132 #endif
133 
134 #if !defined(OCI_CHARSET_ANSI) && !defined(OCI_CHARSET_WIDE)
135  #define OCI_CHARSET_ANSI
136 #endif
137 
138 /* Calling convention */
139 
140 #ifndef OCI_API
141  #ifdef _MSC_VER
142  #define OCI_API __stdcall
143  #else
144  #define OCI_API
145  #endif
146 #endif
147 
148 /* Build mode */
149 
150 #ifndef OCI_EXPORT
151  #define OCI_EXPORT
152 #endif
153 
243 #if defined(__cplusplus) && defined(_MSC_VER) && (_MSC_VER < 1300)
244 extern "C++" {
245 #endif
246 
247 #include <wchar.h>
248 
249 #if defined(__cplusplus) && defined(_MSC_VER) && (_MSC_VER < 1300)
250 }
251 #endif
252 
253 /* Charset macros */
254 
255 #define OCI_CHAR_ANSI 1
256 #define OCI_CHAR_WIDE 2
257 
258 #ifdef OCI_CHARSET_ANSI
259  typedef char otext;
260  #define OTEXT(x) x
261  #define OCI_CHAR_TEXT OCI_CHAR_ANSI
262 #else
263  typedef wchar_t otext;
264  #define OTEXT(x) L ## x
265  #define OCI_CHAR_TEXT OCI_CHAR_WIDE
266 #endif
267 
268 /*
269  For ISO conformance, strdup/wcsdup/stricmp/strncasecmp are not used.
270  All wide char routines are part of the 1995 Normative Addendum 1 to the ISO C90 standard.
271  OCILIB also needs an ANSI equivalent to swprintf => ocisprintf
272  Thus OCILIB exports the following helper functions
273 
274 */
275 
276 OCI_EXPORT int ocisprintf
277 (
278  char *str,
279  int size,
280  const char *format,
281  ...
282 );
283 
284 OCI_EXPORT char * ocistrdup
285 (
286  const char * src
287 );
288 
289 OCI_EXPORT int ocistrcasecmp
290 (
291  const char *str1,
292  const char *str2
293 );
294 
295 OCI_EXPORT wchar_t * ociwcsdup
296 (
297  const wchar_t * src
298 );
299 
300 OCI_EXPORT int ociwcscasecmp
301 (
302  const wchar_t *str1,
303  const wchar_t *str2
304 );
305 
306 /* special defines for Microsoft C runtime that is not C ISO compliant */
307 
308 #ifdef _WINDOWS
309 
310  #define vsnprintf _vsnprintf
311  #define swprintf _snwprintf
312 
313 #endif
314 
315 /* helpers mapping macros */
316 
317 #ifdef OCI_CHARSET_ANSI
318  #define ostrdup ocistrdup
319  #define ostrcpy strcpy
320  #define ostrncpy strncpy
321  #define ostrcat strcat
322  #define ostrncat strncat
323  #define ostrlen strlen
324  #define ostrcmp strcmp
325  #define ostrcasecmp ocistrcasecmp
326  #define osprintf ocisprintf
327  #define ostrtol strtol
328  #define osscanf sscanf
329  #define otoupper toupper
330  #define oisdigit isdigit
331 #else
332  #define ostrdup ociwcsdup
333  #define ostrcpy wcscpy
334  #define ostrncpy wcsncpy
335  #define ostrcat wcscat
336  #define ostrncat wcsncat
337  #define ostrlen wcslen
338  #define ostrcmp wcscmp
339  #define ostrcasecmp ociwcscasecmp
340  #define osprintf swprintf
341  #define ostrtol wcstol
342  #define osscanf swscanf
343  #define otoupper towupper
344  #define oisdigit iswdigit
345 
346 #endif
347 
348 /* string size macros */
349 
350 #define otextsize(s) (ostrlen(s) * sizeof(otext))
351 
406 typedef struct OCI_Pool OCI_Pool;
407 
424 
436 
447 typedef struct OCI_Bind OCI_Bind;
448 
463 
474 typedef struct OCI_Column OCI_Column;
475 
497 typedef struct OCI_Lob OCI_Lob;
498 
522 typedef struct OCI_File OCI_File;
523 
538 
559 typedef struct OCI_Long OCI_Long;
560 
568 typedef struct OCI_Number OCI_Number;
569 
578 typedef struct OCI_Date OCI_Date;
579 
589 
598 typedef struct OCI_Interval OCI_Interval;
599 
608 typedef struct OCI_Object OCI_Object;
609 
618 typedef struct OCI_Coll OCI_Coll;
619 
628 typedef struct OCI_Elem OCI_Elem;
629 
637 typedef struct OCI_Iter OCI_Iter;
638 
655 typedef struct OCI_Ref OCI_Ref;
656 
665 typedef struct OCI_TypeInfo OCI_TypeInfo;
666 
676 
689 typedef struct OCI_Error OCI_Error;
690 
699 typedef struct OCI_Mutex OCI_Mutex;
700 
709 typedef struct OCI_Thread OCI_Thread;
710 
719 typedef struct OCI_DirPath OCI_DirPath;
720 
730 
739 typedef struct OCI_Event OCI_Event;
740 
749 typedef struct OCI_Msg OCI_Msg;
750 
759 typedef struct OCI_Agent OCI_Agent;
760 
769 typedef struct OCI_Dequeue OCI_Dequeue;
770 
779 typedef struct OCI_Enqueue OCI_Enqueue;
780 
791 typedef void (*POCI_ERROR)
792 (
793  OCI_Error *err
794 );
795 
807 typedef void (*POCI_THREAD)
808 (
809  OCI_Thread *thread,
810  void *arg
811 );
812 
823 typedef void (*POCI_THREADKEYDEST)
824 (
825  void *data
826 );
827 
838 typedef void (*POCI_NOTIFY)
839 (
840  OCI_Event *event
841 );
842 
853 typedef void (*POCI_NOTIFY_AQ)
854 (
855  OCI_Dequeue *dequeue
856 );
857 
889 typedef unsigned int (*POCI_TAF_HANDLER)
890 (
891  OCI_Connection *con,
892  unsigned int type,
893  unsigned int event
894 );
895 
927 typedef void (*POCI_HA_HANDLER)
928 (
929  OCI_Connection *con,
930  unsigned int source,
931  unsigned int event,
932  OCI_Timestamp *time
933 );
934 
935 /* public structures */
936 
945 typedef struct OCI_XID {
946  long formatID;
947  long gtrid_length;
948  long bqual_length;
949  char data[128];
950 } OCI_XID;
951 
963 typedef union OCI_Variant {
964  /* integers */
965  int num;
966 
967  /* raw data */
968  unsigned char *p_bytes;
969 
970  /* pointer to c natives types */
971  void *p_void;
972  int *p_int;
973  float *p_float;
974  double *p_double;
975  otext *p_text;
976 
977  /* ocilib object types */
978  OCI_Date *p_date;
979  OCI_Interval *p_interval;
980  OCI_Timestamp *p_timestamp;
981  OCI_Long *p_long;
982  OCI_Lob *p_lob;
983  OCI_File *p_file;
984  OCI_Statement *p_stmt;
985  OCI_Column *p_col;
986  OCI_Object *p_obj;
987  OCI_Coll *p_coll;
988  OCI_Iter *p_iter;
989  OCI_Elem *p_elem;
990 } OCI_Variant;
991 
1002 typedef struct OCI_HashValue {
1003  OCI_Variant value;
1004  struct OCI_HashValue *next;
1005 } OCI_HashValue;
1006 
1015 typedef struct OCI_HashEntry {
1016  otext *key;
1017  struct OCI_HashValue *values;
1018  struct OCI_HashEntry *next;
1019 } OCI_HashEntry;
1020 
1030 /* check for long long support */
1031 
1032 #if defined(_LONGLONG) || defined(LONG_LONG_MAX) || defined(LLONG_MAX) || defined(__LONG_LONG_MAX__)
1033 
1034 /* C99 long long supported */
1035 
1036 typedef long long big_int;
1037 typedef unsigned long long big_uint;
1038 
1039  #define OCI_BIG_UINT_ENABLED
1040 
1041 #elif defined(_WINDOWS)
1042 
1043 /* Microsoft extension supported */
1044 
1045 typedef __int64 big_int;
1046 typedef unsigned __int64 big_uint;
1047 
1048  #define OCI_BIG_UINT_ENABLED
1049 
1050 #else
1051 
1052 typedef int big_int;
1053 typedef unsigned int big_uint;
1054 
1055 #endif
1056 
1061 /* boolean values */
1062 
1063 #ifndef TRUE
1064  #define TRUE 1
1065  #define FALSE 0
1066 #endif
1067 
1068 #ifndef boolean
1069  #define boolean int
1070 #endif
1071 
1072 /* oracle OCI key versions*/
1073 
1074 #define OCI_8_0 800
1075 #define OCI_8_1 810
1076 #define OCI_9_0 900
1077 #define OCI_9_2 920
1078 #define OCI_10_1 1010
1079 #define OCI_10_2 1020
1080 #define OCI_11_1 1110
1081 #define OCI_11_2 1120
1082 #define OCI_12_1 1210
1083 #define OCI_12_2 1220
1084 #define OCI_18_1 1810
1085 #define OCI_18_2 1820
1086 #define OCI_18_3 1830
1087 
1088 /* versions extract macros */
1089 
1090 #define OCI_VER_MAJ(v) (unsigned int) ((v)/100)
1091 #define OCI_VER_MIN(v) (unsigned int) (((v)/10) - (((v)/100)*10))
1092 #define OCI_VER_REV(v) (unsigned int) ((v) - (((v)/10)*10))
1093 
1094 /* OCILIB Error types */
1095 
1096 #define OCI_ERR_ORACLE 1
1097 #define OCI_ERR_OCILIB 2
1098 #define OCI_ERR_WARNING 3
1099 
1100 /* OCILIB Error codes */
1101 
1102 #define OCI_ERR_NONE 0
1103 #define OCI_ERR_NOT_INITIALIZED 1
1104 #define OCI_ERR_LOADING_SHARED_LIB 2
1105 #define OCI_ERR_LOADING_SYMBOLS 3
1106 #define OCI_ERR_MULTITHREADED 4
1107 #define OCI_ERR_MEMORY 5
1108 #define OCI_ERR_NOT_AVAILABLE 6
1109 #define OCI_ERR_NULL_POINTER 7
1110 #define OCI_ERR_DATATYPE_NOT_SUPPORTED 8
1111 #define OCI_ERR_PARSE_TOKEN 9
1112 #define OCI_ERR_MAP_ARGUMENT 10
1113 #define OCI_ERR_OUT_OF_BOUNDS 11
1114 #define OCI_ERR_UNFREED_DATA 12
1115 #define OCI_ERR_MAX_BIND 13
1116 #define OCI_ERR_ATTR_NOT_FOUND 14
1117 #define OCI_ERR_MIN_VALUE 15
1118 #define OCI_ERR_NOT_COMPATIBLE 16
1119 #define OCI_ERR_STMT_STATE 17
1120 #define OCI_ERR_STMT_NOT_SCROLLABLE 18
1121 #define OCI_ERR_BIND_ALREADY_USED 19
1122 #define OCI_ERR_BIND_ARRAY_SIZE 20
1123 #define OCI_ERR_COLUMN_NOT_FOUND 21
1124 #define OCI_ERR_DIRPATH_STATE 22
1125 #define OCI_ERR_CREATE_OCI_ENVIRONMENT 23
1126 #define OCI_ERR_REBIND_BAD_DATATYPE 24
1127 #define OCI_ERR_TYPEINFO_DATATYPE 25
1128 #define OCI_ERR_ITEM_NOT_FOUND 26
1129 #define OCI_ERR_ARG_INVALID_VALUE 27
1130 #define OCI_ERR_XA_ENV_FROM_STRING 28
1131 #define OCI_ERR_XA_CONN_FROM_STRING 29
1132 #define OCI_ERR_BIND_EXTERNAL_NOT_ALLOWED 30
1133 
1134 #define OCI_ERR_COUNT 31
1135 
1136 
1137 /* allocated bytes types */
1138 
1139 #define OCI_MEM_ORACLE 1
1140 #define OCI_MEM_OCILIB 2
1141 #define OCI_MEM_ALL (OCI_MEM_ORACLE | OCI_MEM_OCILIB)
1142 
1143 /* binding */
1144 
1145 #define OCI_BIND_BY_POS 0
1146 #define OCI_BIND_BY_NAME 1
1147 #define OCI_BIND_SIZE 6
1148 #define OCI_BIND_MAX 65535
1149 
1150 /* fetching */
1151 
1152 #define OCI_FETCH_SIZE 20
1153 #define OCI_PREFETCH_SIZE 20
1154 #define OCI_LONG_EXPLICIT 1
1155 #define OCI_LONG_IMPLICIT 2
1156 
1157 /* unknown value */
1158 
1159 #define OCI_UNKNOWN 0
1160 
1161 /* C Data Type mapping */
1162 
1163 #define OCI_CDT_NUMERIC 1
1164 #define OCI_CDT_DATETIME 3
1165 #define OCI_CDT_TEXT 4
1166 #define OCI_CDT_LONG 5
1167 #define OCI_CDT_CURSOR 6
1168 #define OCI_CDT_LOB 7
1169 #define OCI_CDT_FILE 8
1170 #define OCI_CDT_TIMESTAMP 9
1171 #define OCI_CDT_INTERVAL 10
1172 #define OCI_CDT_RAW 11
1173 #define OCI_CDT_OBJECT 12
1174 #define OCI_CDT_COLLECTION 13
1175 #define OCI_CDT_REF 14
1176 #define OCI_CDT_BOOLEAN 15
1177 
1178 /* Data Type codes for OCI_ImmediateXXX() calls */
1179 
1180 #define OCI_ARG_SHORT 1
1181 #define OCI_ARG_USHORT 2
1182 #define OCI_ARG_INT 3
1183 #define OCI_ARG_UINT 4
1184 #define OCI_ARG_BIGINT 5
1185 #define OCI_ARG_BIGUINT 6
1186 #define OCI_ARG_DOUBLE 7
1187 #define OCI_ARG_DATETIME 8
1188 #define OCI_ARG_TEXT 9
1189 #define OCI_ARG_LOB 10
1190 #define OCI_ARG_FILE 11
1191 #define OCI_ARG_TIMESTAMP 12
1192 #define OCI_ARG_INTERVAL 13
1193 #define OCI_ARG_RAW 14
1194 #define OCI_ARG_OBJECT 15
1195 #define OCI_ARG_COLLECTION 16
1196 #define OCI_ARG_REF 17
1197 #define OCI_ARG_FLOAT 18
1198 #define OCI_ARG_NUMBER 19
1199 
1200 /* statement types */
1201 
1202 #define OCI_CST_SELECT 1
1203 #define OCI_CST_UPDATE 2
1204 #define OCI_CST_DELETE 3
1205 #define OCI_CST_INSERT 4
1206 #define OCI_CST_CREATE 5
1207 #define OCI_CST_DROP 6
1208 #define OCI_CST_ALTER 7
1209 #define OCI_CST_BEGIN 8
1210 #define OCI_CST_DECLARE 9
1211 #define OCI_CST_CALL 10
1212 #define OCI_CST_MERGE 16
1213 
1214 /* environment modes */
1215 
1216 #define OCI_ENV_DEFAULT 0
1217 #define OCI_ENV_THREADED 1
1218 #define OCI_ENV_CONTEXT 2
1219 #define OCI_ENV_EVENTS 4
1220 
1221 /* sessions modes */
1222 
1223 #define OCI_SESSION_DEFAULT 0x00000000 /* any version */
1224 #define OCI_SESSION_SYSDBA 0x00000002 /* any version */
1225 #define OCI_SESSION_SYSOPER 0x00000004 /* any version */
1226 #define OCI_SESSION_SYSASM 0x00008000 /* From 11gR1 */
1227 #define OCI_SESSION_SYSBKP 0x00020000 /* From 12cR1 */
1228 #define OCI_SESSION_SYSDGD 0x00040000 /* From 12cR1 */
1229 #define OCI_SESSION_SYSKMT 0x00080000 /* From 12cR1 */
1230 #define OCI_SESSION_SYSRAC 0x00100000 /* From 12cR2 */
1231 
1232 #define OCI_SESSION_XA 0x00000001
1233 #define OCI_SESSION_PRELIM_AUTH 0x00000008
1234 
1235 /* change notification types */
1236 
1237 #define OCI_CNT_OBJECTS 1
1238 #define OCI_CNT_ROWS 2
1239 #define OCI_CNT_DATABASES 4
1240 #define OCI_CNT_ALL (OCI_CNT_OBJECTS | OCI_CNT_ROWS | OCI_CNT_DATABASES)
1241 
1242 /* event notification types */
1243 
1244 #define OCI_ENT_STARTUP 1
1245 #define OCI_ENT_SHUTDOWN 2
1246 #define OCI_ENT_SHUTDOWN_ANY 3
1247 #define OCI_ENT_DROP_DATABASE 4
1248 #define OCI_ENT_DEREGISTER 5
1249 #define OCI_ENT_OBJECT_CHANGED 6
1250 
1251 /* event object notification types */
1252 
1253 #define OCI_ONT_INSERT 0x2
1254 #define OCI_ONT_UPDATE 0x4
1255 #define OCI_ONT_DELETE 0x8
1256 #define OCI_ONT_ALTER 0x10
1257 #define OCI_ONT_DROP 0x20
1258 #define OCI_ONT_GENERIC 0x40
1259 
1260 /* database startup modes */
1261 
1262 #define OCI_DB_SPM_START 1
1263 #define OCI_DB_SPM_MOUNT 2
1264 #define OCI_DB_SPM_OPEN 4
1265 #define OCI_DB_SPM_FULL (OCI_DB_SPM_START | OCI_DB_SPM_MOUNT | OCI_DB_SPM_OPEN)
1266 
1267 /* database startup flags */
1268 
1269 #define OCI_DB_SPF_DEFAULT 0
1270 #define OCI_DB_SPF_FORCE 1
1271 #define OCI_DB_SPF_RESTRICT 2
1272 
1273 /* database shutdown modes */
1274 
1275 #define OCI_DB_SDM_SHUTDOWN 1
1276 #define OCI_DB_SDM_CLOSE 2
1277 #define OCI_DB_SDM_DISMOUNT 4
1278 #define OCI_DB_SDM_FULL (OCI_DB_SDM_SHUTDOWN | OCI_DB_SDM_CLOSE | OCI_DB_SDM_DISMOUNT)
1279 
1280 /* database shutdown flags */
1281 
1282 #define OCI_DB_SDF_DEFAULT 0
1283 #define OCI_DB_SDF_TRANS 1
1284 #define OCI_DB_SDF_TRANS_LOCAL 2
1285 #define OCI_DB_SDF_IMMEDIATE 3
1286 #define OCI_DB_SDF_ABORT 4
1287 
1288 /* charset form types */
1289 
1290 #define OCI_CSF_NONE 0
1291 #define OCI_CSF_DEFAULT 1
1292 #define OCI_CSF_NATIONAL 2
1293 
1294 /* statement fetch mode */
1295 
1296 #define OCI_SFM_DEFAULT 0
1297 #define OCI_SFM_SCROLLABLE 0x08
1298 
1299 /* statement fetch direction */
1300 
1301 #define OCI_SFD_ABSOLUTE 0x20
1302 #define OCI_SFD_RELATIVE 0x40
1303 
1304 /* bind allocation mode */
1305 
1306 #define OCI_BAM_EXTERNAL 1
1307 #define OCI_BAM_INTERNAL 2
1308 
1309 /* bind direction mode */
1310 
1311 #define OCI_BDM_IN 1
1312 #define OCI_BDM_OUT 2
1313 #define OCI_BDM_IN_OUT (OCI_BDM_IN | OCI_BDM_OUT)
1314 
1315 /* Column property flags */
1316 
1317 #define OCI_CPF_NONE 0
1318 #define OCI_CPF_IS_IDENTITY 1
1319 #define OCI_CPF_IS_GEN_ALWAYS 2
1320 #define OCI_CPF_IS_GEN_BY_DEFAULT_ON_NULL 4
1321 #define OCI_CPF_IS_LPART 8
1322 #define OCI_CPF_IS_CONID 16
1323 
1324 /* Column collation IDs */
1325 
1326 #define OCI_CCI_NONE 0x00000000
1327 #define OCI_CCI_NLS_COMP 0x00003FFE
1328 #define OCI_CCI_NLS_SORT 0x00003FFD
1329 #define OCI_CCI_NLS_SORT_CI 0x00003FFC
1330 #define OCI_CCI_NLS_SORT_AI 0x00003FFB
1331 #define OCI_CCI_NLS_SORT_CS 0x00003FFA
1332 #define OCI_CCI_NLS_SORT_VAR1 0x00003FF9
1333 #define OCI_CCI_NLS_SORT_VAR1_CI 0x00003FF8
1334 #define OCI_CCI_NLS_SORT_VAR1_AI 0x00003FF7
1335 #define OCI_CCI_NLS_SORT_VAR1_CS 0x00003FF6
1336 #define OCI_CCI_BINARY 0x00003FFF
1337 #define OCI_CCI_BINARY_CI 0x00023FFF
1338 #define OCI_CCI_BINARY_AI 0x00013FFF
1339 
1340 
1341 /* Integer sign flag */
1342 
1343 #define OCI_NUM_UNSIGNED 2
1344 
1345 /* External Integer types */
1346 
1347 #define OCI_NUM_SHORT 4
1348 #define OCI_NUM_INT 8
1349 #define OCI_NUM_BIGINT 16
1350 #define OCI_NUM_FLOAT 32
1351 #define OCI_NUM_DOUBLE 64
1352 #define OCI_NUM_NUMBER 128
1353 
1354 #define OCI_NUM_USHORT (OCI_NUM_SHORT | OCI_NUM_UNSIGNED)
1355 #define OCI_NUM_UINT (OCI_NUM_INT | OCI_NUM_UNSIGNED)
1356 #define OCI_NUM_BIGUINT (OCI_NUM_BIGINT | OCI_NUM_UNSIGNED)
1357 
1358 /* timestamp types */
1359 
1360 #define OCI_TIMESTAMP 1
1361 #define OCI_TIMESTAMP_TZ 2
1362 #define OCI_TIMESTAMP_LTZ 3
1363 
1364 /* interval types */
1365 
1366 #define OCI_INTERVAL_YM 1
1367 #define OCI_INTERVAL_DS 2
1368 
1369 /* long types */
1370 
1371 #define OCI_BLONG 1
1372 #define OCI_CLONG 2
1373 
1374 /* lob types */
1375 
1376 #define OCI_BLOB 1
1377 #define OCI_CLOB 2
1378 #define OCI_NCLOB 3
1379 
1380 /* lob opening mode */
1381 
1382 #define OCI_LOB_READONLY 1
1383 #define OCI_LOB_READWRITE 2
1384 
1385 /* file types */
1386 
1387 #define OCI_BFILE 1
1388 #define OCI_CFILE 2
1389 
1390 /* lob browsing mode */
1391 
1392 #define OCI_SEEK_SET 1
1393 #define OCI_SEEK_END 2
1394 #define OCI_SEEK_CUR 3
1395 
1396 /* type info types */
1397 
1398 #define OCI_TIF_TABLE 1
1399 #define OCI_TIF_VIEW 2
1400 #define OCI_TIF_TYPE 3
1401 
1402 /* object type */
1403 
1404 #define OCI_OBJ_PERSISTENT 1
1405 #define OCI_OBJ_TRANSIENT 2
1406 #define OCI_OBJ_VALUE 3
1407 
1408 /* collection types */
1409 
1410 #define OCI_COLL_VARRAY 1
1411 #define OCI_COLL_NESTED_TABLE 2
1412 #define OCI_COLL_INDEXED_TABLE 3
1413 
1414 /* pool types */
1415 
1416 #define OCI_POOL_CONNECTION 1
1417 #define OCI_POOL_SESSION 2
1418 
1419 /* AQ message state */
1420 
1421 #define OCI_AMS_READY 1
1422 #define OCI_AMS_WAITING 2
1423 #define OCI_AMS_PROCESSED 3
1424 #define OCI_AMS_EXPIRED 4
1425 
1426 /* AQ sequence deviation */
1427 
1428 #define OCI_ASD_BEFORE 2
1429 #define OCI_ASD_TOP 3
1430 
1431 /* AQ message visibility */
1432 
1433 #define OCI_AMV_IMMEDIATE 1
1434 #define OCI_AMV_ON_COMMIT 2
1435 
1436 /* AQ dequeue mode */
1437 
1438 #define OCI_ADM_BROWSE 1
1439 #define OCI_ADM_LOCKED 2
1440 #define OCI_ADM_REMOVE 3
1441 #define OCI_ADM_REMOVE_NODATA 4
1442 
1443 /* AQ dequeue navigation */
1444 
1445 #define OCI_ADN_FIRST_MSG 1
1446 #define OCI_ADN_NEXT_TRANSACTION 2
1447 #define OCI_ADN_NEXT_MSG 3
1448 
1449 /* AQ queue table purge mode */
1450 
1451 #define OCI_APM_BUFFERED 1
1452 #define OCI_APM_PERSISTENT 2
1453 #define OCI_APM_ALL (OCI_APM_BUFFERED | OCI_APM_PERSISTENT)
1454 
1455 /* AQ queue table grouping mode */
1456 
1457 #define OCI_AGM_NONE 0
1458 #define OCI_AGM_TRANSACTIONNAL 1
1459 
1460 /* AQ queue table type */
1461 
1462 #define OCI_AQT_NORMAL 0
1463 #define OCI_AQT_EXCEPTION 1
1464 #define OCI_AQT_NON_PERSISTENT 2
1465 
1466 /* direct path processing return status */
1467 
1468 #define OCI_DPR_COMPLETE 1
1469 #define OCI_DPR_ERROR 2
1470 #define OCI_DPR_FULL 3
1471 #define OCI_DPR_PARTIAL 4
1472 #define OCI_DPR_EMPTY 5
1473 
1474 /* direct path conversion modes */
1475 
1476 #define OCI_DCM_DEFAULT 1
1477 #define OCI_DCM_FORCE 2
1478 
1479 /* trace size constants */
1480 
1481 #define OCI_SIZE_TRACE_ID 64
1482 #define OCI_SIZE_TRACE_MODULE 48
1483 #define OCI_SIZE_TRACE_ACTION 32
1484 #define OCI_SIZE_TRACE_INFO 64
1485 #define OCI_SIZE_TRACE_OPERATION 32
1486 
1487 /* trace types */
1488 
1489 #define OCI_TRC_IDENTITY 1
1490 #define OCI_TRC_MODULE 2
1491 #define OCI_TRC_ACTION 3
1492 #define OCI_TRC_DETAIL 4
1493 #define OCI_TRC_OPERATION 5
1494 
1495 /* Network timeout type */
1496 
1497 #define OCI_NTO_SEND 1
1498 #define OCI_NTO_RECEIVE 2
1499 #define OCI_NTO_CALL 3
1500 
1501 /* HA event type */
1502 
1503 #define OCI_HET_DOWN 0
1504 #define OCI_HET_UP 1
1505 
1506 /* HA event source */
1507 #define OCI_HES_INSTANCE 0
1508 #define OCI_HES_DATABASE 1
1509 #define OCI_HES_NODE 2
1510 #define OCI_HES_SERVICE 3
1511 #define OCI_HES_SERVICE_MEMBER 4
1512 #define OCI_HES_ASM_INSTANCE 5
1513 #define OCI_HES_PRECONNECT 6
1514 
1515 /* Fail over types */
1516 
1517 #define OCI_FOT_NONE 1
1518 #define OCI_FOT_SESSION 2
1519 #define OCI_FOT_SELECT 4
1520 
1521 /* fail over notifications */
1522 
1523 #define OCI_FOE_END 1
1524 #define OCI_FOE_ABORT 2
1525 #define OCI_FOE_REAUTH 4
1526 #define OCI_FOE_BEGIN 8
1527 #define OCI_FOE_ERROR 16
1528 
1529 /* fail over callback return code */
1530 
1531 #define OCI_FOC_OK 0
1532 #define OCI_FOC_RETRY 25410
1533 
1534 /* hash tables support */
1535 
1536 #define OCI_HASH_STRING 1
1537 #define OCI_HASH_INTEGER 2
1538 #define OCI_HASH_POINTER 3
1539 
1540 /* transaction types */
1541 
1542 #define OCI_TRS_NEW 0x00000001
1543 #define OCI_TRS_READONLY 0x00000100
1544 #define OCI_TRS_READWRITE 0x00000200
1545 #define OCI_TRS_SERIALIZABLE 0x00000400
1546 #define OCI_TRS_LOOSE 0x00010000
1547 #define OCI_TRS_TIGHT 0x00020000
1548 
1549 /* format types */
1550 
1551 #define OCI_FMT_DATE 1
1552 #define OCI_FMT_TIMESTAMP 2
1553 #define OCI_FMT_NUMERIC 3
1554 #define OCI_FMT_BINARY_DOUBLE 4
1555 #define OCI_FMT_BINARY_FLOAT 5
1556 #define OCI_FMT_TIMESTAMP_TZ 6
1557 
1558 /* sql function codes */
1559 
1560 #define OCI_SFC_CREATE_TABLE 1
1561 #define OCI_SFC_SET_ROLE 2
1562 #define OCI_SFC_INSERT 3
1563 #define OCI_SFC_SELECT 4
1564 #define OCI_SFC_UPDATE 5
1565 #define OCI_SFC_DROP_ROLE 6
1566 #define OCI_SFC_DROP_VIEW 7
1567 #define OCI_SFC_DROP_TABLE 8
1568 #define OCI_SFC_DELETE 9
1569 #define OCI_SFC_CREATE_VIEW 10
1570 #define OCI_SFC_DROP_USER 11
1571 #define OCI_SFC_CREATE_ROLE 12
1572 #define OCI_SFC_CREATE_SEQUENCE 13
1573 #define OCI_SFC_ALTER_SEQUENCE 14
1574 
1575 #define OCI_SFC_DROP_SEQUENCE 16
1576 #define OCI_SFC_CREATE_SCHEMA 17
1577 #define OCI_SFC_CREATE_CLUSTER 18
1578 #define OCI_SFC_CREATE_USER 19
1579 #define OCI_SFC_CREATE_INDEX 20
1580 #define OCI_SFC_DROP_INDEX 21
1581 #define OCI_SFC_DROP_CLUSTER 22
1582 #define OCI_SFC_VALIDATE_INDEX 23
1583 #define OCI_SFC_CREATE_PROCEDURE 24
1584 #define OCI_SFC_ALTER_PROCEDURE 25
1585 #define OCI_SFC_ALTER_TABLE 26
1586 #define OCI_SFC_EXPLAIN 27
1587 #define OCI_SFC_GRANT 28
1588 #define OCI_SFC_REVOKE 29
1589 #define OCI_SFC_CREATE_SYNONYM 30
1590 #define OCI_SFC_DROP_SYNONYM 31
1591 #define OCI_SFC_ALTER_SYSTEM_SWITCHLOG 32
1592 #define OCI_SFC_SET_TRANSACTION 33
1593 #define OCI_SFC_PLSQL_EXECUTE 34
1594 #define OCI_SFC_LOCK 35
1595 #define OCI_SFC_NOOP 36
1596 #define OCI_SFC_RENAME 37
1597 #define OCI_SFC_COMMENT 38
1598 #define OCI_SFC_AUDIT 39
1599 #define OCI_SFC_NO_AUDIT 40
1600 #define OCI_SFC_ALTER_INDEX 41
1601 #define OCI_SFC_CREATE_EXTERNAL_DATABASE 42
1602 #define OCI_SFC_DROP_EXTERNALDATABASE 43
1603 #define OCI_SFC_CREATE_DATABASE 44
1604 #define OCI_SFC_ALTER_DATABASE 45
1605 #define OCI_SFC_CREATE_ROLLBACK_SEGMENT 46
1606 #define OCI_SFC_ALTER_ROLLBACK_SEGMENT 47
1607 #define OCI_SFC_DROP_ROLLBACK_SEGMENT 48
1608 #define OCI_SFC_CREATE_TABLESPACE 49
1609 #define OCI_SFC_ALTER_TABLESPACE 50
1610 #define OCI_SFC_DROP_TABLESPACE 51
1611 #define OCI_SFC_ALTER_SESSION 52
1612 #define OCI_SFC_ALTER_USER 53
1613 #define OCI_SFC_COMMIT_WORK 54
1614 #define OCI_SFC_ROLLBACK 55
1615 #define OCI_SFC_SAVEPOINT 56
1616 #define OCI_SFC_CREATE_CONTROL_FILE 57
1617 #define OCI_SFC_ALTER_TRACING 58
1618 #define OCI_SFC_CREATE_TRIGGER 59
1619 #define OCI_SFC_ALTER_TRIGGER 60
1620 #define OCI_SFC_DROP_TRIGGER 61
1621 #define OCI_SFC_ANALYZE_TABLE 62
1622 #define OCI_SFC_ANALYZE_INDEX 63
1623 #define OCI_SFC_ANALYZE_CLUSTER 64
1624 #define OCI_SFC_CREATE_PROFILE 65
1625 #define OCI_SFC_DROP_PROFILE 66
1626 #define OCI_SFC_ALTER_PROFILE 67
1627 #define OCI_SFC_DROP_PROCEDURE 68
1628 
1629 #define OCI_SFC_ALTER_RESOURCE_COST 70
1630 #define OCI_SFC_CREATE_SNAPSHOT_LOG 71
1631 #define OCI_SFC_ALTER_SNAPSHOT_LOG 72
1632 #define OCI_SFC_DROP_SNAPSHOT_LOG 73
1633 #define OCI_SFC_DROP_SUMMARY 73
1634 #define OCI_SFC_CREATE_SNAPSHOT 74
1635 #define OCI_SFC_ALTER_SNAPSHOT 75
1636 #define OCI_SFC_DROP_SNAPSHOT 76
1637 #define OCI_SFC_CREATE_TYPE 77
1638 #define OCI_SFC_DROP_TYPE 78
1639 #define OCI_SFC_ALTER_ROLE 79
1640 #define OCI_SFC_ALTER_TYPE 80
1641 #define OCI_SFC_CREATE_TYPE_BODY 81
1642 #define OCI_SFC_ALTER_TYPE_BODY 82
1643 #define OCI_SFC_DROP_TYPE_BODY 83
1644 #define OCI_SFC_DROP_LIBRARY 84
1645 #define OCI_SFC_TRUNCATE_TABLE 85
1646 #define OCI_SFC_TRUNCATE_CLUSTER 86
1647 #define OCI_SFC_CREATE_BITMAPFILE 87
1648 #define OCI_SFC_ALTER_VIEW 88
1649 #define OCI_SFC_DROP_BITMAPFILE 89
1650 #define OCI_SFC_SET_CONSTRAINTS 90
1651 #define OCI_SFC_CREATE_FUNCTION 91
1652 #define OCI_SFC_ALTER_FUNCTION 92
1653 #define OCI_SFC_DROP_FUNCTION 93
1654 #define OCI_SFC_CREATE_PACKAGE 94
1655 #define OCI_SFC_ALTER_PACKAGE 95
1656 #define OCI_SFC_DROP_PACKAGE 96
1657 #define OCI_SFC_CREATE_PACKAGE_BODY 97
1658 #define OCI_SFC_ALTER_PACKAGE_BODY 98
1659 #define OCI_SFC_DROP_PACKAGE_BODY 99
1660 #define OCI_SFC_CREATE_DIRECTORY 157
1661 #define OCI_SFC_DROP_DIRECTORY 158
1662 #define OCI_SFC_CREATE_LIBRARY 159
1663 #define OCI_SFC_CREATE_JAVA 160
1664 #define OCI_SFC_ALTER_JAVA 161
1665 #define OCI_SFC_DROP_JAVA 162
1666 #define OCI_SFC_CREATE_OPERATOR 163
1667 #define OCI_SFC_CREATE_INDEXTYPE 164
1668 #define OCI_SFC_DROP_INDEXTYPE 165
1669 #define OCI_SFC_ALTER_INDEXTYPE 166
1670 #define OCI_SFC_DROP_OPERATOR 167
1671 #define OCI_SFC_ASSOCIATE_STATISTICS 168
1672 #define OCI_SFC_DISASSOCIATE_STATISTICS 169
1673 #define OCI_SFC_CALL_METHOD 170
1674 #define OCI_SFC_CREATE_SUMMARY 171
1675 #define OCI_SFC_ALTER_SUMMARY 172
1676 #define OCI_SFC_CREATE_DIMENSION 174
1677 #define OCI_SFC_ALTER_DIMENSION 175
1678 #define OCI_SFC_DROP_DIMENSION 176
1679 #define OCI_SFC_CREATE_CONTEXT 177
1680 #define OCI_SFC_DROP_CONTEXT 178
1681 #define OCI_SFC_ALTER_OUTLINE 179
1682 #define OCI_SFC_CREATE_OUTLINE 180
1683 #define OCI_SFC_DROP_OUTLINE 181
1684 #define OCI_SFC_UPDATE_INDEXES 182
1685 #define OCI_SFC_ALTER_OPERATOR 183
1686 
1687 /* size constants */
1688 
1689 #define OCI_SIZE_FORMAT 64
1690 #define OCI_SIZE_BUFFER 512
1691 #define OCI_SIZE_LONG ((64*1024)-1)
1692 #define OCI_SIZE_DATE 45
1693 #define OCI_SIZE_TIMESTAMP 54
1694 #define OCI_SIZE_FORMAT_TODATE 14
1695 #define OCI_SIZE_NULL 4
1696 #define OCI_SIZE_PRECISION 10
1697 #define OCI_SIZE_ROWID 23
1698 #define OCI_SIZE_DIRECTORY 30
1699 #define OCI_SIZE_FILENAME 255
1700 #define OCI_SIZE_FORMAT_NUMS 40
1701 #define OCI_SIZE_FORMAT_NUML 65
1702 #define OCI_SIZE_OBJ_NAME 128
1703 
1704 #define OCI_HASH_DEFAULT_SIZE 256
1705 
1706 /* string constants */
1707 
1708 #define OCILIB_DRIVER_NAME OTEXT("OCILIB")
1709 #define OCI_STRING_NULL OTEXT("NULL")
1710 #define OCI_STRING_EMPTY OTEXT("")
1711 #define OCI_STRING_FORMAT_DATE OTEXT("YYYY-MM-DD")
1712 #define OCI_STRING_FORMAT_TIME OTEXT("HH24:MI:SS")
1713 #define OCI_STRING_FORMAT_DATETIME OTEXT("YYYY-MM-DD HH24:MI:SS")
1714 #define OCI_STRING_FORMAT_TIMESTAMP OTEXT("YYYY-MM-DD HH24:MI:SS.FF")
1715 #define OCI_STRING_FORMAT_TIMESTAMP_TZ OTEXT("YYYY-MM-DD HH24:MI:SS.FF TZR")
1716 #define OCI_STRING_DEFAULT_PREC 3
1717 #define OCI_STRING_FORMAT_NUM \
1718  OTEXT("FM99999999999999999999999999999999999990.999999999999999999999999")
1719 #define OCI_STRING_FORMAT_NUM_BDOUBLE OTEXT("%lf")
1720 #define OCI_STRING_FORMAT_NUM_BFLOAT OTEXT("%f")
1721 #define OCI_STRING_FORMAT_NUM_SHORT OTEXT("%hd")
1722 #define OCI_STRING_FORMAT_NUM_INT OTEXT("%d")
1723 #define OCI_STRING_TRUE OTEXT("TRUE")
1724 #define OCI_STRING_FALSE OTEXT("FALSE")
1725 #define OCI_STRING_TRUE_SIZE 4
1726 #define OCI_STRING_FALSE_SIZE 5
1727 
1728 #ifdef _WINDOWS
1729  #define OCI_CHAR_SLASH '\\'
1730 #else
1731  #define OCI_CHAR_SLASH '/'
1732 #endif
1733 
1789 OCI_EXPORT boolean OCI_API OCI_Initialize
1790 (
1791  POCI_ERROR err_handler,
1792  const otext *lib_path,
1793  unsigned int mode
1794 );
1795 
1811 OCI_EXPORT boolean OCI_API OCI_Cleanup
1812 (
1813  void
1814 );
1815 
1827 OCI_EXPORT unsigned int OCI_API OCI_GetOCICompileVersion
1828 (
1829  void
1830 );
1831 
1844 OCI_EXPORT unsigned int OCI_API OCI_GetOCIRuntimeVersion
1845 (
1846  void
1847 );
1848 
1860 OCI_EXPORT unsigned int OCI_API OCI_GetImportMode
1861 (
1862  void
1863 );
1864 
1876 OCI_EXPORT unsigned int OCI_API OCI_GetCharset
1877 (
1878  void
1879 );
1880 
1895 OCI_EXPORT big_uint OCI_API OCI_GetAllocatedBytes
1896 (
1897  unsigned int mem_type
1898 );
1899 
1911 OCI_EXPORT boolean OCI_API OCI_EnableWarnings
1912 (
1913  boolean value
1914 );
1915 
1927 OCI_EXPORT boolean OCI_API OCI_SetErrorHandler
1928 (
1929  POCI_ERROR handler
1930 );
1931 
1954 OCI_EXPORT boolean OCI_API OCI_SetHAHandler
1955 (
1956  POCI_HA_HANDLER handler
1957 );
1958 
2027 OCI_EXPORT OCI_Error * OCI_API OCI_GetLastError
2028 (
2029  void
2030 );
2031 
2040 OCI_EXPORT const otext * OCI_API OCI_ErrorGetString
2041 (
2042  OCI_Error *err
2043 );
2044 
2063 OCI_EXPORT unsigned int OCI_API OCI_ErrorGetType
2064 (
2065  OCI_Error *err
2066 );
2067 
2076 OCI_EXPORT int OCI_API OCI_ErrorGetOCICode
2077 (
2078  OCI_Error *err
2079 );
2080 
2089 OCI_EXPORT int OCI_API OCI_ErrorGetInternalCode
2090 (
2091  OCI_Error *err
2092 );
2093 
2102 OCI_EXPORT OCI_Connection * OCI_API OCI_ErrorGetConnection
2103 (
2104  OCI_Error *err
2105 );
2106 
2118 OCI_EXPORT OCI_Statement * OCI_API OCI_ErrorGetStatement
2119 (
2120  OCI_Error *err
2121 );
2122 
2138 OCI_EXPORT unsigned int OCI_API OCI_ErrorGetRow
2139 (
2140  OCI_Error *err
2141 );
2142 
2220 OCI_EXPORT OCI_Connection * OCI_API OCI_ConnectionCreate
2221 (
2222  const otext *db,
2223  const otext *user,
2224  const otext *pwd,
2225  unsigned int mode
2226 );
2227 
2239 OCI_EXPORT boolean OCI_API OCI_ConnectionFree
2240 (
2241  OCI_Connection *con
2242 );
2243 
2252 OCI_EXPORT boolean OCI_API OCI_IsConnected
2253 (
2254  OCI_Connection *con
2255 );
2256 
2265 OCI_EXPORT void * OCI_API OCI_GetUserData
2266 (
2267  OCI_Connection *con
2268 );
2269 
2282 OCI_EXPORT boolean OCI_API OCI_SetUserData
2283 (
2284  OCI_Connection *con,
2285  void *data
2286 );
2287 
2311 OCI_EXPORT boolean OCI_API OCI_SetSessionTag
2312 (
2313  OCI_Connection *con,
2314  const otext *tag
2315 );
2316 
2325 OCI_EXPORT const otext * OCI_API OCI_GetSessionTag
2326 (
2327  OCI_Connection *con
2328 );
2329 
2338 OCI_EXPORT const otext * OCI_API OCI_GetDatabase
2339 (
2340  OCI_Connection *con
2341 );
2342 
2351 OCI_EXPORT const otext * OCI_API OCI_GetUserName
2352 (
2353  OCI_Connection *con
2354 );
2355 
2364 OCI_EXPORT const otext * OCI_API OCI_GetPassword
2365 (
2366  OCI_Connection *con
2367 );
2368 
2381 OCI_EXPORT boolean OCI_API OCI_SetPassword
2382 (
2383  OCI_Connection *con,
2384  const otext *password
2385 );
2386 
2401 OCI_EXPORT boolean OCI_API OCI_SetUserPassword
2402 (
2403  const otext *db,
2404  const otext *user,
2405  const otext *pwd,
2406  const otext *new_pwd
2407 );
2408 
2420 OCI_EXPORT unsigned int OCI_API OCI_GetSessionMode
2421 (
2422  OCI_Connection *con
2423 );
2424 
2433 OCI_EXPORT const otext * OCI_API OCI_GetVersionServer
2434 (
2435  OCI_Connection *con
2436 );
2437 
2449 OCI_EXPORT unsigned int OCI_API OCI_GetServerMajorVersion
2450 (
2451  OCI_Connection *con
2452 );
2453 
2465 OCI_EXPORT unsigned int OCI_API OCI_GetServerMinorVersion
2466 (
2467  OCI_Connection *con
2468 );
2469 
2481 OCI_EXPORT unsigned int OCI_API OCI_GetServerRevisionVersion
2482 (
2483  OCI_Connection *con
2484 );
2485 
2530 OCI_EXPORT boolean OCI_API OCI_SetFormat
2531 (
2532  OCI_Connection *con,
2533  unsigned int type,
2534  const otext *format
2535 );
2536 
2549 OCI_EXPORT const otext * OCI_API OCI_GetFormat
2550 (
2551  OCI_Connection *con,
2552  unsigned int type
2553 );
2554 
2566 OCI_EXPORT OCI_Transaction * OCI_API OCI_GetTransaction
2567 (
2568  OCI_Connection *con
2569 );
2570 
2587 OCI_EXPORT boolean OCI_API OCI_SetTransaction
2588 (
2589  OCI_Connection *con,
2590  OCI_Transaction *trans
2591 );
2592 
2619 OCI_EXPORT unsigned int OCI_API OCI_GetVersionConnection
2620 (
2621  OCI_Connection *con
2622 );
2623 
2673 OCI_EXPORT boolean OCI_API OCI_SetTrace
2674 (
2675  OCI_Connection *con,
2676  unsigned int trace,
2677  const otext *value
2678 );
2679 
2692 OCI_EXPORT const otext * OCI_API OCI_GetTrace
2693 (
2694  OCI_Connection *con,
2695  unsigned int trace
2696 );
2697 
2713 OCI_EXPORT boolean OCI_API OCI_Ping
2714 (
2715  OCI_Connection *con
2716 );
2717 
2761 OCI_EXPORT boolean OCI_API OCI_SetTimeout
2762 (
2763  OCI_Connection *con,
2764  unsigned int type,
2765  unsigned int value
2766 );
2767 
2783 OCI_EXPORT unsigned int OCI_API OCI_GetTimeout
2784 (
2785  OCI_Connection *con,
2786  unsigned int type
2787 );
2788 
2801 OCI_EXPORT const otext * OCI_API OCI_GetDBName
2802 (
2803  OCI_Connection *con
2804 );
2805 
2818 OCI_EXPORT const otext * OCI_API OCI_GetInstanceName
2819 (
2820  OCI_Connection *con
2821 );
2822 
2823 
2836 OCI_EXPORT const otext * OCI_API OCI_GetServiceName
2837 (
2838  OCI_Connection *con
2839 );
2840 
2841 
2854 OCI_EXPORT const otext * OCI_API OCI_GetServerName
2855 (
2856  OCI_Connection *con
2857 );
2858 
2859 
2872 OCI_EXPORT const otext * OCI_API OCI_GetDomainName
2873 (
2874  OCI_Connection *con
2875 );
2876 
2877 
2891 OCI_EXPORT OCI_Timestamp * OCI_API OCI_GetInstanceStartTime
2892 (
2893  OCI_Connection *con
2894 );
2895 
2911 OCI_EXPORT boolean OCI_API OCI_IsTAFCapable
2912 (
2913  OCI_Connection *con
2914 );
2915 
2935 OCI_EXPORT boolean OCI_API OCI_SetTAFHandler
2936 (
2937  OCI_Connection *con,
2938  POCI_TAF_HANDLER handler
2939 );
2940 
2955 OCI_EXPORT unsigned int OCI_API OCI_GetStatementCacheSize
2956 (
2957  OCI_Connection *con
2958 );
2959 
2975 OCI_EXPORT boolean OCI_API OCI_SetStatementCacheSize
2976 (
2977  OCI_Connection *con,
2978  unsigned int value
2979 );
2980 
3000 OCI_EXPORT unsigned int OCI_API OCI_GetDefaultLobPrefetchSize
3001 (
3002  OCI_Connection *con
3003 );
3004 
3034 OCI_EXPORT boolean OCI_API OCI_SetDefaultLobPrefetchSize
3035 (
3036  OCI_Connection *con,
3037  unsigned int value
3038 );
3039 
3040 
3058 OCI_EXPORT unsigned int OCI_API OCI_GetMaxCursors
3059 (
3060  OCI_Connection *con
3061 );
3062 
3153 OCI_EXPORT OCI_Pool * OCI_API OCI_PoolCreate
3154 (
3155  const otext *db,
3156  const otext *user,
3157  const otext *pwd,
3158  unsigned int type,
3159  unsigned int mode,
3160  unsigned int min_con,
3161  unsigned int max_con,
3162  unsigned int incr_con
3163 );
3164 
3176 OCI_EXPORT boolean OCI_API OCI_PoolFree
3177 (
3178  OCI_Pool *pool
3179 );
3180 
3213 OCI_EXPORT OCI_Connection * OCI_API OCI_PoolGetConnection
3214 (
3215  OCI_Pool *pool,
3216  const otext *tag
3217 );
3218 
3233 OCI_EXPORT unsigned int OCI_API OCI_PoolGetTimeout
3234 (
3235  OCI_Pool *pool
3236 );
3237 
3253 OCI_EXPORT boolean OCI_API OCI_PoolSetTimeout
3254 (
3255  OCI_Pool *pool,
3256  unsigned int value
3257 );
3258 
3272 OCI_EXPORT boolean OCI_API OCI_PoolGetNoWait
3273 (
3274  OCI_Pool *pool
3275 );
3276 
3292 OCI_EXPORT boolean OCI_API OCI_PoolSetNoWait
3293 (
3294  OCI_Pool *pool,
3295  boolean value
3296 );
3297 
3306 OCI_EXPORT unsigned int OCI_API OCI_PoolGetBusyCount
3307 (
3308  OCI_Pool *pool
3309 );
3310 
3319 OCI_EXPORT unsigned int OCI_API OCI_PoolGetOpenedCount
3320 (
3321  OCI_Pool *pool
3322 );
3323 
3332 OCI_EXPORT unsigned int OCI_API OCI_PoolGetMin
3333 (
3334  OCI_Pool *pool
3335 );
3336 
3345 OCI_EXPORT unsigned int OCI_API OCI_PoolGetMax
3346 (
3347  OCI_Pool *pool
3348 );
3349 
3359 OCI_EXPORT unsigned int OCI_API OCI_PoolGetIncrement
3360 (
3361  OCI_Pool *pool
3362 );
3363 
3375 OCI_EXPORT unsigned int OCI_API OCI_PoolGetStatementCacheSize
3376 (
3377  OCI_Pool *pool
3378 );
3379 
3392 OCI_EXPORT boolean OCI_API OCI_PoolSetStatementCacheSize
3393 (
3394  OCI_Pool *pool,
3395  unsigned int value
3396 );
3397 
3445 OCI_EXPORT boolean OCI_API OCI_Commit
3446 (
3447  OCI_Connection *con
3448 );
3449 
3461 OCI_EXPORT boolean OCI_API OCI_Rollback
3462 (
3463  OCI_Connection *con
3464 );
3465 
3480 OCI_EXPORT boolean OCI_API OCI_SetAutoCommit
3481 (
3482  OCI_Connection *con,
3483  boolean enable
3484 );
3485 
3497 OCI_EXPORT boolean OCI_API OCI_GetAutoCommit
3498 (
3499  OCI_Connection *con
3500 );
3501 
3532 OCI_EXPORT OCI_Transaction * OCI_API OCI_TransactionCreate
3533 (
3534  OCI_Connection *con,
3535  unsigned int timeout,
3536  unsigned int mode,
3537  OCI_XID *pxid
3538 );
3539 
3551 OCI_EXPORT boolean OCI_API OCI_TransactionFree
3552 (
3553  OCI_Transaction *trans
3554 );
3555 
3567 OCI_EXPORT boolean OCI_API OCI_TransactionStart
3568 (
3569  OCI_Transaction *trans
3570 );
3571 
3583 OCI_EXPORT boolean OCI_API OCI_TransactionStop
3584 (
3585  OCI_Transaction *trans
3586 );
3587 
3598 OCI_EXPORT boolean OCI_API OCI_TransactionResume
3599 (
3600  OCI_Transaction *trans
3601 );
3602 
3614 OCI_EXPORT boolean OCI_API OCI_TransactionPrepare
3615 (
3616  OCI_Transaction *trans
3617 );
3618 
3630 OCI_EXPORT boolean OCI_API OCI_TransactionForget
3631 (
3632  OCI_Transaction *trans
3633 );
3634 
3649 OCI_EXPORT unsigned int OCI_API OCI_TransactionGetMode
3650 (
3651  OCI_Transaction *trans
3652 );
3653 
3665 OCI_EXPORT unsigned int OCI_API OCI_TransactionGetTimeout
3666 (
3667  OCI_Transaction *trans
3668 );
3669 
3723 OCI_EXPORT OCI_Statement * OCI_API OCI_StatementCreate
3724 (
3725  OCI_Connection *con
3726 );
3727 
3739 OCI_EXPORT boolean OCI_API OCI_StatementFree
3740 (
3741  OCI_Statement *stmt
3742 );
3743 
3758 OCI_EXPORT boolean OCI_API OCI_Prepare
3759 (
3760  OCI_Statement *stmt,
3761  const otext *sql
3762 );
3763 
3783 OCI_EXPORT boolean OCI_API OCI_Execute
3784 (
3785  OCI_Statement *stmt
3786 );
3787 
3808 OCI_EXPORT boolean OCI_API OCI_ExecuteStmt
3809 (
3810  OCI_Statement *stmt,
3811  const otext *sql
3812 );
3813 
3842 OCI_EXPORT boolean OCI_API OCI_Parse
3843 (
3844  OCI_Statement *stmt,
3845  const otext *sql
3846 );
3847 
3880 OCI_EXPORT boolean OCI_API OCI_Describe
3881 (
3882  OCI_Statement *stmt,
3883  const otext *sql
3884 );
3885 
3894 OCI_EXPORT const otext * OCI_API OCI_GetSql
3895 (
3896  OCI_Statement *stmt
3897 );
3898 
3913 OCI_EXPORT const otext* OCI_API OCI_GetSqlIdentifier
3914 (
3915  OCI_Statement *stmt
3916 );
3917 
3930 OCI_EXPORT unsigned int OCI_API OCI_GetSqlErrorPos
3931 (
3932  OCI_Statement *stmt
3933 );
3934 
3957 OCI_EXPORT unsigned int OCI_API OCI_GetAffectedRows
3958 (
3959  OCI_Statement *stmt
3960 );
3961 
3976 OCI_EXPORT unsigned int OCI_API OCI_GetSQLCommand
3977 (
3978  OCI_Statement *stmt
3979 );
3980 
3998 OCI_EXPORT const otext * OCI_API OCI_GetSQLVerb
3999 (
4000  OCI_Statement *stmt
4001 );
4002 
4150 OCI_EXPORT boolean OCI_API OCI_BindArraySetSize
4151 (
4152  OCI_Statement *stmt,
4153  unsigned int size
4154 );
4155 
4167 OCI_EXPORT unsigned int OCI_API OCI_BindArrayGetSize
4168 (
4169  OCI_Statement *stmt
4170 );
4171 
4191 OCI_EXPORT boolean OCI_API OCI_AllowRebinding
4192 (
4193  OCI_Statement *stmt,
4194  boolean value
4195 );
4196 
4210 OCI_EXPORT boolean OCI_API OCI_IsRebindingAllowed
4211 (
4212  OCI_Statement *stmt
4213 );
4214 
4234 OCI_EXPORT boolean OCI_API OCI_BindBoolean
4235 (
4236  OCI_Statement *stmt,
4237  const otext *name,
4238  boolean *data
4239 );
4240 
4257 OCI_EXPORT boolean OCI_API OCI_BindNumber
4258 (
4259  OCI_Statement *stmt,
4260  const otext *name,
4261  OCI_Number *data
4262 );
4263 
4285 OCI_EXPORT boolean OCI_API OCI_BindArrayOfNumbers
4286 (
4287  OCI_Statement *stmt,
4288  const otext *name,
4289  OCI_Number **data,
4290  unsigned int nbelem
4291 );
4292 
4309 OCI_EXPORT boolean OCI_API OCI_BindShort
4310 (
4311  OCI_Statement *stmt,
4312  const otext *name,
4313  short *data
4314 );
4315 
4337 OCI_EXPORT boolean OCI_API OCI_BindArrayOfShorts
4338 (
4339  OCI_Statement *stmt,
4340  const otext *name,
4341  short *data,
4342  unsigned int nbelem
4343 );
4344 
4361 OCI_EXPORT boolean OCI_API OCI_BindUnsignedShort
4362 (
4363  OCI_Statement *stmt,
4364  const otext *name,
4365  unsigned short *data
4366 );
4367 
4389 OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedShorts
4390 (
4391  OCI_Statement *stmt,
4392  const otext *name,
4393  unsigned short *data,
4394  unsigned int nbelem
4395 );
4396 
4413 OCI_EXPORT boolean OCI_API OCI_BindInt
4414 (
4415  OCI_Statement *stmt,
4416  const otext *name,
4417  int *data
4418 );
4419 
4441 OCI_EXPORT boolean OCI_API OCI_BindArrayOfInts
4442 (
4443  OCI_Statement *stmt,
4444  const otext *name,
4445  int *data,
4446  unsigned int nbelem
4447 );
4448 
4465 OCI_EXPORT boolean OCI_API OCI_BindUnsignedInt
4466 (
4467  OCI_Statement *stmt,
4468  const otext *name,
4469  unsigned int *data
4470 );
4471 
4493 OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedInts
4494 (
4495  OCI_Statement *stmt,
4496  const otext *name,
4497  unsigned int *data,
4498  unsigned int nbelem
4499 );
4500 
4517 OCI_EXPORT boolean OCI_API OCI_BindBigInt
4518 (
4519  OCI_Statement *stmt,
4520  const otext *name,
4521  big_int *data
4522 );
4523 
4545 OCI_EXPORT boolean OCI_API OCI_BindArrayOfBigInts
4546 (
4547  OCI_Statement *stmt,
4548  const otext *name,
4549  big_int *data,
4550  unsigned int nbelem
4551 );
4552 
4569 OCI_EXPORT boolean OCI_API OCI_BindUnsignedBigInt
4570 (
4571  OCI_Statement *stmt,
4572  const otext *name,
4573  big_uint *data
4574 );
4575 
4597 OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedBigInts
4598 (
4599  OCI_Statement *stmt,
4600  const otext *name,
4601  big_uint *data,
4602  unsigned int nbelem
4603 );
4604 
4626 OCI_EXPORT boolean OCI_API OCI_BindString
4627 (
4628  OCI_Statement *stmt,
4629  const otext *name,
4630  otext *data,
4631  unsigned int len
4632 );
4633 
4660 OCI_EXPORT boolean OCI_API OCI_BindArrayOfStrings
4661 (
4662  OCI_Statement *stmt,
4663  const otext *name,
4664  otext *data,
4665  unsigned int len,
4666  unsigned int nbelem
4667 );
4668 
4689 OCI_EXPORT boolean OCI_API OCI_BindRaw
4690 (
4691  OCI_Statement *stmt,
4692  const otext *name,
4693  void *data,
4694  unsigned int len
4695 );
4696 
4725 OCI_EXPORT boolean OCI_API OCI_BindArrayOfRaws
4726 (
4727  OCI_Statement *stmt,
4728  const otext *name,
4729  void *data,
4730  unsigned int len,
4731  unsigned int nbelem
4732 );
4733 
4750 OCI_EXPORT boolean OCI_API OCI_BindDouble
4751 (
4752  OCI_Statement *stmt,
4753  const otext *name,
4754  double *data
4755 );
4756 
4778 OCI_EXPORT boolean OCI_API OCI_BindArrayOfDoubles
4779 (
4780  OCI_Statement *stmt,
4781  const otext *name,
4782  double *data,
4783  unsigned int nbelem
4784 );
4785 
4786 
4803 OCI_EXPORT boolean OCI_API OCI_BindFloat
4804 (
4805  OCI_Statement *stmt,
4806  const otext *name,
4807  float *data
4808 );
4809 
4831 OCI_EXPORT boolean OCI_API OCI_BindArrayOfFloats
4832 (
4833  OCI_Statement *stmt,
4834  const otext *name,
4835  float *data,
4836  unsigned int nbelem
4837 );
4838 
4855 OCI_EXPORT boolean OCI_API OCI_BindDate
4856 (
4857  OCI_Statement *stmt,
4858  const otext *name,
4859  OCI_Date *data
4860 );
4861 
4883 OCI_EXPORT boolean OCI_API OCI_BindArrayOfDates
4884 (
4885  OCI_Statement *stmt,
4886  const otext *name,
4887  OCI_Date **data,
4888  unsigned int nbelem
4889 );
4890 
4906 OCI_EXPORT boolean OCI_API OCI_BindTimestamp
4907 (
4908  OCI_Statement *stmt,
4909  const otext *name,
4910  OCI_Timestamp *data
4911 );
4912 
4938 OCI_EXPORT boolean OCI_API OCI_BindArrayOfTimestamps
4939 (
4940  OCI_Statement *stmt,
4941  const otext *name,
4942  OCI_Timestamp **data,
4943  unsigned int type,
4944  unsigned int nbelem
4945 );
4946 
4963 OCI_EXPORT boolean OCI_API OCI_BindInterval
4964 (
4965  OCI_Statement *stmt,
4966  const otext *name,
4967  OCI_Interval *data
4968 );
4969 
4996 OCI_EXPORT boolean OCI_API OCI_BindArrayOfIntervals
4997 (
4998  OCI_Statement *stmt,
4999  const otext *name,
5000  OCI_Interval **data,
5001  unsigned int type,
5002  unsigned int nbelem
5003 );
5004 
5020 OCI_EXPORT boolean OCI_API OCI_BindLob
5021 (
5022  OCI_Statement *stmt,
5023  const otext *name,
5024  OCI_Lob *data
5025 );
5026 
5052 OCI_EXPORT boolean OCI_API OCI_BindArrayOfLobs
5053 (
5054  OCI_Statement *stmt,
5055  const otext *name,
5056  OCI_Lob **data,
5057  unsigned int type,
5058  unsigned int nbelem
5059 );
5060 
5076 OCI_EXPORT boolean OCI_API OCI_BindFile
5077 (
5078  OCI_Statement *stmt,
5079  const otext *name,
5080  OCI_File *data
5081 );
5082 
5108 OCI_EXPORT boolean OCI_API OCI_BindArrayOfFiles
5109 (
5110  OCI_Statement *stmt,
5111  const otext *name,
5112  OCI_File **data,
5113  unsigned int type,
5114  unsigned int nbelem
5115 );
5116 
5133 OCI_EXPORT boolean OCI_API OCI_BindObject
5134 (
5135  OCI_Statement *stmt,
5136  const otext *name,
5137  OCI_Object *data
5138 );
5139 
5163 OCI_EXPORT boolean OCI_API OCI_BindArrayOfObjects
5164 (
5165  OCI_Statement *stmt,
5166  const otext *name,
5167  OCI_Object **data,
5168  OCI_TypeInfo *typinf,
5169  unsigned int nbelem
5170 );
5171 
5187 OCI_EXPORT boolean OCI_API OCI_BindColl
5188 (
5189  OCI_Statement *stmt,
5190  const otext *name,
5191  OCI_Coll *data
5192 );
5193 
5220 OCI_EXPORT boolean OCI_API OCI_BindArrayOfColls
5221 (
5222  OCI_Statement *stmt,
5223  const otext *name,
5224  OCI_Coll **data,
5225  OCI_TypeInfo *typinf,
5226  unsigned int nbelem
5227 );
5228 
5244 OCI_EXPORT boolean OCI_API OCI_BindRef
5245 (
5246  OCI_Statement *stmt,
5247  const otext *name,
5248  OCI_Ref *data
5249 );
5250 
5274 OCI_EXPORT boolean OCI_API OCI_BindArrayOfRefs
5275 (
5276  OCI_Statement *stmt,
5277  const otext *name,
5278  OCI_Ref **data,
5279  OCI_TypeInfo *typinf,
5280  unsigned int nbelem
5281 );
5282 
5298 OCI_EXPORT boolean OCI_API OCI_BindStatement
5299 (
5300  OCI_Statement *stmt,
5301  const otext *name,
5302  OCI_Statement *data
5303 );
5304 
5326 OCI_EXPORT boolean OCI_API OCI_BindLong
5327 (
5328  OCI_Statement *stmt,
5329  const otext *name,
5330  OCI_Long *data,
5331  unsigned int size
5332 );
5333 
5344 OCI_EXPORT OCI_Error * OCI_API OCI_GetBatchError
5345 (
5346  OCI_Statement *stmt
5347 );
5348 
5357 OCI_EXPORT unsigned int OCI_API OCI_GetBatchErrorCount
5358 (
5359  OCI_Statement *stmt
5360 );
5361 
5370 OCI_EXPORT unsigned int OCI_API OCI_GetBindCount
5371 (
5372  OCI_Statement *stmt
5373 );
5374 
5395 OCI_EXPORT OCI_Bind * OCI_API OCI_GetBind
5396 (
5397  OCI_Statement *stmt,
5398  unsigned int index
5399 );
5400 
5416 OCI_EXPORT OCI_Bind * OCI_API OCI_GetBind2
5417 (
5418  OCI_Statement *stmt,
5419  const otext *name
5420 );
5421 
5440 OCI_EXPORT unsigned int OCI_API OCI_GetBindIndex
5441 (
5442  OCI_Statement *stmt,
5443  const otext *name
5444 );
5445 
5454 OCI_EXPORT const otext * OCI_API OCI_BindGetName
5455 (
5456  OCI_Bind *bnd
5457 );
5458 
5459 
5481 OCI_EXPORT boolean OCI_API OCI_BindSetDirection
5482 (
5483  OCI_Bind *bnd,
5484  unsigned int direction
5485 );
5486 
5500 OCI_EXPORT unsigned int OCI_API OCI_BindGetDirection
5501 (
5502  OCI_Bind *bnd
5503 );
5504 
5534 OCI_EXPORT unsigned int OCI_API OCI_BindGetType
5535 (
5536  OCI_Bind *bnd
5537 );
5538 
5592 OCI_EXPORT unsigned int OCI_API OCI_BindGetSubtype
5593 (
5594  OCI_Bind *bnd
5595 );
5596 
5609 OCI_EXPORT unsigned int OCI_API OCI_BindGetDataCount
5610 (
5611  OCI_Bind *bnd
5612 );
5613 
5626 OCI_EXPORT void * OCI_API OCI_BindGetData
5627 (
5628  OCI_Bind *bnd
5629 );
5630 
5639 OCI_EXPORT OCI_Statement * OCI_API OCI_BindGetStatement
5640 (
5641  OCI_Bind *bnd
5642 );
5643 
5669 OCI_EXPORT boolean OCI_API OCI_BindSetDataSize
5670 (
5671  OCI_Bind *bnd,
5672  unsigned int size
5673 );
5674 
5701 OCI_EXPORT boolean OCI_API OCI_BindSetDataSizeAtPos
5702 (
5703  OCI_Bind *bnd,
5704  unsigned int position,
5705  unsigned int size
5706 );
5707 
5723 OCI_EXPORT unsigned int OCI_API OCI_BindGetDataSize
5724 (
5725  OCI_Bind *bnd
5726 );
5727 
5745 OCI_EXPORT unsigned int OCI_API OCI_BindGetDataSizeAtPos
5746 (
5747  OCI_Bind *bnd,
5748  unsigned int position
5749 );
5750 
5770 OCI_EXPORT boolean OCI_API OCI_BindSetNull
5771 (
5772  OCI_Bind *bnd
5773 );
5774 
5798 OCI_EXPORT boolean OCI_API OCI_BindSetNullAtPos
5799 (
5800  OCI_Bind *bnd,
5801  unsigned int position
5802 );
5803 
5823 OCI_EXPORT boolean OCI_API OCI_BindSetNotNull
5824 (
5825  OCI_Bind *bnd
5826 );
5827 
5851 OCI_EXPORT boolean OCI_API OCI_BindSetNotNullAtPos
5852 (
5853  OCI_Bind *bnd,
5854  unsigned int position
5855 );
5856 
5868 OCI_EXPORT boolean OCI_API OCI_BindIsNull
5869 (
5870  OCI_Bind *bnd
5871 );
5872 
5889 OCI_EXPORT boolean OCI_API OCI_BindIsNullAtPos
5890 (
5891  OCI_Bind *bnd,
5892  unsigned int position
5893 );
5894 
5921 boolean OCI_API OCI_BindSetCharsetForm
5922 (
5923  OCI_Bind *bnd,
5924  unsigned int csfrm
5925 );
5926 
5942 OCI_EXPORT unsigned int OCI_API OCI_BindGetAllocationMode
5943 (
5944  OCI_Bind *bnd
5945 );
5946 
6118 OCI_EXPORT OCI_Resultset * OCI_API OCI_GetResultset
6119 (
6120  OCI_Statement *stmt
6121 );
6122 
6143 OCI_EXPORT boolean OCI_API OCI_ReleaseResultsets
6144 (
6145  OCI_Statement *stmt
6146 );
6147 
6165 OCI_EXPORT boolean OCI_API OCI_FetchNext
6166 (
6167  OCI_Resultset *rs
6168 );
6169 
6187 OCI_EXPORT boolean OCI_API OCI_FetchPrev
6188 (
6189  OCI_Resultset *rs
6190 );
6191 
6208 OCI_EXPORT boolean OCI_API OCI_FetchFirst
6209 (
6210  OCI_Resultset *rs
6211 );
6212 
6229 OCI_EXPORT boolean OCI_API OCI_FetchLast
6230 (
6231  OCI_Resultset *rs
6232 );
6233 
6264 OCI_EXPORT boolean OCI_API OCI_FetchSeek
6265 (
6266  OCI_Resultset *rs,
6267  unsigned int mode,
6268  int offset
6269 );
6270 
6279 OCI_EXPORT unsigned int OCI_API OCI_GetRowCount
6280 (
6281  OCI_Resultset *rs
6282 );
6283 
6297 OCI_EXPORT unsigned int OCI_API OCI_GetCurrentRow
6298 (
6299  OCI_Resultset *rs
6300 );
6301 
6310 OCI_EXPORT unsigned int OCI_API OCI_GetColumnCount
6311 (
6312  OCI_Resultset *rs
6313 );
6314 
6328 OCI_EXPORT OCI_Column * OCI_API OCI_GetColumn
6329 (
6330  OCI_Resultset *rs,
6331  unsigned int index
6332 );
6333 
6350 OCI_EXPORT OCI_Column * OCI_API OCI_GetColumn2
6351 (
6352  OCI_Resultset *rs,
6353  const otext *name
6354 );
6355 
6374 OCI_EXPORT unsigned int OCI_API OCI_GetColumnIndex
6375 (
6376  OCI_Resultset *rs,
6377  const otext *name
6378 );
6379 
6388 OCI_EXPORT const otext * OCI_API OCI_ColumnGetName
6389 (
6390  OCI_Column *col
6391 );
6392 
6422 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetType
6423 (
6424  OCI_Column *col
6425 );
6426 
6441 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetCharsetForm
6442 (
6443  OCI_Column *col
6444 );
6445 
6457 OCI_EXPORT const otext * OCI_API OCI_ColumnGetSQLType
6458 (
6459  OCI_Column *col
6460 );
6461 
6479 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetFullSQLType
6480 (
6481  OCI_Column *col,
6482  otext *buffer,
6483  unsigned int len
6484 );
6485 
6498 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetSize
6499 (
6500  OCI_Column *col
6501 );
6502 
6511 OCI_EXPORT int OCI_API OCI_ColumnGetScale
6512 (
6513  OCI_Column *col
6514 );
6515 
6524 OCI_EXPORT int OCI_API OCI_ColumnGetPrecision
6525 (
6526  OCI_Column *col
6527 );
6528 
6537 OCI_EXPORT int OCI_API OCI_ColumnGetFractionalPrecision
6538 (
6539  OCI_Column *col
6540 );
6541 
6550 OCI_EXPORT int OCI_API OCI_ColumnGetLeadingPrecision
6551 (
6552  OCI_Column *col
6553 );
6554 
6566 OCI_EXPORT boolean OCI_API OCI_ColumnGetNullable
6567 (
6568  OCI_Column *col
6569 );
6570 
6584 OCI_EXPORT boolean OCI_API OCI_ColumnGetCharUsed
6585 (
6586  OCI_Column *col
6587 );
6588 
6616 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetPropertyFlags
6617 (
6618  OCI_Column *col
6619 );
6620 
6648 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetCollationID
6649 (
6650  OCI_Column *col
6651 );
6652 
6665 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_ColumnGetTypeInfo
6666 (
6667  OCI_Column *col
6668 );
6669 
6733 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetSubType
6734 (
6735  OCI_Column *col
6736 );
6737 
6764 OCI_EXPORT boolean OCI_API OCI_SetStructNumericType
6765 (
6766  OCI_Resultset *rs,
6767  unsigned int index,
6768  unsigned int type
6769 );
6770 
6797 OCI_EXPORT boolean OCI_API OCI_SetStructNumericType2
6798 (
6799  OCI_Resultset *rs,
6800  const otext *name,
6801  unsigned int type
6802 );
6803 
6855 OCI_EXPORT boolean OCI_API OCI_GetStruct
6856 (
6857  OCI_Resultset *rs,
6858  void *row_struct,
6859  void *row_struct_ind
6860 );
6861 
6876 OCI_EXPORT OCI_Number * OCI_API OCI_GetNumber
6877 (
6878  OCI_Resultset *rs,
6879  unsigned int index
6880 );
6881 
6897 OCI_EXPORT OCI_Number * OCI_API OCI_GetNumber2
6898 (
6899  OCI_Resultset *rs,
6900  const otext *name
6901 );
6902 
6903 
6919 OCI_EXPORT short OCI_API OCI_GetShort
6920 (
6921  OCI_Resultset *rs,
6922  unsigned int index
6923 );
6924 
6940 OCI_EXPORT short OCI_API OCI_GetShort2
6941 (
6942  OCI_Resultset *rs,
6943  const otext *name
6944 );
6945 
6961 OCI_EXPORT unsigned short OCI_API OCI_GetUnsignedShort
6962 (
6963  OCI_Resultset *rs,
6964  unsigned int index
6965 );
6966 
6982 OCI_EXPORT unsigned short OCI_API OCI_GetUnsignedShort2
6983 (
6984  OCI_Resultset *rs,
6985  const otext *name
6986 );
6987 
7003 OCI_EXPORT int OCI_API OCI_GetInt
7004 (
7005  OCI_Resultset *rs,
7006  unsigned int index
7007 );
7008 
7024 OCI_EXPORT int OCI_API OCI_GetInt2
7025 (
7026  OCI_Resultset *rs,
7027  const otext *name
7028 );
7029 
7045 OCI_EXPORT unsigned int OCI_API OCI_GetUnsignedInt
7046 (
7047  OCI_Resultset *rs,
7048  unsigned int index
7049 );
7050 
7066 OCI_EXPORT unsigned int OCI_API OCI_GetUnsignedInt2
7067 (
7068  OCI_Resultset *rs,
7069  const otext *name
7070 );
7071 
7087 OCI_EXPORT big_int OCI_API OCI_GetBigInt
7088 (
7089  OCI_Resultset *rs,
7090  unsigned int index
7091 );
7092 
7108 OCI_EXPORT big_int OCI_API OCI_GetBigInt2
7109 (
7110  OCI_Resultset *rs,
7111  const otext *name
7112 );
7113 
7129 OCI_EXPORT big_uint OCI_API OCI_GetUnsignedBigInt
7130 (
7131  OCI_Resultset *rs,
7132  unsigned int index
7133 );
7134 
7150 OCI_EXPORT big_uint OCI_API OCI_GetUnsignedBigInt2
7151 (
7152  OCI_Resultset *rs,
7153  const otext *name
7154 );
7155 
7189 OCI_EXPORT const otext * OCI_API OCI_GetString
7190 (
7191  OCI_Resultset *rs,
7192  unsigned int index
7193 );
7194 
7210 OCI_EXPORT const otext * OCI_API OCI_GetString2
7211 (
7212  OCI_Resultset *rs,
7213  const otext *name
7214 );
7215 
7233 OCI_EXPORT unsigned int OCI_API OCI_GetRaw
7234 (
7235  OCI_Resultset *rs,
7236  unsigned int index,
7237  void *buffer,
7238  unsigned int len
7239 );
7240 
7258 OCI_EXPORT unsigned int OCI_API OCI_GetRaw2
7259 (
7260  OCI_Resultset *rs,
7261  const otext *name,
7262  void *buffer,
7263  unsigned int len
7264 );
7265 
7281 OCI_EXPORT double OCI_API OCI_GetDouble
7282 (
7283  OCI_Resultset *rs,
7284  unsigned int index
7285 );
7286 
7302 OCI_EXPORT double OCI_API OCI_GetDouble2
7303 (
7304  OCI_Resultset *rs,
7305  const otext *name
7306 );
7307 
7323 OCI_EXPORT float OCI_API OCI_GetFloat
7324 (
7325  OCI_Resultset *rs,
7326  unsigned int index
7327 );
7328 
7344 OCI_EXPORT float OCI_API OCI_GetFloat2
7345 (
7346  OCI_Resultset *rs,
7347  const otext *name
7348 );
7349 
7365 OCI_EXPORT OCI_Date * OCI_API OCI_GetDate
7366 (
7367  OCI_Resultset *rs,
7368  unsigned int index
7369 );
7370 
7383 OCI_EXPORT OCI_Date * OCI_API OCI_GetDate2
7384 (
7385  OCI_Resultset *rs,
7386  const otext *name
7387 );
7388 
7404 OCI_EXPORT OCI_Timestamp * OCI_API OCI_GetTimestamp
7405 (
7406  OCI_Resultset *rs,
7407  unsigned int index
7408 );
7409 
7422 OCI_EXPORT OCI_Timestamp * OCI_API OCI_GetTimestamp2
7423 (
7424  OCI_Resultset *rs,
7425  const otext *name
7426 );
7427 
7443 OCI_EXPORT OCI_Interval * OCI_API OCI_GetInterval
7444 (
7445  OCI_Resultset *rs,
7446  unsigned int index
7447 );
7448 
7461 OCI_EXPORT OCI_Interval * OCI_API OCI_GetInterval2
7462 (
7463  OCI_Resultset *rs,
7464  const otext *name
7465 );
7466 
7482 OCI_EXPORT OCI_Statement * OCI_API OCI_GetStatement
7483 (
7484  OCI_Resultset *rs,
7485  unsigned int index
7486 );
7487 
7500 OCI_EXPORT OCI_Statement * OCI_API OCI_GetStatement2
7501 (
7502  OCI_Resultset *rs,
7503  const otext *name
7504 );
7505 
7521 OCI_EXPORT OCI_Lob * OCI_API OCI_GetLob
7522 (
7523  OCI_Resultset *rs,
7524  unsigned int index
7525 );
7526 
7539 OCI_EXPORT OCI_Lob * OCI_API OCI_GetLob2
7540 (
7541  OCI_Resultset *rs,
7542  const otext *name
7543 );
7544 
7560 OCI_EXPORT OCI_File * OCI_API OCI_GetFile
7561 (
7562  OCI_Resultset *rs,
7563  unsigned int index
7564 );
7565 
7578 OCI_EXPORT OCI_File * OCI_API OCI_GetFile2
7579 (
7580  OCI_Resultset *rs,
7581  const otext *name
7582 );
7583 
7599 OCI_EXPORT OCI_Object * OCI_API OCI_GetObject
7600 (
7601  OCI_Resultset *rs,
7602  unsigned int index
7603 );
7604 
7617 OCI_EXPORT OCI_Object * OCI_API OCI_GetObject2
7618 (
7619  OCI_Resultset *rs,
7620  const otext *name
7621 );
7622 
7638 OCI_EXPORT OCI_Coll * OCI_API OCI_GetColl
7639 (
7640  OCI_Resultset *rs,
7641  unsigned int index
7642 );
7643 
7656 OCI_EXPORT OCI_Coll * OCI_API OCI_GetColl2
7657 (
7658  OCI_Resultset *rs,
7659  const otext *name
7660 );
7661 
7677 OCI_EXPORT OCI_Ref * OCI_API OCI_GetRef
7678 (
7679  OCI_Resultset *rs,
7680  unsigned int index
7681 );
7682 
7695 OCI_EXPORT OCI_Ref * OCI_API OCI_GetRef2
7696 (
7697  OCI_Resultset *rs,
7698  const otext *name
7699 );
7700 
7716 OCI_EXPORT OCI_Long * OCI_API OCI_GetLong
7717 (
7718  OCI_Resultset *rs,
7719  unsigned int index
7720 );
7721 
7734 OCI_EXPORT OCI_Long * OCI_API OCI_GetLong2
7735 (
7736  OCI_Resultset *rs,
7737  const otext *name
7738 );
7739 
7755 OCI_EXPORT boolean OCI_API OCI_IsNull
7756 (
7757  OCI_Resultset *rs,
7758  unsigned int index
7759 );
7760 
7779 OCI_EXPORT unsigned int OCI_API OCI_GetDataSize
7780 (
7781  OCI_Resultset *rs,
7782  unsigned int index
7783 );
7784 
7800 OCI_EXPORT unsigned int OCI_API OCI_GetDataSize2
7801 (
7802  OCI_Resultset *rs,
7803  const otext *name
7804 );
7805 
7818 OCI_EXPORT boolean OCI_API OCI_IsNull2
7819 (
7820  OCI_Resultset *rs,
7821  const otext *name
7822 );
7823 
7832 OCI_EXPORT OCI_Statement * OCI_API OCI_ResultsetGetStatement
7833 (
7834  OCI_Resultset *rs
7835 );
7836 
7852 OCI_EXPORT unsigned int OCI_API OCI_GetDataLength
7853 (
7854  OCI_Resultset *rs,
7855  unsigned int index
7856 );
7857 
7922 OCI_EXPORT boolean OCI_API OCI_ServerEnableOutput
7923 (
7924  OCI_Connection *con,
7925  unsigned int bufsize,
7926  unsigned int arrsize,
7927  unsigned int lnsize
7928 );
7929 
7944 OCI_EXPORT boolean OCI_API OCI_ServerDisableOutput
7945 (
7946  OCI_Connection *con
7947 );
7948 
7964 OCI_EXPORT const otext * OCI_API OCI_ServerGetOutput
7965 (
7966  OCI_Connection *con
7967 );
7968 
8020 OCI_EXPORT OCI_Coll * OCI_API OCI_CollCreate
8021 (
8022  OCI_TypeInfo *typinf
8023 );
8024 
8040 OCI_EXPORT boolean OCI_API OCI_CollFree
8041 (
8042  OCI_Coll *coll
8043 );
8044 
8061 OCI_EXPORT OCI_Coll ** OCI_API OCI_CollArrayCreate
8062 (
8063  OCI_Connection *con,
8064  OCI_TypeInfo *typinf,
8065  unsigned int nbelem
8066 );
8067 
8083 OCI_EXPORT boolean OCI_API OCI_CollArrayFree
8084 (
8085  OCI_Coll **colls
8086 );
8087 
8103 OCI_EXPORT boolean OCI_API OCI_CollAssign
8104 (
8105  OCI_Coll *coll,
8106  OCI_Coll *coll_src
8107 );
8108 
8117 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_CollGetTypeInfo
8118 (
8119  OCI_Coll *coll
8120 );
8121 
8139 OCI_EXPORT unsigned int OCI_API OCI_CollGetType
8140 (
8141  OCI_Coll *coll
8142 );
8143 
8152 OCI_EXPORT unsigned int OCI_API OCI_CollGetMax
8153 (
8154  OCI_Coll *coll
8155 );
8156 
8165 OCI_EXPORT unsigned int OCI_API OCI_CollGetSize
8166 (
8167  OCI_Coll *coll
8168 );
8169 
8183 OCI_EXPORT unsigned int OCI_API OCI_CollGetCount
8184 (
8185  OCI_Coll *coll
8186 );
8187 
8200 OCI_EXPORT boolean OCI_API OCI_CollTrim
8201 (
8202  OCI_Coll *coll,
8203  unsigned int nb_elem
8204 );
8205 
8217 OCI_EXPORT boolean OCI_API OCI_CollClear
8218 (
8219  OCI_Coll *coll
8220 );
8221 
8237 OCI_EXPORT OCI_Elem * OCI_API OCI_CollGetElem
8238 (
8239  OCI_Coll *coll,
8240  unsigned int index
8241 );
8242 
8259 OCI_EXPORT boolean OCI_API OCI_CollGetElem2
8260 (
8261  OCI_Coll *coll,
8262  unsigned int index,
8263  OCI_Elem *elem
8264 );
8265 
8283 OCI_EXPORT boolean OCI_API OCI_CollSetElem
8284 (
8285  OCI_Coll *coll,
8286  unsigned int index,
8287  OCI_Elem *elem
8288 );
8289 
8302 OCI_EXPORT boolean OCI_API OCI_CollAppend
8303 (
8304  OCI_Coll *coll,
8305  OCI_Elem *elem
8306 );
8307 
8333 OCI_EXPORT boolean OCI_API OCI_CollToText
8334 (
8335  OCI_Coll *coll,
8336  unsigned int *size,
8337  otext *str
8338 );
8339 
8360 OCI_EXPORT boolean OCI_API OCI_CollDeleteElem
8361 (
8362  OCI_Coll *coll,
8363  unsigned int index
8364 );
8365 
8377 OCI_EXPORT OCI_Iter * OCI_API OCI_IterCreate
8378 (
8379  OCI_Coll *coll
8380 );
8381 
8393 OCI_EXPORT boolean OCI_API OCI_IterFree
8394 (
8395  OCI_Iter *iter
8396 );
8397 
8412 OCI_EXPORT OCI_Elem * OCI_API OCI_IterGetNext
8413 (
8414  OCI_Iter *iter
8415 );
8416 
8431 OCI_EXPORT OCI_Elem * OCI_API OCI_IterGetPrev
8432 (
8433  OCI_Iter *iter
8434 );
8435 
8450 OCI_EXPORT OCI_Elem * OCI_API OCI_IterGetCurrent
8451 (
8452  OCI_Iter *iter
8453 );
8454 
8467 OCI_EXPORT OCI_Elem * OCI_API OCI_ElemCreate
8468 (
8469  OCI_TypeInfo *typinf
8470 );
8471 
8487 OCI_EXPORT boolean OCI_API OCI_ElemFree
8488 (
8489  OCI_Elem *elem
8490 );
8491 
8506 OCI_EXPORT boolean OCI_API OCI_ElemGetBoolean
8507 (
8508  OCI_Elem *elem
8509 );
8510 
8522 OCI_EXPORT OCI_Number* OCI_API OCI_ElemGetNumber
8523 (
8524  OCI_Elem *elem
8525 );
8526 
8538 OCI_EXPORT short OCI_API OCI_ElemGetShort
8539 (
8540  OCI_Elem *elem
8541 );
8542 
8554 OCI_EXPORT unsigned short OCI_API OCI_ElemGetUnsignedShort
8555 (
8556  OCI_Elem *elem
8557 );
8558 
8570 OCI_EXPORT int OCI_API OCI_ElemGetInt
8571 (
8572  OCI_Elem *elem
8573 );
8574 
8586 OCI_EXPORT unsigned int OCI_API OCI_ElemGetUnsignedInt
8587 (
8588  OCI_Elem *elem
8589 );
8590 
8602 OCI_EXPORT big_int OCI_API OCI_ElemGetBigInt
8603 (
8604  OCI_Elem *elem
8605 );
8606 
8618 OCI_EXPORT big_uint OCI_API OCI_ElemGetUnsignedBigInt
8619 (
8620  OCI_Elem *elem
8621 );
8622 
8634 OCI_EXPORT double OCI_API OCI_ElemGetDouble
8635 (
8636  OCI_Elem *elem
8637 );
8638 
8650 OCI_EXPORT float OCI_API OCI_ElemGetFloat
8651 (
8652  OCI_Elem *elem
8653 );
8654 
8666 OCI_EXPORT const otext * OCI_API OCI_ElemGetString
8667 (
8668  OCI_Elem *elem
8669 );
8670 
8684 OCI_EXPORT unsigned int OCI_API OCI_ElemGetRaw
8685 (
8686  OCI_Elem *elem,
8687  void *value,
8688  unsigned int len
8689 );
8690 
8702 OCI_EXPORT unsigned int OCI_API OCI_ElemGetRawSize
8703 (
8704  OCI_Elem *elem
8705 );
8706 
8718 OCI_EXPORT OCI_Date * OCI_API OCI_ElemGetDate
8719 (
8720  OCI_Elem *elem
8721 );
8722 
8734 OCI_EXPORT OCI_Timestamp * OCI_API OCI_ElemGetTimestamp
8735 (
8736  OCI_Elem *elem
8737 );
8738 
8750 OCI_EXPORT OCI_Interval * OCI_API OCI_ElemGetInterval
8751 (
8752  OCI_Elem *elem
8753 );
8754 
8766 OCI_EXPORT OCI_Lob * OCI_API OCI_ElemGetLob
8767 (
8768  OCI_Elem *elem
8769 );
8770 
8782 OCI_EXPORT OCI_File * OCI_API OCI_ElemGetFile
8783 (
8784  OCI_Elem *elem
8785 );
8786 
8798 OCI_EXPORT OCI_Object * OCI_API OCI_ElemGetObject
8799 (
8800  OCI_Elem *elem
8801 );
8802 
8814 OCI_EXPORT OCI_Coll * OCI_API OCI_ElemGetColl
8815 (
8816  OCI_Elem *elem
8817 );
8818 
8830 OCI_EXPORT OCI_Ref * OCI_API OCI_ElemGetRef
8831 (
8832  OCI_Elem *elem
8833 );
8834 
8850 OCI_EXPORT boolean OCI_API OCI_ElemSetBoolean
8851 (
8852  OCI_Elem *elem,
8853  boolean value
8854 );
8855 
8868 OCI_EXPORT boolean OCI_API OCI_ElemSetNumber
8869 (
8870  OCI_Elem *elem,
8871  OCI_Number *value
8872 );
8873 
8886 OCI_EXPORT boolean OCI_API OCI_ElemSetShort
8887 (
8888  OCI_Elem *elem,
8889  short value
8890 );
8891 
8904 OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedShort
8905 (
8906  OCI_Elem *elem,
8907  unsigned short value
8908 );
8909 
8922 OCI_EXPORT boolean OCI_API OCI_ElemSetInt
8923 (
8924  OCI_Elem *elem,
8925  int value
8926 );
8927 
8940 OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedInt
8941 (
8942  OCI_Elem *elem,
8943  unsigned int value
8944 );
8945 
8958 OCI_EXPORT boolean OCI_API OCI_ElemSetBigInt
8959 (
8960  OCI_Elem *elem,
8961  big_int value
8962 );
8963 
8976 OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedBigInt
8977 (
8978  OCI_Elem *elem,
8979  big_uint value
8980 );
8981 
8994 OCI_EXPORT boolean OCI_API OCI_ElemSetDouble
8995 (
8996  OCI_Elem *elem,
8997  double value
8998 );
8999 
9012 OCI_EXPORT boolean OCI_API OCI_ElemSetFloat
9013 (
9014  OCI_Elem *elem,
9015  float value
9016 );
9017 
9033 OCI_EXPORT boolean OCI_API OCI_ElemSetString
9034 (
9035  OCI_Elem *elem,
9036  const otext *value
9037 );
9038 
9055 OCI_EXPORT boolean OCI_API OCI_ElemSetRaw
9056 (
9057  OCI_Elem *elem,
9058  void *value,
9059  unsigned int len
9060 );
9061 
9077 OCI_EXPORT boolean OCI_API OCI_ElemSetDate
9078 (
9079  OCI_Elem *elem,
9080  OCI_Date *value
9081 );
9082 
9098 OCI_EXPORT boolean OCI_API OCI_ElemSetTimestamp
9099 (
9100  OCI_Elem *elem,
9101  OCI_Timestamp *value
9102 );
9103 
9119 OCI_EXPORT boolean OCI_API OCI_ElemSetInterval
9120 (
9121  OCI_Elem *elem,
9122  OCI_Interval *value
9123 );
9124 
9140 OCI_EXPORT boolean OCI_API OCI_ElemSetColl
9141 (
9142  OCI_Elem *elem,
9143  OCI_Coll *value
9144 );
9145 
9166 OCI_EXPORT boolean OCI_API OCI_ElemSetObject
9167 (
9168  OCI_Elem *elem,
9169  OCI_Object *value
9170 );
9171 
9187 OCI_EXPORT boolean OCI_API OCI_ElemSetLob
9188 (
9189  OCI_Elem *elem,
9190  OCI_Lob *value
9191 );
9192 
9208 OCI_EXPORT boolean OCI_API OCI_ElemSetFile
9209 (
9210  OCI_Elem *elem,
9211  OCI_File *value
9212 );
9213 
9229 OCI_EXPORT boolean OCI_API OCI_ElemSetRef
9230 (
9231  OCI_Elem *elem,
9232  OCI_Ref *value
9233 );
9234 
9246 OCI_EXPORT boolean OCI_API OCI_ElemIsNull
9247 (
9248  OCI_Elem *elem
9249 );
9250 
9262 OCI_EXPORT boolean OCI_API OCI_ElemSetNull
9263 (
9264  OCI_Elem *elem
9265 );
9266 
9346 OCI_EXPORT OCI_Resultset * OCI_API OCI_GetNextResultset
9347 (
9348  OCI_Statement *stmt
9349 );
9350 
9363 OCI_EXPORT boolean OCI_API OCI_RegisterNumber
9364 (
9365  OCI_Statement *stmt,
9366  const otext *name
9367 );
9368 
9381 OCI_EXPORT boolean OCI_API OCI_RegisterShort
9382 (
9383  OCI_Statement *stmt,
9384  const otext *name
9385 );
9386 
9399 OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedShort
9400 (
9401  OCI_Statement *stmt,
9402  const otext *name
9403 );
9404 
9417 OCI_EXPORT boolean OCI_API OCI_RegisterInt
9418 (
9419  OCI_Statement *stmt,
9420  const otext *name
9421 );
9422 
9435 OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedInt
9436 (
9437  OCI_Statement *stmt,
9438  const otext *name
9439 );
9440 
9453 OCI_EXPORT boolean OCI_API OCI_RegisterBigInt
9454 (
9455  OCI_Statement *stmt,
9456  const otext *name
9457 );
9458 
9471 OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedBigInt
9472 (
9473  OCI_Statement *stmt,
9474  const otext *name
9475 );
9476 
9490 OCI_EXPORT boolean OCI_API OCI_RegisterString
9491 (
9492  OCI_Statement *stmt,
9493  const otext *name,
9494  unsigned int len
9495 );
9496 
9509 OCI_EXPORT boolean OCI_API OCI_RegisterRaw
9510 (
9511  OCI_Statement *stmt,
9512  const otext *name,
9513  unsigned int len
9514 );
9515 
9527 OCI_EXPORT boolean OCI_API OCI_RegisterDouble
9528 (
9529  OCI_Statement *stmt,
9530  const otext *name
9531 );
9532 
9544 OCI_EXPORT boolean OCI_API OCI_RegisterFloat
9545 (
9546  OCI_Statement *stmt,
9547  const otext *name
9548 );
9549 
9561 OCI_EXPORT boolean OCI_API OCI_RegisterDate
9562 (
9563  OCI_Statement *stmt,
9564  const otext *name
9565 );
9566 
9582 OCI_EXPORT boolean OCI_API OCI_RegisterTimestamp
9583 (
9584  OCI_Statement *stmt,
9585  const otext *name,
9586  unsigned int type
9587 );
9588 
9604 OCI_EXPORT boolean OCI_API OCI_RegisterInterval
9605 (
9606  OCI_Statement *stmt,
9607  const otext *name,
9608  unsigned int type
9609 );
9610 
9623 OCI_EXPORT boolean OCI_API OCI_RegisterObject
9624 (
9625  OCI_Statement *stmt,
9626  const otext *name,
9627  OCI_TypeInfo *typinf
9628 );
9629 
9645 OCI_EXPORT boolean OCI_API OCI_RegisterLob
9646 (
9647  OCI_Statement *stmt,
9648  const otext *name,
9649  unsigned int type
9650 );
9651 
9667 OCI_EXPORT boolean OCI_API OCI_RegisterFile
9668 (
9669  OCI_Statement *stmt,
9670  const otext *name,
9671  unsigned int type
9672 );
9673 
9686 OCI_EXPORT boolean OCI_API OCI_RegisterRef
9687 (
9688  OCI_Statement *stmt,
9689  const otext *name,
9690  OCI_TypeInfo *typinf
9691 );
9692 
9748 OCI_EXPORT unsigned int OCI_API OCI_GetStatementType
9749 (
9750  OCI_Statement *stmt
9751 );
9752 
9777 OCI_EXPORT boolean OCI_API OCI_SetFetchMode
9778 (
9779  OCI_Statement *stmt,
9780  unsigned int mode
9781 );
9782 
9795 OCI_EXPORT unsigned int OCI_API OCI_GetFetchMode
9796 (
9797  OCI_Statement *stmt
9798 );
9799 
9814 OCI_EXPORT boolean OCI_API OCI_SetBindMode
9815 (
9816  OCI_Statement *stmt,
9817  unsigned int mode
9818 );
9819 
9835 OCI_EXPORT unsigned int OCI_API OCI_GetBindMode
9836 (
9837  OCI_Statement *stmt
9838 );
9839 
9863 OCI_EXPORT boolean OCI_API OCI_SetBindAllocation
9864 (
9865  OCI_Statement *stmt,
9866  unsigned int mode
9867 );
9868 
9887 OCI_EXPORT unsigned int OCI_API OCI_GetBindAllocation
9888 (
9889  OCI_Statement *stmt
9890 );
9891 
9904 OCI_EXPORT boolean OCI_API OCI_SetFetchSize
9905 (
9906  OCI_Statement *stmt,
9907  unsigned int size
9908 );
9909 
9921 OCI_EXPORT unsigned int OCI_API OCI_GetFetchSize
9922 (
9923  OCI_Statement *stmt
9924 );
9925 
9945 OCI_EXPORT boolean OCI_API OCI_SetPrefetchSize
9946 (
9947  OCI_Statement *stmt,
9948  unsigned int size
9949 );
9950 
9962 OCI_EXPORT unsigned int OCI_API OCI_GetPrefetchSize
9963 (
9964  OCI_Statement *stmt
9965 );
9966 
9990 OCI_EXPORT boolean OCI_API OCI_SetPrefetchMemory
9991 (
9992  OCI_Statement *stmt,
9993  unsigned int size
9994 );
9995 
10007 OCI_EXPORT unsigned int OCI_API OCI_GetPrefetchMemory
10008 (
10009  OCI_Statement *stmt
10010 );
10011 
10024 OCI_EXPORT boolean OCI_API OCI_SetLongMaxSize
10025 (
10026  OCI_Statement *stmt,
10027  unsigned int size
10028 );
10029 
10041 OCI_EXPORT unsigned int OCI_API OCI_GetLongMaxSize
10042 (
10043  OCI_Statement *stmt
10044 );
10045 
10063 OCI_EXPORT boolean OCI_API OCI_SetLongMode
10064 (
10065  OCI_Statement *stmt,
10066  unsigned int mode
10067 );
10068 
10080 OCI_EXPORT unsigned int OCI_API OCI_GetLongMode
10081 (
10082  OCI_Statement *stmt
10083 );
10084 
10093 OCI_EXPORT OCI_Connection * OCI_API OCI_StatementGetConnection
10094 (
10095  OCI_Statement *stmt
10096 );
10097 
10169 OCI_EXPORT OCI_Lob * OCI_API OCI_LobCreate
10170 (
10171  OCI_Connection *con,
10172  unsigned int type
10173 );
10174 
10189 OCI_EXPORT boolean OCI_API OCI_LobFree
10190 (
10191  OCI_Lob *lob
10192 );
10193 
10210 OCI_EXPORT OCI_Lob ** OCI_API OCI_LobArrayCreate
10211 (
10212  OCI_Connection *con,
10213  unsigned int type,
10214  unsigned int nbelem
10215 );
10216 
10232 OCI_EXPORT boolean OCI_API OCI_LobArrayFree
10233 (
10234  OCI_Lob **lobs
10235 );
10236 
10251 OCI_EXPORT unsigned int OCI_API OCI_LobGetType
10252 (
10253  OCI_Lob *lob
10254 );
10255 
10283 OCI_EXPORT boolean OCI_API OCI_LobSeek
10284 (
10285  OCI_Lob *lob,
10286  big_uint offset,
10287  unsigned int mode
10288 );
10289 
10300 OCI_EXPORT big_uint OCI_API OCI_LobGetOffset
10301 (
10302  OCI_Lob *lob
10303 );
10304 
10326 OCI_EXPORT unsigned int OCI_API OCI_LobRead
10327 (
10328  OCI_Lob *lob,
10329  void *buffer,
10330  unsigned int len
10331 );
10332 
10358 OCI_EXPORT boolean OCI_API OCI_LobRead2
10359 (
10360  OCI_Lob *lob,
10361  void *buffer,
10362  unsigned int *char_count,
10363  unsigned int *byte_count
10364 );
10365 
10387 OCI_EXPORT unsigned int OCI_API OCI_LobWrite
10388 (
10389  OCI_Lob *lob,
10390  void *buffer,
10391  unsigned int len
10392 );
10393 
10419 OCI_EXPORT boolean OCI_API OCI_LobWrite2
10420 (
10421  OCI_Lob *lob,
10422  void *buffer,
10423  unsigned int *char_count,
10424  unsigned int *byte_count
10425 );
10426 
10447 OCI_EXPORT boolean OCI_API OCI_LobTruncate
10448 (
10449  OCI_Lob *lob,
10450  big_uint size
10451 );
10452 
10464 OCI_EXPORT big_uint OCI_API OCI_LobGetLength
10465 (
10466  OCI_Lob *lob
10467 );
10468 
10486 OCI_EXPORT unsigned int OCI_API OCI_LobGetChunkSize
10487 (
10488  OCI_Lob *lob
10489 );
10490 
10511 OCI_EXPORT big_uint OCI_API OCI_LobErase
10512 (
10513  OCI_Lob *lob,
10514  big_uint offset,
10515  big_uint len
10516 );
10517 
10536 OCI_EXPORT unsigned int OCI_API OCI_LobAppend
10537 (
10538  OCI_Lob *lob,
10539  void *buffer,
10540  unsigned int len
10541 );
10542 
10568 OCI_EXPORT boolean OCI_API OCI_LobAppend2
10569 (
10570  OCI_Lob *lob,
10571  void *buffer,
10572  unsigned int *char_count,
10573  unsigned int *byte_count
10574 );
10575 
10588 OCI_EXPORT boolean OCI_API OCI_LobAppendLob
10589 (
10590  OCI_Lob *lob,
10591  OCI_Lob *lob_src
10592 );
10593 
10605 OCI_EXPORT boolean OCI_API OCI_LobIsTemporary
10606 (
10607  OCI_Lob *lob
10608 );
10609 
10629 OCI_EXPORT boolean OCI_API OCI_LobCopy
10630 (
10631  OCI_Lob *lob,
10632  OCI_Lob *lob_src,
10633  big_uint offset_dst,
10634  big_uint offset_src,
10635  big_uint count
10636 );
10637 
10658 OCI_EXPORT boolean OCI_API OCI_LobCopyFromFile
10659 (
10660  OCI_Lob *lob,
10661  OCI_File *file,
10662  big_uint offset_dst,
10663  big_uint offset_src,
10664  big_uint count
10665 );
10666 
10689 OCI_EXPORT boolean OCI_API OCI_LobOpen
10690 (
10691  OCI_Lob *lob,
10692  unsigned int mode
10693 );
10694 
10709 OCI_EXPORT boolean OCI_API OCI_LobClose
10710 (
10711  OCI_Lob *lob
10712 );
10713 
10726 OCI_EXPORT boolean OCI_API OCI_LobIsEqual
10727 (
10728  OCI_Lob *lob,
10729  OCI_Lob *lob2
10730 );
10731 
10744 OCI_EXPORT boolean OCI_API OCI_LobAssign
10745 (
10746  OCI_Lob *lob,
10747  OCI_Lob *lob_src
10748 );
10749 
10761 OCI_EXPORT big_uint OCI_API OCI_LobGetMaxSize
10762 (
10763  OCI_Lob *lob
10764 );
10765 
10777 OCI_EXPORT boolean OCI_API OCI_LobFlush
10778 (
10779  OCI_Lob *lob
10780 );
10781 
10806 OCI_EXPORT boolean OCI_API OCI_LobEnableBuffering
10807 (
10808  OCI_Lob *lob,
10809  boolean value
10810 );
10811 
10820 OCI_EXPORT OCI_Connection * OCI_API OCI_LobGetConnection
10821 (
10822  OCI_Lob *lob
10823 );
10824 
10836 OCI_EXPORT boolean OCI_API OCI_LobIsRemote
10837 (
10838  OCI_Lob *lob
10839 );
10840 
10900 OCI_EXPORT OCI_File * OCI_API OCI_FileCreate
10901 (
10902  OCI_Connection *con,
10903  unsigned int type
10904 );
10905 
10920 OCI_EXPORT boolean OCI_API OCI_FileFree
10921 (
10922  OCI_File *file
10923 );
10924 
10941 OCI_EXPORT OCI_File ** OCI_API OCI_FileArrayCreate
10942 (
10943  OCI_Connection *con,
10944  unsigned int type,
10945  unsigned int nbelem
10946 );
10947 
10962 OCI_EXPORT boolean OCI_API OCI_FileArrayFree
10963 (
10964  OCI_File **files
10965 );
10966 
10981 OCI_EXPORT unsigned int OCI_API OCI_FileGetType
10982 (
10983  OCI_File *file
10984 );
10985 
11009 OCI_EXPORT boolean OCI_API OCI_FileSeek
11010 (
11011  OCI_File *file,
11012  big_uint offset,
11013  unsigned int mode
11014 );
11015 
11026 OCI_EXPORT big_uint OCI_API OCI_FileGetOffset
11027 (
11028  OCI_File *file
11029 );
11030 
11044 OCI_EXPORT unsigned int OCI_API OCI_FileRead
11045 (
11046  OCI_File *file,
11047  void *buffer,
11048  unsigned int len
11049 );
11050 
11059 OCI_EXPORT big_uint OCI_API OCI_FileGetSize
11060 (
11061  OCI_File *file
11062 );
11063 
11078 OCI_EXPORT boolean OCI_API OCI_FileExists
11079 (
11080  OCI_File *file
11081 );
11082 
11100 OCI_EXPORT boolean OCI_API OCI_FileSetName
11101 (
11102  OCI_File *file,
11103  const otext *dir,
11104  const otext *name
11105 );
11106 
11115 OCI_EXPORT const otext * OCI_API OCI_FileGetDirectory
11116 (
11117  OCI_File *file
11118 );
11119 
11128 OCI_EXPORT const otext * OCI_API OCI_FileGetName
11129 (
11130  OCI_File *file
11131 );
11132 
11144 OCI_EXPORT boolean OCI_API OCI_FileOpen
11145 (
11146  OCI_File *file
11147 );
11148 
11160 OCI_EXPORT boolean OCI_API OCI_FileIsOpen
11161 (
11162  OCI_File *file
11163 );
11164 
11176 OCI_EXPORT boolean OCI_API OCI_FileClose
11177 (
11178  OCI_File *file
11179 );
11180 
11193 OCI_EXPORT boolean OCI_API OCI_FileIsEqual
11194 (
11195  OCI_File *file,
11196  OCI_File *file2
11197 );
11198 
11211 OCI_EXPORT boolean OCI_API OCI_FileAssign
11212 (
11213  OCI_File *file,
11214  OCI_File *file_src
11215 );
11216 
11225 OCI_EXPORT OCI_Connection * OCI_API OCI_FileGetConnection
11226 (
11227  OCI_File *file
11228 );
11229 
11282 OCI_EXPORT OCI_Long * OCI_API OCI_LongCreate
11283 (
11284  OCI_Statement *stmt,
11285  unsigned int type
11286 );
11287 
11302 OCI_EXPORT boolean OCI_API OCI_LongFree
11303 (
11304  OCI_Long *lg
11305 );
11306 
11321 OCI_EXPORT unsigned int OCI_API OCI_LongGetType
11322 (
11323  OCI_Long *lg
11324 );
11325 
11351 OCI_EXPORT unsigned int OCI_API OCI_LongRead
11352 (
11353  OCI_Long *lg,
11354  void *buffer,
11355  unsigned int len
11356 );
11357 
11372 OCI_EXPORT unsigned int OCI_API OCI_LongWrite
11373 (
11374  OCI_Long *lg,
11375  void *buffer,
11376  unsigned int len
11377 );
11378 
11387 OCI_EXPORT unsigned int OCI_API OCI_LongGetSize
11388 (
11389  OCI_Long *lg
11390 );
11391 
11400 OCI_EXPORT void * OCI_API OCI_LongGetBuffer
11401 (
11402  OCI_Long *lg
11403 );
11404 
11438 OCI_EXPORT OCI_Number * OCI_API OCI_NumberCreate
11439 (
11440  OCI_Connection *con
11441 );
11442 
11457 OCI_EXPORT boolean OCI_API OCI_NumberFree
11458 (
11459  OCI_Number *number
11460 );
11461 
11477 OCI_EXPORT OCI_Number ** OCI_API OCI_NumberArrayCreate
11478 (
11479  OCI_Connection *con,
11480  unsigned int nbelem
11481 );
11482 
11497 OCI_EXPORT boolean OCI_API OCI_NumberArrayFree
11498 (
11499  OCI_Number **numbers
11500 );
11501 
11514 OCI_EXPORT int OCI_API OCI_NumberAssign
11515 (
11516  OCI_Number *number,
11517  OCI_Number *number_src
11518 );
11519 
11539 OCI_EXPORT boolean OCI_API OCI_NumberToText
11540 (
11541  OCI_Number *number,
11542  const otext *fmt,
11543  int size,
11544  otext *str
11545 );
11546 
11565 OCI_EXPORT boolean OCI_API OCI_NumberFromText
11566 (
11567  OCI_Number *number,
11568  const otext *str,
11569  const otext *fmt
11570 );
11571 
11588 OCI_EXPORT unsigned char * OCI_API OCI_NumberGetContent
11589 (
11590  OCI_Number *number
11591 );
11592 
11608 OCI_EXPORT boolean OCI_API OCI_NumberSetContent
11609 (
11610  OCI_Number *number,
11611  unsigned char *content
11612 );
11613 
11640 OCI_EXPORT boolean OCI_API OCI_NumberSetValue
11641 (
11642  OCI_Number *number,
11643  unsigned int type,
11644  void *value
11645 );
11646 
11663 OCI_EXPORT boolean OCI_API OCI_NumberGetValue
11664 (
11665  OCI_Number *number,
11666  unsigned int type,
11667  void *value
11668 );
11669 
11686 OCI_EXPORT boolean OCI_API OCI_NumberAdd
11687 (
11688  OCI_Number *number,
11689  unsigned int type,
11690  void *value
11691 );
11692 
11709 OCI_EXPORT boolean OCI_API OCI_NumberSub
11710 (
11711  OCI_Number *number,
11712  unsigned int type,
11713  void *value
11714 );
11715 
11732 OCI_EXPORT boolean OCI_API OCI_NumberMultiply
11733 (
11734  OCI_Number *number,
11735  unsigned int type,
11736  void *value
11737 );
11738 
11755 OCI_EXPORT boolean OCI_API OCI_NumberDivide
11756 (
11757  OCI_Number *number,
11758  unsigned int type,
11759  void *value
11760 );
11761 
11776 OCI_EXPORT int OCI_API OCI_NumberCompare
11777 (
11778  OCI_Number *number1,
11779  OCI_Number *number2
11780 );
11781 
11818 OCI_EXPORT OCI_Date * OCI_API OCI_DateCreate
11819 (
11820  OCI_Connection *con
11821 );
11822 
11837 OCI_EXPORT boolean OCI_API OCI_DateFree
11838 (
11839  OCI_Date *date
11840 );
11841 
11857 OCI_EXPORT OCI_Date ** OCI_API OCI_DateArrayCreate
11858 (
11859  OCI_Connection *con,
11860  unsigned int nbelem
11861 );
11862 
11877 OCI_EXPORT boolean OCI_API OCI_DateArrayFree
11878 (
11879  OCI_Date **dates
11880 );
11881 
11894 OCI_EXPORT boolean OCI_API OCI_DateAddDays
11895 (
11896  OCI_Date *date,
11897  int nb
11898 );
11899 
11912 OCI_EXPORT boolean OCI_API OCI_DateAddMonths
11913 (
11914  OCI_Date *date,
11915  int nb
11916 );
11917 
11930 OCI_EXPORT int OCI_API OCI_DateAssign
11931 (
11932  OCI_Date *date,
11933  OCI_Date *date_src
11934 );
11935 
11948 OCI_EXPORT int OCI_API OCI_DateCheck
11949 (
11950  OCI_Date *date
11951 );
11952 
11967 OCI_EXPORT int OCI_API OCI_DateCompare
11968 (
11969  OCI_Date *date,
11970  OCI_Date *date2
11971 );
11972 
11987 OCI_EXPORT int OCI_API OCI_DateDaysBetween
11988 (
11989  OCI_Date *date,
11990  OCI_Date *date2
11991 );
11992 
12006 OCI_EXPORT boolean OCI_API OCI_DateFromText
12007 (
12008  OCI_Date *date,
12009  const otext *str,
12010  const otext *fmt
12011 );
12012 
12027 OCI_EXPORT boolean OCI_API OCI_DateToText
12028 (
12029  OCI_Date *date,
12030  const otext *fmt,
12031  int size,
12032  otext *str
12033 );
12034 
12049 OCI_EXPORT boolean OCI_API OCI_DateGetDate
12050 (
12051  OCI_Date *date,
12052  int *year,
12053  int *month,
12054  int *day
12055 );
12056 
12071 OCI_EXPORT boolean OCI_API OCI_DateGetTime
12072 (
12073  OCI_Date *date,
12074  int *hour,
12075  int *min,
12076  int *sec
12077 );
12078 
12096 OCI_EXPORT boolean OCI_API OCI_DateGetDateTime
12097 (
12098  OCI_Date *date,
12099  int *year,
12100  int *month,
12101  int *day,
12102  int *hour,
12103  int *min,
12104  int *sec
12105 );
12106 
12121 OCI_EXPORT boolean OCI_API OCI_DateSetDate
12122 (
12123  OCI_Date *date,
12124  int year,
12125  int month,
12126  int day
12127 );
12128 
12143 OCI_EXPORT boolean OCI_API OCI_DateSetTime
12144 (
12145  OCI_Date *date,
12146  int hour,
12147  int min,
12148  int sec
12149 );
12150 
12168 OCI_EXPORT boolean OCI_API OCI_DateSetDateTime
12169 (
12170  OCI_Date *date,
12171  int year,
12172  int month,
12173  int day,
12174  int hour,
12175  int min,
12176  int sec
12177 );
12178 
12190 OCI_EXPORT boolean OCI_API OCI_DateLastDay
12191 (
12192  OCI_Date *date
12193 );
12194 
12207 OCI_EXPORT boolean OCI_API OCI_DateNextDay
12208 (
12209  OCI_Date *date,
12210  const otext *day
12211 );
12212 
12224 OCI_EXPORT boolean OCI_API OCI_DateSysDate
12225 (
12226  OCI_Date *date
12227 );
12228 
12242 OCI_EXPORT boolean OCI_API OCI_DateZoneToZone
12243 (
12244  OCI_Date *date,
12245  const otext *zone1,
12246  const otext *zone2
12247 );
12248 
12265 OCI_EXPORT boolean OCI_API OCI_DateToCTime
12266 (
12267  OCI_Date *date,
12268  struct tm *ptm,
12269  time_t *pt
12270 );
12271 
12290 OCI_EXPORT boolean OCI_API OCI_DateFromCTime
12291 (
12292  OCI_Date *date,
12293  struct tm *ptm,
12294  time_t t
12295 );
12296 
12341 OCI_EXPORT OCI_Timestamp * OCI_API OCI_TimestampCreate
12342 (
12343  OCI_Connection *con,
12344  unsigned int type
12345 );
12346 
12361 OCI_EXPORT boolean OCI_API OCI_TimestampFree
12362 (
12363  OCI_Timestamp *tmsp
12364 );
12365 
12382 OCI_EXPORT OCI_Timestamp ** OCI_API OCI_TimestampArrayCreate
12383 (
12384  OCI_Connection *con,
12385  unsigned int type,
12386  unsigned int nbelem
12387 );
12388 
12404 OCI_EXPORT boolean OCI_API OCI_TimestampArrayFree
12405 (
12406  OCI_Timestamp **tmsps
12407 );
12408 
12423 OCI_EXPORT unsigned int OCI_API OCI_TimestampGetType
12424 (
12425  OCI_Timestamp *tmsp
12426 );
12427 
12443 OCI_EXPORT boolean OCI_API OCI_TimestampAssign
12444 (
12445  OCI_Timestamp *tmsp,
12446  OCI_Timestamp *tmsp_src
12447 );
12448 
12461 OCI_EXPORT int OCI_API OCI_TimestampCheck
12462 (
12463  OCI_Timestamp *tmsp
12464 );
12465 
12480 OCI_EXPORT int OCI_API OCI_TimestampCompare
12481 (
12482  OCI_Timestamp *tmsp,
12483  OCI_Timestamp *tmsp2
12484 );
12485 
12505 OCI_EXPORT boolean OCI_API OCI_TimestampConstruct
12506 (
12507  OCI_Timestamp *tmsp,
12508  int year,
12509  int month,
12510  int day,
12511  int hour,
12512  int min,
12513  int sec,
12514  int fsec,
12515  const otext *time_zone
12516 );
12517 
12530 OCI_EXPORT boolean OCI_API OCI_TimestampConvert
12531 (
12532  OCI_Timestamp *tmsp,
12533  OCI_Timestamp *tmsp_src
12534 );
12535 
12549 OCI_EXPORT boolean OCI_API OCI_TimestampFromText
12550 (
12551  OCI_Timestamp *tmsp,
12552  const otext *str,
12553  const otext *fmt
12554 );
12555 
12571 OCI_EXPORT boolean OCI_API OCI_TimestampToText
12572 (
12573  OCI_Timestamp *tmsp,
12574  const otext *fmt,
12575  int size,
12576  otext *str,
12577  int precision
12578 );
12579 
12594 OCI_EXPORT boolean OCI_API OCI_TimestampGetDate
12595 (
12596  OCI_Timestamp *tmsp,
12597  int *year,
12598  int *month,
12599  int *day
12600 );
12601 
12617 OCI_EXPORT boolean OCI_API OCI_TimestampGetTime
12618 (
12619  OCI_Timestamp *tmsp,
12620  int *hour,
12621  int *min,
12622  int *sec,
12623  int *fsec
12624 );
12625 
12644 OCI_EXPORT boolean OCI_API OCI_TimestampGetDateTime
12645 (
12646  OCI_Timestamp *tmsp,
12647  int *year,
12648  int *month,
12649  int *day,
12650  int *hour,
12651  int *min,
12652  int *sec,
12653  int *fsec
12654 );
12655 
12669 OCI_EXPORT boolean OCI_API OCI_TimestampGetTimeZoneName
12670 (
12671  OCI_Timestamp *tmsp,
12672  int size,
12673  otext *str
12674 );
12675 
12689 OCI_EXPORT boolean OCI_API OCI_TimestampGetTimeZoneOffset
12690 (
12691  OCI_Timestamp *tmsp,
12692  int *hour,
12693  int *min
12694 );
12695 
12708 OCI_EXPORT boolean OCI_API OCI_TimestampIntervalAdd
12709 (
12710  OCI_Timestamp *tmsp,
12711  OCI_Interval *itv
12712 );
12713 
12726 OCI_EXPORT boolean OCI_API OCI_TimestampIntervalSub
12727 (
12728  OCI_Timestamp *tmsp,
12729  OCI_Interval *itv
12730 );
12731 
12748 OCI_EXPORT boolean OCI_API OCI_TimestampSubtract
12749 (
12750  OCI_Timestamp *tmsp,
12751  OCI_Timestamp *tmsp2,
12752  OCI_Interval *itv
12753 );
12754 
12767 OCI_EXPORT boolean OCI_API OCI_TimestampSysTimestamp
12768 (
12769  OCI_Timestamp *tmsp
12770 );
12771 
12788 OCI_EXPORT boolean OCI_API OCI_TimestampToCTime
12789 (
12790  OCI_Timestamp *tmsp,
12791  struct tm *ptm,
12792  time_t *pt
12793 );
12794 
12813 OCI_EXPORT boolean OCI_API OCI_TimestampFromCTime
12814 (
12815  OCI_Timestamp *tmsp,
12816  struct tm *ptm,
12817  time_t t
12818 );
12819 
12841 OCI_EXPORT OCI_Interval * OCI_API OCI_IntervalCreate
12842 (
12843  OCI_Connection *con,
12844  unsigned int type
12845 );
12846 
12862 OCI_EXPORT boolean OCI_API OCI_IntervalFree
12863 (
12864  OCI_Interval *itv
12865 );
12866 
12883 OCI_EXPORT OCI_Interval ** OCI_API OCI_IntervalArrayCreate
12884 (
12885  OCI_Connection *con,
12886  unsigned int type,
12887  unsigned int nbelem
12888 );
12889 
12905 OCI_EXPORT boolean OCI_API OCI_IntervalArrayFree
12906 (
12907  OCI_Interval **itvs
12908 );
12909 
12924 OCI_EXPORT unsigned int OCI_API OCI_IntervalGetType
12925 (
12926  OCI_Interval *itv
12927 );
12928 
12941 OCI_EXPORT boolean OCI_API OCI_IntervalAssign
12942 (
12943  OCI_Interval *itv,
12944  OCI_Interval *itv_src
12945 );
12946 
12959 OCI_EXPORT int OCI_API OCI_IntervalCheck
12960 (
12961  OCI_Interval *itv
12962 );
12963 
12978 OCI_EXPORT int OCI_API OCI_IntervalCompare
12979 (
12980  OCI_Interval *itv,
12981  OCI_Interval *itv2
12982 );
12983 
12996 OCI_EXPORT boolean OCI_API OCI_IntervalFromText
12997 (
12998  OCI_Interval *itv,
12999  const otext *str
13000 );
13001 
13017 OCI_EXPORT boolean OCI_API OCI_IntervalToText
13018 (
13019  OCI_Interval *itv,
13020  int leading_prec,
13021  int fraction_prec,
13022  int size,
13023  otext *str
13024 );
13025 
13038 OCI_EXPORT boolean OCI_API OCI_IntervalFromTimeZone
13039 (
13040  OCI_Interval *itv,
13041  const otext *str
13042 );
13043 
13060 OCI_EXPORT boolean OCI_API OCI_IntervalGetDaySecond
13061 (
13062  OCI_Interval *itv,
13063  int *day,
13064  int *hour,
13065  int *min,
13066  int *sec,
13067  int *fsec
13068 );
13069 
13083 OCI_EXPORT boolean OCI_API OCI_IntervalGetYearMonth
13084 (
13085  OCI_Interval *itv,
13086  int *year,
13087  int *month
13088 );
13089 
13106 OCI_EXPORT boolean OCI_API OCI_IntervalSetDaySecond
13107 (
13108  OCI_Interval *itv,
13109  int day,
13110  int hour,
13111  int min,
13112  int sec,
13113  int fsec
13114 );
13115 
13129 OCI_EXPORT boolean OCI_API OCI_IntervalSetYearMonth
13130 (
13131  OCI_Interval *itv,
13132  int year,
13133  int month
13134 );
13135 
13148 OCI_EXPORT boolean OCI_API OCI_IntervalAdd
13149 (
13150  OCI_Interval *itv,
13151  OCI_Interval *itv2
13152 );
13153 
13166 OCI_EXPORT boolean OCI_API OCI_IntervalSubtract
13167 (
13168  OCI_Interval *itv,
13169  OCI_Interval *itv2
13170 );
13171 
13231 OCI_EXPORT OCI_Object * OCI_API OCI_ObjectCreate
13232 (
13233  OCI_Connection *con,
13234  OCI_TypeInfo *typinf
13235 );
13236 
13252 OCI_EXPORT boolean OCI_API OCI_ObjectFree
13253 (
13254  OCI_Object *obj
13255 );
13256 
13273 OCI_EXPORT OCI_Object ** OCI_API OCI_ObjectArrayCreate
13274 (
13275  OCI_Connection *con,
13276  OCI_TypeInfo *typinf,
13277  unsigned int nbelem
13278 );
13279 
13295 OCI_EXPORT boolean OCI_API OCI_ObjectArrayFree
13296 (
13297  OCI_Object **objs
13298 );
13299 
13318 OCI_EXPORT boolean OCI_API OCI_ObjectAssign
13319 (
13320  OCI_Object *obj,
13321  OCI_Object *obj_src
13322 );
13323 
13342 OCI_EXPORT unsigned int OCI_API OCI_ObjectGetType
13343 (
13344  OCI_Object *obj
13345 );
13346 
13364 OCI_EXPORT boolean OCI_API OCI_ObjectGetSelfRef
13365 (
13366  OCI_Object *obj,
13367  OCI_Ref *ref
13368 );
13369 
13378 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_ObjectGetTypeInfo
13379 (
13380  OCI_Object *obj
13381 );
13382 
13403 OCI_EXPORT boolean OCI_API OCI_ObjectGetBoolean
13404 (
13405  OCI_Object *obj,
13406  const otext *attr
13407 );
13408 
13426 OCI_EXPORT OCI_Number* OCI_API OCI_ObjectGetNumber
13427 (
13428  OCI_Object *obj,
13429  const otext *attr
13430 );
13431 
13449 OCI_EXPORT short OCI_API OCI_ObjectGetShort
13450 (
13451  OCI_Object *obj,
13452  const otext *attr
13453 );
13454 
13472 OCI_EXPORT unsigned short OCI_API OCI_ObjectGetUnsignedShort
13473 (
13474  OCI_Object *obj,
13475  const otext *attr
13476 );
13477 
13495 OCI_EXPORT int OCI_API OCI_ObjectGetInt
13496 (
13497  OCI_Object *obj,
13498  const otext *attr
13499 );
13500 
13518 OCI_EXPORT unsigned int OCI_API OCI_ObjectGetUnsignedInt
13519 (
13520  OCI_Object *obj,
13521  const otext *attr
13522 );
13523 
13541 OCI_EXPORT big_int OCI_API OCI_ObjectGetBigInt
13542 (
13543  OCI_Object *obj,
13544  const otext *attr
13545 );
13546 
13564 OCI_EXPORT big_uint OCI_API OCI_ObjectGetUnsignedBigInt
13565 (
13566  OCI_Object *obj,
13567  const otext *attr
13568 );
13569 
13587 OCI_EXPORT double OCI_API OCI_ObjectGetDouble
13588 (
13589  OCI_Object *obj,
13590  const otext *attr
13591 );
13592 
13610 OCI_EXPORT float OCI_API OCI_ObjectGetFloat
13611 (
13612  OCI_Object *obj,
13613  const otext *attr
13614 );
13615 
13633 OCI_EXPORT const otext * OCI_API OCI_ObjectGetString
13634 (
13635  OCI_Object *obj,
13636  const otext *attr
13637 );
13638 
13659 OCI_EXPORT int OCI_API OCI_ObjectGetRaw
13660 (
13661  OCI_Object *obj,
13662  const otext *attr,
13663  void *value,
13664  unsigned int len
13665 );
13666 
13684 OCI_EXPORT unsigned int OCI_API OCI_ObjectGetRawSize
13685 (
13686  OCI_Object *obj,
13687  const otext *attr
13688 );
13689 
13707 OCI_EXPORT OCI_Date * OCI_API OCI_ObjectGetDate
13708 (
13709  OCI_Object *obj,
13710  const otext *attr
13711 );
13712 
13730 OCI_EXPORT OCI_Timestamp * OCI_API OCI_ObjectGetTimestamp
13731 (
13732  OCI_Object *obj,
13733  const otext *attr
13734 );
13735 
13753 OCI_EXPORT OCI_Interval * OCI_API OCI_ObjectGetInterval
13754 (
13755  OCI_Object *obj,
13756  const otext *attr
13757 );
13758 
13776 OCI_EXPORT OCI_Coll * OCI_API OCI_ObjectGetColl
13777 (
13778  OCI_Object *obj,
13779  const otext *attr
13780 );
13781 
13799 OCI_EXPORT OCI_Ref * OCI_API OCI_ObjectGetRef
13800 (
13801  OCI_Object *obj,
13802  const otext *attr
13803 );
13804 
13822 OCI_EXPORT OCI_Object * OCI_API OCI_ObjectGetObject
13823 (
13824  OCI_Object *obj,
13825  const otext *attr
13826 );
13827 
13845 OCI_EXPORT OCI_Lob * OCI_API OCI_ObjectGetLob
13846 (
13847  OCI_Object *obj,
13848  const otext *attr
13849 );
13850 
13868 OCI_EXPORT OCI_File * OCI_API OCI_ObjectGetFile
13869 (
13870  OCI_Object *obj,
13871  const otext *attr
13872 );
13873 
13890 OCI_EXPORT boolean OCI_API OCI_ObjectSetBoolean
13891 (
13892  OCI_Object *obj,
13893  const otext *attr,
13894  boolean value
13895 );
13896 
13910 OCI_EXPORT boolean OCI_API OCI_ObjectSetNumber
13911 (
13912  OCI_Object *obj,
13913  const otext *attr,
13914  OCI_Number *value
13915 );
13916 
13930 OCI_EXPORT boolean OCI_API OCI_ObjectSetShort
13931 (
13932  OCI_Object *obj,
13933  const otext *attr,
13934  short value
13935 );
13936 
13950 OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedShort
13951 (
13952  OCI_Object *obj,
13953  const otext *attr,
13954  unsigned short value
13955 );
13956 
13970 OCI_EXPORT boolean OCI_API OCI_ObjectSetInt
13971 (
13972  OCI_Object *obj,
13973  const otext *attr,
13974  int value
13975 );
13976 
13990 OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedInt
13991 (
13992  OCI_Object *obj,
13993  const otext *attr,
13994  unsigned int value
13995 );
13996 
14010 OCI_EXPORT boolean OCI_API OCI_ObjectSetBigInt
14011 (
14012  OCI_Object *obj,
14013  const otext *attr,
14014  big_int value
14015 );
14016 
14030 OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedBigInt
14031 (
14032  OCI_Object *obj,
14033  const otext *attr,
14034  big_uint value
14035 );
14036 
14050 OCI_EXPORT boolean OCI_API OCI_ObjectSetDouble
14051 (
14052  OCI_Object *obj,
14053  const otext *attr,
14054  double value
14055 );
14056 
14070 OCI_EXPORT boolean OCI_API OCI_ObjectSetFloat
14071 (
14072  OCI_Object *obj,
14073  const otext *attr,
14074  float value
14075 );
14076 
14093 OCI_EXPORT boolean OCI_API OCI_ObjectSetString
14094 (
14095  OCI_Object *obj,
14096  const otext *attr,
14097  const otext *value
14098 );
14099 
14117 OCI_EXPORT boolean OCI_API OCI_ObjectSetRaw
14118 (
14119  OCI_Object *obj,
14120  const otext *attr,
14121  void *value,
14122  unsigned int len
14123 );
14124 
14141 OCI_EXPORT boolean OCI_API OCI_ObjectSetDate
14142 (
14143  OCI_Object *obj,
14144  const otext *attr,
14145  OCI_Date *value
14146 );
14147 
14164 OCI_EXPORT boolean OCI_API OCI_ObjectSetTimestamp
14165 (
14166  OCI_Object *obj,
14167  const otext *attr,
14168  OCI_Timestamp *value
14169 );
14170 
14187 OCI_EXPORT boolean OCI_API OCI_ObjectSetInterval
14188 (
14189  OCI_Object *obj,
14190  const otext *attr,
14191  OCI_Interval *value
14192 );
14193 
14210 OCI_EXPORT boolean OCI_API OCI_ObjectSetColl
14211 (
14212  OCI_Object *obj,
14213  const otext *attr,
14214  OCI_Coll *value
14215 );
14216 
14238 OCI_EXPORT boolean OCI_API OCI_ObjectSetObject
14239 (
14240  OCI_Object *obj,
14241  const otext *attr,
14242  OCI_Object *value
14243 );
14244 
14261 OCI_EXPORT boolean OCI_API OCI_ObjectSetLob
14262 (
14263  OCI_Object *obj,
14264  const otext *attr,
14265  OCI_Lob *value
14266 );
14267 
14284 OCI_EXPORT boolean OCI_API OCI_ObjectSetFile
14285 (
14286  OCI_Object *obj,
14287  const otext *attr,
14288  OCI_File *value
14289 );
14290 
14307 OCI_EXPORT boolean OCI_API OCI_ObjectSetRef
14308 (
14309  OCI_Object *obj,
14310  const otext *attr,
14311  OCI_Ref *value
14312 );
14313 
14326 OCI_EXPORT boolean OCI_API OCI_ObjectIsNull
14327 (
14328  OCI_Object *obj,
14329  const otext *attr
14330 );
14331 
14344 OCI_EXPORT boolean OCI_API OCI_ObjectSetNull
14345 (
14346  OCI_Object *obj,
14347  const otext *attr
14348 );
14349 
14369 OCI_EXPORT boolean OCI_API OCI_ObjectGetStruct
14370 (
14371  OCI_Object *obj,
14372  void **pp_struct,
14373  void **pp_ind
14374 );
14375 
14401 OCI_EXPORT boolean OCI_API OCI_ObjectToText
14402 (
14403  OCI_Object *obj,
14404  unsigned int *size,
14405  otext *str
14406 );
14407 
14420 OCI_EXPORT OCI_Ref * OCI_API OCI_RefCreate
14421 (
14422  OCI_Connection *con,
14423  OCI_TypeInfo *typinf
14424 );
14425 
14441 OCI_EXPORT boolean OCI_API OCI_RefFree
14442 (
14443  OCI_Ref *ref
14444 );
14445 
14462 OCI_EXPORT OCI_Ref ** OCI_API OCI_RefArrayCreate
14463 (
14464  OCI_Connection *con,
14465  OCI_TypeInfo *typinf,
14466  unsigned int nbelem
14467 );
14468 
14484 OCI_EXPORT boolean OCI_API OCI_RefArrayFree
14485 (
14486  OCI_Ref **refs
14487 );
14488 
14504 OCI_EXPORT boolean OCI_API OCI_RefAssign
14505 (
14506  OCI_Ref *ref,
14507  OCI_Ref *ref_src
14508 );
14509 
14518 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_RefGetTypeInfo
14519 (
14520  OCI_Ref *ref
14521 );
14522 
14534 OCI_EXPORT OCI_Object * OCI_API OCI_RefGetObject
14535 (
14536  OCI_Ref *ref
14537 );
14538 
14550 OCI_EXPORT boolean OCI_API OCI_RefIsNull
14551 (
14552  OCI_Ref *ref
14553 );
14554 
14568 OCI_EXPORT boolean OCI_API OCI_RefSetNull
14569 (
14570  OCI_Ref *ref
14571 );
14572 
14585 OCI_EXPORT unsigned int OCI_API OCI_RefGetHexSize
14586 (
14587  OCI_Ref *ref
14588 );
14589 
14603 OCI_EXPORT boolean OCI_API OCI_RefToText
14604 (
14605  OCI_Ref *ref,
14606  unsigned int size,
14607  otext *str
14608 );
14609 
14655 OCI_EXPORT boolean OCI_API OCI_Break
14656 (
14657  OCI_Connection *con
14658 );
14659 
14697 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_TypeInfoGet
14698 (
14699  OCI_Connection *con,
14700  const otext *name,
14701  unsigned int type
14702 );
14703 
14723 OCI_EXPORT unsigned int OCI_API OCI_TypeInfoGetType
14724 (
14725  OCI_TypeInfo *typinf
14726 );
14727 
14736 OCI_EXPORT OCI_Connection * OCI_API OCI_TypeInfoGetConnection
14737 (
14738  OCI_TypeInfo *typinf
14739 );
14740 
14757 OCI_EXPORT boolean OCI_API OCI_TypeInfoFree
14758 (
14759  OCI_TypeInfo *typinf
14760 );
14761 
14770 OCI_EXPORT unsigned int OCI_API OCI_TypeInfoGetColumnCount
14771 (
14772  OCI_TypeInfo *typinf
14773 );
14774 
14788 OCI_EXPORT OCI_Column * OCI_API OCI_TypeInfoGetColumn
14789 (
14790  OCI_TypeInfo *typinf,
14791  unsigned int index
14792 );
14793 
14802 OCI_EXPORT const otext * OCI_API OCI_TypeInfoGetName
14803 (
14804  OCI_TypeInfo *typinf
14805 );
14806 
14825 OCI_EXPORT boolean OCI_API OCI_TypeInfoIsFinalType
14826 (
14827  OCI_TypeInfo *typinf
14828 );
14829 
14848 OCI_EXPORT OCI_TypeInfo* OCI_API OCI_TypeInfoGetSuperType
14849 (
14850  OCI_TypeInfo *typinf
14851 );
14852 
14952 OCI_EXPORT boolean OCI_Immediate
14953 (
14954  OCI_Connection *con,
14955  const otext *sql,
14956  ...
14957 );
14958 
14972 OCI_EXPORT boolean OCI_ImmediateFmt
14973 (
14974  OCI_Connection *con,
14975  const otext *sql,
14976  ...
14977 );
14978 
14991 OCI_EXPORT boolean OCI_PrepareFmt
14992 (
14993  OCI_Statement *stmt,
14994  const otext *sql,
14995  ...
14996 );
14997 
15019 OCI_EXPORT boolean OCI_ExecuteStmtFmt
15020 (
15021  OCI_Statement *stmt,
15022  const otext *sql,
15023  ...
15024 );
15025 
15055 OCI_EXPORT boolean OCI_ParseFmt
15056 (
15057  OCI_Statement *stmt,
15058  const otext *sql,
15059  ...
15060 );
15061 
15094 OCI_EXPORT boolean OCI_DescribeFmt
15095 (
15096  OCI_Statement *stmt,
15097  const otext *sql,
15098  ...
15099 );
15100 
15162 OCI_EXPORT OCI_HashTable * OCI_API OCI_HashCreate
15163 (
15164  unsigned int size,
15165  unsigned int type
15166 );
15167 
15179 OCI_EXPORT boolean OCI_API OCI_HashFree
15180 (
15181  OCI_HashTable *table
15182 );
15183 
15192 OCI_EXPORT unsigned int OCI_API OCI_HashGetSize
15193 (
15194  OCI_HashTable *table
15195 );
15196 
15215 OCI_EXPORT unsigned int OCI_API OCI_HashGetType
15216 (
15217  OCI_HashTable *table
15218 );
15219 
15233 OCI_EXPORT boolean OCI_API OCI_HashAddString
15234 (
15235  OCI_HashTable *table,
15236  const otext *key,
15237  const otext *value
15238 );
15239 
15252 OCI_EXPORT const otext * OCI_API OCI_HashGetString
15253 (
15254  OCI_HashTable *table,
15255  const otext *key
15256 );
15257 
15271 OCI_EXPORT boolean OCI_API OCI_HashAddInt
15272 (
15273  OCI_HashTable *table,
15274  const otext *key,
15275  int value
15276 );
15277 
15290 OCI_EXPORT int OCI_API OCI_HashGetInt
15291 (
15292  OCI_HashTable *table,
15293  const otext *key
15294 );
15295 
15309 OCI_EXPORT boolean OCI_API OCI_HashAddPointer
15310 (
15311  OCI_HashTable *table,
15312  const otext *key,
15313  void *value
15314 );
15315 
15328 OCI_EXPORT void * OCI_API OCI_HashGetPointer
15329 (
15330  OCI_HashTable *table,
15331  const otext *key
15332 );
15333 
15347 OCI_EXPORT OCI_HashEntry * OCI_API OCI_HashLookup
15348 (
15349  OCI_HashTable *table,
15350  const otext *key,
15351  boolean create
15352 );
15353 
15366 OCI_EXPORT OCI_HashValue * OCI_API OCI_HashGetValue
15367 (
15368  OCI_HashTable *table,
15369  const otext *key
15370 );
15371 
15387 OCI_EXPORT OCI_HashEntry * OCI_API OCI_HashGetEntry
15388 (
15389  OCI_HashTable *table,
15390  unsigned int index
15391 );
15392 
15443 OCI_EXPORT OCI_Mutex * OCI_API OCI_MutexCreate
15444 (
15445  void
15446 );
15447 
15459 OCI_EXPORT boolean OCI_API OCI_MutexFree
15460 (
15461  OCI_Mutex *mutex
15462 );
15463 
15475 OCI_EXPORT boolean OCI_API OCI_MutexAcquire
15476 (
15477  OCI_Mutex *mutex
15478 );
15479 
15491 OCI_EXPORT boolean OCI_API OCI_MutexRelease
15492 (
15493  OCI_Mutex *mutex
15494 );
15495 
15505 OCI_EXPORT OCI_Thread * OCI_API OCI_ThreadCreate
15506 (
15507  void
15508 );
15509 
15521 OCI_EXPORT boolean OCI_API OCI_ThreadFree
15522 (
15523  OCI_Thread *thread
15524 );
15525 
15539 OCI_EXPORT boolean OCI_API OCI_ThreadRun
15540 (
15541  OCI_Thread *thread,
15542  POCI_THREAD proc,
15543  void *arg
15544 );
15545 
15560 OCI_EXPORT boolean OCI_API OCI_ThreadJoin
15561 (
15562  OCI_Thread *thread
15563 );
15564 
15581 OCI_EXPORT boolean OCI_API OCI_ThreadKeyCreate
15582 (
15583  const otext *name,
15584  POCI_THREADKEYDEST destfunc
15585 );
15586 
15599 OCI_EXPORT boolean OCI_API OCI_ThreadKeySetValue
15600 (
15601  const otext *name,
15602  void *value
15603 );
15604 
15616 OCI_EXPORT void * OCI_API OCI_ThreadKeyGetValue
15617 (
15618  const otext *name
15619 );
15620 
15715 OCI_EXPORT OCI_DirPath * OCI_API OCI_DirPathCreate
15716 (
15717  OCI_TypeInfo *typinf,
15718  const otext *partition,
15719  unsigned int nb_cols,
15720  unsigned int nb_rows
15721 );
15722 
15733 OCI_EXPORT boolean OCI_API OCI_DirPathFree
15734 (
15735  OCI_DirPath *dp
15736 );
15737 
15759 OCI_EXPORT boolean OCI_API OCI_DirPathSetColumn
15760 (
15761  OCI_DirPath *dp,
15762  unsigned int index,
15763  const otext *name,
15764  unsigned int maxsize,
15765  const otext *format
15766 );
15767 
15780 OCI_EXPORT boolean OCI_API OCI_DirPathPrepare
15781 (
15782  OCI_DirPath *dp
15783 );
15784 
15825 OCI_EXPORT boolean OCI_API OCI_DirPathSetEntry
15826 (
15827  OCI_DirPath *dp,
15828  unsigned int row,
15829  unsigned int index,
15830  void *value,
15831  unsigned size,
15832  boolean complete
15833 );
15834 
15865 OCI_EXPORT unsigned int OCI_API OCI_DirPathConvert
15866 (
15867  OCI_DirPath *dp
15868 );
15869 
15892 OCI_EXPORT unsigned int OCI_API OCI_DirPathLoad
15893 (
15894  OCI_DirPath *dp
15895 );
15896 
15913 OCI_EXPORT boolean OCI_API OCI_DirPathReset
15914 (
15915  OCI_DirPath *dp
15916 );
15917 
15937 OCI_EXPORT boolean OCI_API OCI_DirPathFinish
15938 (
15939  OCI_DirPath *dp
15940 );
15941 
15961 OCI_EXPORT boolean OCI_API OCI_DirPathAbort
15962 (
15963  OCI_DirPath *dp
15964 );
15965 
15980 OCI_EXPORT boolean OCI_API OCI_DirPathSave
15981 (
15982  OCI_DirPath *dp
15983 );
15984 
15996 OCI_EXPORT boolean OCI_API OCI_DirPathFlushRow
15997 (
15998  OCI_DirPath *dp
15999 );
16000 
16017 OCI_EXPORT boolean OCI_API OCI_DirPathSetCurrentRows
16018 (
16019  OCI_DirPath *dp,
16020  unsigned int nb_rows
16021 );
16022 
16035 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetCurrentRows
16036 (
16037  OCI_DirPath *dp
16038 );
16039 
16052 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetMaxRows
16053 (
16054  OCI_DirPath *dp
16055 );
16056 
16075 OCI_EXPORT boolean OCI_API OCI_DirPathSetDateFormat
16076 (
16077  OCI_DirPath *dp,
16078  const otext *format
16079 );
16080 
16112 OCI_EXPORT boolean OCI_API OCI_DirPathSetParallel
16113 (
16114  OCI_DirPath *dp,
16115  boolean value
16116 );
16117 
16137 OCI_EXPORT boolean OCI_API OCI_DirPathSetNoLog
16138 (
16139  OCI_DirPath *dp,
16140  boolean value
16141 );
16142 
16162 OCI_EXPORT boolean OCI_API OCI_DirPathSetCacheSize
16163 (
16164  OCI_DirPath *dp,
16165  unsigned int size
16166 );
16167 
16183 OCI_EXPORT boolean OCI_API OCI_DirPathSetBufferSize
16184 (
16185  OCI_DirPath *dp,
16186  unsigned int size
16187 );
16188 
16212 OCI_EXPORT boolean OCI_API OCI_DirPathSetConvertMode
16213 (
16214  OCI_DirPath *dp,
16215  unsigned int mode
16216 );
16217 
16229 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetRowCount
16230 (
16231  OCI_DirPath *dp
16232 );
16233 
16249 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetAffectedRows
16250 (
16251  OCI_DirPath *dp
16252 );
16253 
16283 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetErrorColumn
16284 (
16285  OCI_DirPath *dp
16286 );
16287 
16325 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetErrorRow
16326 (
16327  OCI_DirPath *dp
16328 );
16329 
16426 OCI_EXPORT OCI_Msg * OCI_API OCI_MsgCreate
16427 (
16428  OCI_TypeInfo *typinf
16429 );
16430 
16445 OCI_EXPORT boolean OCI_API OCI_MsgFree
16446 (
16447  OCI_Msg *msg
16448 );
16449 
16469 OCI_EXPORT boolean OCI_API OCI_MsgReset
16470 (
16471  OCI_Msg *msg
16472 );
16473 
16485 OCI_EXPORT OCI_Object * OCI_API OCI_MsgGetObject
16486 (
16487  OCI_Msg *msg
16488 );
16489 
16502 OCI_EXPORT boolean OCI_API OCI_MsgSetObject
16503 (
16504  OCI_Msg *msg,
16505  OCI_Object *obj
16506 );
16507 
16524 OCI_EXPORT boolean OCI_API OCI_MsgGetRaw
16525 (
16526  OCI_Msg *msg,
16527  void *raw,
16528  unsigned int *size
16529 );
16530 
16544 OCI_EXPORT boolean OCI_API OCI_MsgSetRaw
16545 (
16546  OCI_Msg *msg,
16547  const void *raw,
16548  unsigned int size
16549 );
16550 
16559 OCI_EXPORT int OCI_API OCI_MsgGetAttemptCount
16560 (
16561  OCI_Msg *msg
16562 );
16563 
16575 OCI_EXPORT int OCI_API OCI_MsgGetEnqueueDelay
16576 (
16577  OCI_Msg *msg
16578 );
16579 
16607 OCI_EXPORT boolean OCI_API OCI_MsgSetEnqueueDelay
16608 (
16609  OCI_Msg *msg,
16610  int value
16611 );
16612 
16624 OCI_EXPORT OCI_Date * OCI_API OCI_MsgGetEnqueueTime
16625 (
16626  OCI_Msg *msg
16627 );
16628 
16640 OCI_EXPORT int OCI_API OCI_MsgGetExpiration
16641 (
16642  OCI_Msg *msg
16643 );
16644 
16669 OCI_EXPORT boolean OCI_API OCI_MsgSetExpiration
16670 (
16671  OCI_Msg *msg,
16672  int value
16673 );
16674 
16690 OCI_EXPORT unsigned int OCI_API OCI_MsgGetState
16691 (
16692  OCI_Msg *msg
16693 );
16694 
16706 OCI_EXPORT int OCI_API OCI_MsgGetPriority
16707 (
16708  OCI_Msg *msg
16709 );
16710 
16728 OCI_EXPORT boolean OCI_API OCI_MsgSetPriority
16729 (
16730  OCI_Msg *msg,
16731  int value
16732 );
16733 
16755 OCI_EXPORT boolean OCI_API OCI_MsgGetID
16756 (
16757  OCI_Msg *msg,
16758  void *id,
16759  unsigned int *len
16760 );
16761 
16782 OCI_EXPORT boolean OCI_API OCI_MsgGetOriginalID
16783 (
16784  OCI_Msg *msg,
16785  void *id,
16786  unsigned int *len
16787 );
16788 
16806 OCI_EXPORT boolean OCI_API OCI_MsgSetOriginalID
16807 (
16808  OCI_Msg *msg,
16809  const void *id,
16810  unsigned int len
16811 );
16812 
16824 OCI_EXPORT OCI_Agent * OCI_API OCI_MsgGetSender
16825 (
16826  OCI_Msg *msg
16827 );
16828 
16841 OCI_EXPORT boolean OCI_API OCI_MsgSetSender
16842 (
16843  OCI_Msg *msg,
16844  OCI_Agent *sender
16845 );
16846 
16864 OCI_EXPORT boolean OCI_API OCI_MsgSetConsumers
16865 (
16866  OCI_Msg *msg,
16867  OCI_Agent **consumers,
16868  unsigned int count
16869 );
16870 
16882 OCI_EXPORT const otext * OCI_API OCI_MsgGetCorrelation
16883 (
16884  OCI_Msg *msg
16885 );
16886 
16902 OCI_EXPORT boolean OCI_API OCI_MsgSetCorrelation
16903 (
16904  OCI_Msg *msg,
16905  const otext *correlation
16906 );
16907 
16923 OCI_EXPORT const otext * OCI_API OCI_MsgGetExceptionQueue
16924 (
16925  OCI_Msg *msg
16926 );
16927 
16959 OCI_EXPORT boolean OCI_API OCI_MsgSetExceptionQueue
16960 (
16961  OCI_Msg *msg,
16962  const otext *queue
16963 );
16964 
16992 OCI_EXPORT OCI_Enqueue * OCI_API OCI_EnqueueCreate
16993 (
16994  OCI_TypeInfo *typinf,
16995  const otext *name
16996 );
16997 
17009 OCI_EXPORT boolean OCI_API OCI_EnqueueFree
17010 (
17011  OCI_Enqueue *enqueue
17012 );
17013 
17026 OCI_EXPORT boolean OCI_API OCI_EnqueuePut
17027 (
17028  OCI_Enqueue *enqueue,
17029  OCI_Msg *msg
17030 );
17031 
17060 OCI_EXPORT boolean OCI_API OCI_EnqueueSetSequenceDeviation
17061 (
17062  OCI_Enqueue *enqueue,
17063  unsigned int sequence
17064 );
17065 
17077 OCI_EXPORT unsigned int OCI_API OCI_EnqueueGetSequenceDeviation
17078 (
17079  OCI_Enqueue *enqueue
17080 );
17081 
17102 OCI_EXPORT boolean OCI_API OCI_EnqueueSetVisibility
17103 (
17104  OCI_Enqueue *enqueue,
17105  unsigned int visibility
17106 );
17107 
17119 OCI_EXPORT unsigned int OCI_API OCI_EnqueueGetVisibility
17120 (
17121  OCI_Enqueue *enqueue
17122 );
17123 
17147 OCI_EXPORT boolean OCI_API OCI_EnqueueSetRelativeMsgID
17148 (
17149  OCI_Enqueue *enqueue,
17150  const void *id,
17151  unsigned int len
17152 );
17153 
17174 OCI_EXPORT boolean OCI_API OCI_EnqueueGetRelativeMsgID
17175 (
17176  OCI_Enqueue *enqueue,
17177  void *id,
17178  unsigned int *len
17179 );
17180 
17208 OCI_EXPORT OCI_Dequeue * OCI_API OCI_DequeueCreate
17209 (
17210  OCI_TypeInfo *typinf,
17211  const otext *name
17212 );
17213 
17225 OCI_EXPORT boolean OCI_API OCI_DequeueFree
17226 (
17227  OCI_Dequeue *dequeue
17228 );
17229 
17250 OCI_EXPORT OCI_Msg * OCI_API OCI_DequeueGet
17251 (
17252  OCI_Dequeue *dequeue
17253 );
17254 
17276 OCI_EXPORT boolean OCI_API OCI_DequeueSubscribe
17277 (
17278  OCI_Dequeue *dequeue,
17279  unsigned int port,
17280  unsigned int timeout,
17281  POCI_NOTIFY_AQ callback
17282 );
17283 
17295 OCI_EXPORT boolean OCI_API OCI_DequeueUnsubscribe
17296 (
17297  OCI_Dequeue *dequeue
17298 );
17299 
17316 OCI_EXPORT boolean OCI_API OCI_DequeueSetConsumer
17317 (
17318  OCI_Dequeue *dequeue,
17319  const otext *consumer
17320 );
17321 
17333 OCI_EXPORT const otext * OCI_API OCI_DequeueGetConsumer
17334 (
17335  OCI_Dequeue *dequeue
17336 );
17337 
17354 OCI_EXPORT boolean OCI_API OCI_DequeueSetCorrelation
17355 (
17356  OCI_Dequeue *dequeue,
17357  const otext *pattern
17358 );
17359 
17371 OCI_EXPORT const otext * OCI_API OCI_DequeueGetCorrelation
17372 (
17373  OCI_Dequeue *dequeue
17374 );
17375 
17392 OCI_EXPORT boolean OCI_API OCI_DequeueSetRelativeMsgID
17393 (
17394  OCI_Dequeue *dequeue,
17395  const void *id,
17396  unsigned int len
17397 );
17398 
17415 OCI_EXPORT boolean OCI_API OCI_DequeueGetRelativeMsgID
17416 (
17417  OCI_Dequeue *dequeue,
17418  void *id,
17419  unsigned int *len
17420 );
17421 
17446 OCI_EXPORT boolean OCI_API OCI_DequeueSetVisibility
17447 (
17448  OCI_Dequeue *dequeue,
17449  unsigned int visibility
17450 );
17451 
17463 OCI_EXPORT unsigned int OCI_API OCI_DequeueGetVisibility
17464 (
17465  OCI_Dequeue *dequeue
17466 );
17467 
17491 OCI_EXPORT boolean OCI_API OCI_DequeueSetMode
17492 (
17493  OCI_Dequeue *dequeue,
17494  unsigned int mode
17495 );
17496 
17508 OCI_EXPORT unsigned int OCI_API OCI_DequeueGetMode
17509 (
17510  OCI_Dequeue *dequeue
17511 );
17512 
17545 OCI_EXPORT boolean OCI_API OCI_DequeueSetNavigation
17546 (
17547  OCI_Dequeue *dequeue,
17548  unsigned int position
17549 );
17550 
17562 OCI_EXPORT unsigned int OCI_API OCI_DequeueGetNavigation
17563 (
17564  OCI_Dequeue *dequeue
17565 );
17566 
17590 OCI_EXPORT boolean OCI_API OCI_DequeueSetWaitTime
17591 (
17592  OCI_Dequeue *dequeue,
17593  int timeout
17594 );
17595 
17607 OCI_EXPORT int OCI_API OCI_DequeueGetWaitTime
17608 (
17609  OCI_Dequeue *dequeue
17610 );
17611 
17624 OCI_EXPORT boolean OCI_API OCI_DequeueSetAgentList
17625 (
17626  OCI_Dequeue *dequeue,
17627  OCI_Agent **consumers,
17628  unsigned int count
17629 );
17630 
17654 OCI_EXPORT OCI_Agent * OCI_API OCI_DequeueListen
17655 (
17656  OCI_Dequeue *dequeue,
17657  int timeout
17658 );
17659 
17683 OCI_EXPORT OCI_Agent * OCI_API OCI_AgentCreate
17684 (
17685  OCI_Connection *con,
17686  const otext *name,
17687  const otext *address
17688 );
17689 
17704 OCI_EXPORT boolean OCI_API OCI_AgentFree
17705 (
17706  OCI_Agent *agent
17707 );
17708 
17728 OCI_EXPORT boolean OCI_API OCI_AgentSetName
17729 (
17730  OCI_Agent *agent,
17731  const otext *name
17732 );
17733 
17745 OCI_EXPORT const otext * OCI_API OCI_AgentGetName
17746 (
17747  OCI_Agent *agent
17748 );
17749 
17768 OCI_EXPORT boolean OCI_API OCI_AgentSetAddress
17769 (
17770  OCI_Agent *agent,
17771  const otext *address
17772 );
17773 
17788 OCI_EXPORT const otext * OCI_API OCI_AgentGetAddress
17789 (
17790  OCI_Agent *agent
17791 );
17792 
17834 OCI_EXPORT boolean OCI_API OCI_QueueCreate
17835 (
17836  OCI_Connection *con,
17837  const otext *queue_name,
17838  const otext *queue_table,
17839  unsigned int queue_type,
17840  unsigned int max_retries,
17841  unsigned int retry_delay,
17842  unsigned int retention_time,
17843  boolean dependency_tracking,
17844  const otext *comment
17845 );
17846 
17874 OCI_EXPORT boolean OCI_API OCI_QueueAlter
17875 (
17876  OCI_Connection *con,
17877  const otext *queue_name,
17878  unsigned int max_retries,
17879  unsigned int retry_delay,
17880  unsigned int retention_time,
17881  const otext *comment
17882 );
17883 
17903 OCI_EXPORT boolean OCI_API OCI_QueueDrop
17904 (
17905  OCI_Connection *con,
17906  const otext *queue_name
17907 );
17908 
17930 OCI_EXPORT boolean OCI_API OCI_QueueStart
17931 (
17932  OCI_Connection *con,
17933  const otext *queue_name,
17934  boolean enqueue,
17935  boolean dequeue
17936 );
17937 
17960 OCI_EXPORT boolean OCI_API OCI_QueueStop
17961 (
17962  OCI_Connection *con,
17963  const otext *queue_name,
17964  boolean enqueue,
17965  boolean dequeue,
17966  boolean wait
17967 );
17968 
18022 OCI_EXPORT boolean OCI_API OCI_QueueTableCreate
18023 (
18024  OCI_Connection *con,
18025  const otext *queue_table,
18026  const otext *queue_payload_type,
18027  const otext *storage_clause,
18028  const otext *sort_list,
18029  boolean multiple_consumers,
18030  unsigned int message_grouping,
18031  const otext *comment,
18032  unsigned int primary_instance,
18033  unsigned int secondary_instance,
18034  const otext *compatible
18035 );
18036 
18059 OCI_EXPORT boolean OCI_API OCI_QueueTableAlter
18060 (
18061  OCI_Connection *con,
18062  const otext *queue_table,
18063  const otext *comment,
18064  unsigned int primary_instance,
18065  unsigned int secondary_instance
18066 );
18067 
18092 OCI_EXPORT boolean OCI_API OCI_QueueTableDrop
18093 (
18094  OCI_Connection *con,
18095  const otext *queue_table,
18096  boolean force
18097 );
18098 
18132 OCI_EXPORT boolean OCI_API OCI_QueueTablePurge
18133 (
18134  OCI_Connection *con,
18135  const otext *queue_table,
18136  const otext *purge_condition,
18137  boolean block,
18138  unsigned int delivery_mode
18139 );
18140 
18162 OCI_EXPORT boolean OCI_API OCI_QueueTableMigrate
18163 (
18164  OCI_Connection *con,
18165  const otext *queue_table,
18166  const otext *compatible
18167 );
18168 
18278 OCI_EXPORT OCI_Subscription * OCI_API OCI_SubscriptionRegister
18279 (
18280  OCI_Connection *con,
18281  const otext *name,
18282  unsigned int type,
18283  POCI_NOTIFY handler,
18284  unsigned int port,
18285  unsigned int timeout
18286 );
18287 
18312 OCI_EXPORT boolean OCI_API OCI_SubscriptionUnregister
18313 (
18314  OCI_Subscription *sub
18315 );
18316 
18340 OCI_EXPORT boolean OCI_API OCI_SubscriptionAddStatement
18341 (
18342  OCI_Subscription *sub,
18343  OCI_Statement *stmt
18344 );
18345 
18358 OCI_EXPORT const otext * OCI_API OCI_SubscriptionGetName
18359 (
18360  OCI_Subscription *sub
18361 );
18362 
18375 OCI_EXPORT unsigned int OCI_API OCI_SubscriptionGetPort
18376 (
18377  OCI_Subscription *sub
18378 );
18379 
18392 OCI_EXPORT unsigned int OCI_API OCI_SubscriptionGetTimeout
18393 (
18394  OCI_Subscription *sub
18395 );
18396 
18408 OCI_EXPORT OCI_Connection * OCI_API OCI_SubscriptionGetConnection
18409 (
18410 OCI_Subscription *sub
18411 );
18412 
18442 OCI_EXPORT unsigned int OCI_API OCI_EventGetType
18443 (
18444  OCI_Event *event
18445 );
18446 
18483 OCI_EXPORT unsigned int OCI_API OCI_EventGetOperation
18484 (
18485  OCI_Event *event
18486 );
18487 
18500 OCI_EXPORT const otext * OCI_API OCI_EventGetDatabase
18501 (
18502  OCI_Event *event
18503 );
18504 
18517 OCI_EXPORT const otext * OCI_API OCI_EventGetObject
18518 (
18519  OCI_Event *event
18520 );
18521 
18534 OCI_EXPORT const otext * OCI_API OCI_EventGetRowid
18535 (
18536  OCI_Event *event
18537 );
18538 
18551 OCI_EXPORT OCI_Subscription * OCI_API OCI_EventGetSubscription
18552 (
18553  OCI_Event *event
18554 );
18555 
18619 OCI_EXPORT boolean OCI_API OCI_DatabaseStartup
18620 (
18621  const otext *db,
18622  const otext *user,
18623  const otext *pwd,
18624  unsigned int sess_mode,
18625  unsigned int start_mode,
18626  unsigned int start_flag,
18627  const otext *spfile
18628 );
18629 
18684 OCI_EXPORT boolean OCI_API OCI_DatabaseShutdown
18685 (
18686  const otext *db,
18687  const otext *user,
18688  const otext *pwd,
18689  unsigned int sess_mode,
18690  unsigned int shut_mode,
18691  unsigned int shut_flag
18692 );
18693 
18738 OCI_EXPORT const void * OCI_API OCI_HandleGetEnvironment
18739 (
18740  void
18741 );
18742 
18754 OCI_EXPORT const void * OCI_API OCI_HandleGetContext
18755 (
18756  OCI_Connection *con
18757 );
18758 
18770 OCI_EXPORT const void * OCI_API OCI_HandleGetServer
18771 (
18772  OCI_Connection *con
18773 );
18774 
18786 OCI_EXPORT const void * OCI_API OCI_HandleGetError
18787 (
18788  OCI_Connection *con
18789 );
18790 
18802 OCI_EXPORT const void * OCI_API OCI_HandleGetSession
18803 (
18804  OCI_Connection *con
18805 );
18806 
18818 OCI_EXPORT const void * OCI_API OCI_HandleGetTransaction
18819 (
18820  OCI_Transaction *trans
18821 );
18822 
18834 OCI_EXPORT const void * OCI_API OCI_HandleGetStatement
18835 (
18836  OCI_Statement *stmt
18837 );
18838 
18850 OCI_EXPORT const void * OCI_API OCI_HandleGetLob
18851 (
18852  OCI_Lob *lob
18853 );
18854 
18866 OCI_EXPORT const void * OCI_API OCI_HandleGetFile
18867 (
18868  OCI_File *file
18869 );
18870 
18882 OCI_EXPORT const void * OCI_API OCI_HandleGetDate
18883 (
18884  OCI_Date *date
18885 );
18886 
18898 OCI_EXPORT const void * OCI_API OCI_HandleGetTimestamp
18899 (
18900  OCI_Timestamp *tmsp
18901 );
18902 
18914 OCI_EXPORT const void * OCI_API OCI_HandleGetInterval
18915 (
18916  OCI_Interval *itv
18917 );
18918 
18930 OCI_EXPORT const void * OCI_API OCI_HandleGetObject
18931 (
18932  OCI_Object *obj
18933 );
18934 
18946 OCI_EXPORT const void * OCI_API OCI_HandleGetColl
18947 (
18948  OCI_Coll *coll
18949 );
18950 
18962 OCI_EXPORT const void * OCI_API OCI_HandleGetRef
18963 (
18964  OCI_Ref *ref
18965 );
18966 
18978 OCI_EXPORT const void * OCI_API OCI_HandleGetMutex
18979 (
18980  OCI_Mutex *mutex
18981 );
18982 
18994 OCI_EXPORT const void * OCI_API OCI_HandleGetThreadID
18995 (
18996  OCI_Thread *thread
18997 );
18998 
19010 OCI_EXPORT const void * OCI_API OCI_HandleGetThread
19011 (
19012  OCI_Thread *thread
19013 );
19014 
19026 OCI_EXPORT const void * OCI_API OCI_HandleGetDirPathCtx
19027 (
19028  OCI_DirPath *dp
19029 );
19030 
19042 OCI_EXPORT const void * OCI_API OCI_HandleGetDirPathColArray
19043 (
19044  OCI_DirPath *dp
19045 );
19046 
19058 OCI_EXPORT const void * OCI_API OCI_HandleGetDirPathStream
19059 (
19060  OCI_DirPath *dp
19061 );
19062 
19074 OCI_EXPORT const void * OCI_API OCI_HandleGetSubscription
19075 (
19076  OCI_Subscription *sub
19077 );
19078 
19083 #ifdef __cplusplus
19084 }
19085 #endif
19086 
19103 #define VAR_OCILIB_WORKAROUND_UTF16_COLUMN_NAME "OCILIB_WORKAROUND_UTF16_COLUMN_NAME"
19104 
19122 /* Compatibility with sources built with older versions of OCILIB */
19123 
19124 /* macros added in version 2.3.0 */
19125 
19126 #define OCI_CreateConnection OCI_ConnectionCreate
19127 #define OCI_FreeConnection OCI_ConnectionFree
19128 #define OCI_CreateStatement OCI_StatementCreate
19129 #define OCI_FreeStatement OCI_StatementFree
19130 
19131 /* macros added in version 2.4.0 */
19132 
19133 #define OCI_CreateTransaction OCI_TransactionCreate
19134 #define OCI_FreeTransaction OCI_TransactionFree
19135 #define OCI_CreateHashTable OCI_HashCreate
19136 #define OCI_FreeHashTable OCI_HashFree
19137 
19138 /* macros added in version 3.0.0 */
19139 
19140 #define OCI_GetColumnName OCI_ColumnGetName
19141 #define OCI_GetColumnType OCI_ColumnGetType
19142 #define OCI_GetColumnCharsetForm OCI_ColumnGetCharsetForm
19143 #define OCI_GetColumnSQLType OCI_ColumnGetSQLType
19144 #define OCI_GetColumnFullSQLType OCI_ColumnGetFullSQLType
19145 #define OCI_GetColumnSize OCI_ColumnGetSize
19146 #define OCI_GetColumnScale OCI_ColumnGetScale
19147 #define OCI_GetColumnPrecision OCI_ColumnGetPrecision
19148 #define OCI_GetColumnFractionnalPrecision OCI_ColumnGetFractionnalPrecision
19149 #define OCI_GetColumnLeadingPrecision OCI_ColumnGetLeadingPrecision
19150 #define OCI_GetColumnNullable OCI_ColumnGetNullable
19151 #define OCI_GetColumnCharUsed OCI_ColumnGetCharUsed
19152 
19153 #define OCI_GetFormatDate(s) OCI_GetDefaultFormatDate(OCI_StatementGetConnection(s))
19154 #define OCI_SetFormatDate(s, f) OCI_SetDefaultFormatDate(OCI_StatementGetConnection(s), f)
19155 
19156 #define OCI_ERR_API OCI_ERR_ORACLE
19157 
19158 /* macros added in version 3.2.0 */
19159 
19160 #define OCI_ERR_NOT_SUPPORTED OCI_ERR_DATATYPE_NOT_SUPPORTED
19161 #define OCI_SCHEMA_TABLE OCI_TIF_TABLE
19162 #define OCI_SCHEMA_VIEW OCI_TIF_VIEW
19163 #define OCI_SCHEMA_TYPE OCI_TIF_TYPE
19164 
19165 #define OCI_Schema OCI_TypeInfo
19166 
19167 #define OCI_SchemaGet OCI_TypeInfoGet
19168 #define OCI_SchemaFree OCI_TypeInfoFree
19169 #define OCI_SchemaGetColumnCount OCI_TypeInfoGetColumnCount
19170 #define OCI_SchemaGetColumn OCI_TypeInfoGetColumn
19171 #define OCI_SchemaGetName OCI_TypeInfoGetName
19172 
19173 #define OCI_ColumnGetFractionnalPrecision OCI_ColumnGetFractionalPrecision
19174 
19175 /* macro added in version 3.3.0 */
19176 
19177 #define OCI_SetNull(stmt, index) \
19178  OCI_BindSetNull(OCI_GetBind(stmt, index))
19179 
19180 #define OCI_SetNull2(stmt, name) \
19181  OCI_BindSetNull(OCI_GetBind2(stmt, name))
19182 
19183 #define OCI_SetNullAtPos(stmt, index, position) \
19184  OCI_BindSetNullAtPos(OCI_GetBind(stmt, index), position)
19185 
19186 #define OCI_SetNullAtPos2(stmt, name, position) \
19187  OCI_BindSetNullAtPos(OCI_GetBind2(stmt, name), position)
19188 
19189 /* macro added in version 3.4.0 */
19190 
19191 #define OCI_8 OCI_8_1
19192 #define OCI_9 OCI_9_0
19193 #define OCI_10 OCI_10_1
19194 #define OCI_11 OCI_11_1
19195 
19196 /* macro added in version 3.6.0 */
19197 
19198 #define OCI_CHAR_UNICODE OCI_CHAR_WIDE
19199 #define OCI_CSF_CHARSET OCI_CSF_DEFAULT
19200 
19201 /* macro added in version 3.7.0 */
19202 
19203 #define OCI_ConnPool OCI_Pool
19204 
19205 #define OCI_ConnPoolCreate(db, us, pw, mo, mi, ma, in) \
19206  OCI_PoolCreate(db, us, pw, OCI_POOL_CONNECTION, mo, mi, ma, in)
19207 
19208 #define OCI_ConnPoolGetConnection(p) \
19209  OCI_PoolGetConnection(p, NULL)
19210 
19211 #define OCI_ConnPoolFree OCI_PoolFree
19212 #define OCI_ConnPoolGetTimeout OCI_PoolGetConnection
19213 #define OCI_ConnPoolSetTimeout OCI_PoolSetTimeout
19214 #define OCI_ConnPoolGetNoWait OCI_PoolGetNoWait
19215 #define OCI_ConnPoolSetNoWait OCI_PoolSetNoWait
19216 #define OCI_ConnPoolGetBusyCount OCI_PoolGetBusyCount
19217 #define OCI_ConnPoolGetOpenedCount OCI_PoolGetOpenedCount
19218 #define OCI_ConnPoolGetMin OCI_PoolGetMin
19219 #define OCI_ConnPoolGetMax OCI_PoolGetMax
19220 #define OCI_ConnPoolGetIncrement OCI_PoolGetIncrement
19221 
19222 /* macro added in version 3.8.0 */
19223 
19224 #define OCI_ObjectGetTimeStamp OCI_ObjectGetTimestamp
19225 #define OCI_ElemGetTimeStamp OCI_ElemGetTimestamp
19226 #define OCI_TimestampSysTimeStamp OCI_TimestampSysTimestamp
19227 
19228 /* macro added in version 4.0.0 */
19229 
19230 #define OCI_CollSetAt OCI_CollSetElem
19231 #define OCI_CollGetAt OCI_CollGetElem
19232 #define OCI_CollGetAt2 OCI_CollGetElem2
19233 
19234 #define OCI_GetCharsetMetaData OCI_GetCharset
19235 #define OCI_GetCharsetUserData OCI_GetCharset
19236 #define OCI_SIZE_TRACE_INF0 OCI_SIZE_TRACE_INFO
19237 
19238 #define MT(x) OTEXT(x)
19239 #define mtext otext
19240 #define DT(x) OTEXT(x)
19241 #define dtext otext
19242 
19243 #define mtsdup ostrdup
19244 #define mtscpy ostrcpy
19245 #define mtsncpy ostrncpy
19246 #define mtscat ostrcat
19247 #define mtsncat ostrncat
19248 #define mtslen ostrlen
19249 #define mtscmp ostrcmp
19250 #define mtscasecmp ostrcasecmp
19251 #define mtsprintf osprintf
19252 #define mtstol ostrtol
19253 #define mtsscanf osscanf
19254 
19255 #define dtsdup ostrdup
19256 #define dtscpy ostrcpy
19257 #define dtsncpy ostrncpy
19258 #define dtscat ostrcat
19259 #define dtsncat ostrncat
19260 #define dtslen ostrlen
19261 #define dtscmp ostrcmp
19262 #define dtscasecmp ostrcasecmp
19263 #define dtsprintf osprintf
19264 #define dtstol ostrtol
19265 #define dtsscanf osscanf
19266 
19267 /* macro added in version 4.1.0 */
19268 
19269 #define OCI_SetDefaultFormatDate(con, fmt) OCI_SetFormat(con, OCI_FMT_DATE, fmt)
19270 #define OCI_SetDefaultFormatNumeric(con, fmt) OCI_SetFormat(con, OCI_FMT_NUMERIC, fmt)
19271 
19272 #define OCI_GetDefaultFormatDate(con) OCI_GetFormat(con, OCI_FMT_DATE)
19273 #define OCI_GetDefaultFormatNumeric(con) OCI_GetFormat(con, OCI_FMT_NUMERIC)
19274 
19275 #define OCI_STRING_FORMAT_NUM_BIN OCI_STRING_FORMAT_NUM_BDOUBLE
19276 
19281 #endif /* OCILIB_H_INCLUDED */
19282 
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:699
struct OCI_Agent OCI_Agent
OCILIB encapsulation of A/Q Agent.
Definition: ocilib.h:759
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 big_uint OCI_API OCI_GetAllocatedBytes(unsigned int mem_type)
Return the current number of bytes allocated internally in the library.
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:890
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:1036
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 unsigned int OCI_API OCI_GetDataSize(OCI_Resultset *rs, unsigned int index)
Return the size of the value of the column at the given index in the resultset.
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:423
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 current bind allocation mode used for subsequent binding calls.
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_NumberGetValue(OCI_Number *number, unsigned int type, void *value)
Assign the number value to a native C numeric type.
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 unsigned int OCI_API OCI_GetTimeout(OCI_Connection *con, unsigned int type)
Returns the requested timeout value for OCI calls that require server round-trips to the given databa...
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_NumberAdd(OCI_Number *number, unsigned int type, void *value)
Add the value of a native C numeric type to the given number.
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_ObjectSetNumber(OCI_Object *obj, const otext *attr, OCI_Number *value)
Set an object attribute of type number.
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 boolean OCI_API OCI_NumberDivide(OCI_Number *number, unsigned int type, void *value)
Divide the given number with the value of a native C numeric.
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:598
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 const otext *OCI_API OCI_GetSqlIdentifier(OCI_Statement *stmt)
Returns the statement SQL_ID from the server.
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:769
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:792
struct OCI_Statement OCI_Statement
Oracle SQL or PL/SQL statement.
Definition: ocilib.h:435
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:928
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:779
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:447
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_NumberToText(OCI_Number *number, const otext *fmt, int size, otext *str)
Convert a number value from the given number handle to a string.
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:729
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:406
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_ElemSetBoolean(OCI_Elem *elem, boolean value)
Set a boolean value to a collection element.
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:588
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 boolean OCI_API OCI_SetTimeout(OCI_Connection *con, unsigned int type, unsigned int value)
Set a given timeout for OCI calls that require server round-trips to the given database.
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:808
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_NumberSetContent(OCI_Number *number, unsigned char *content)
Assign the number value content.
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_ElemGetBoolean(OCI_Elem *elem)
Return the boolean value of the given collection element.
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 current bind allocation mode that will be used for subsequent binding calls.
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 boolean OCI_API OCI_NumberFree(OCI_Number *number)
Free a number object.
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:749
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_LobIsRemote(OCI_Lob *lob)
Indicates if the given lob belongs to a local or remote database table.
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.
union OCI_Variant OCI_Variant
Internal Variant type based on union C type.
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 unsigned int OCI_API OCI_ColumnGetCollationID(OCI_Column *col)
Return the column collation ID.
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:655
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_NumberSub(OCI_Number *number, unsigned int type, void *value)
Subtract the value of a native C numeric type to the given number.
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 int OCI_API OCI_NumberCompare(OCI_Number *number1, OCI_Number *number2)
Compares two number handles.
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 unsigned int OCI_API OCI_GetDataSize2(OCI_Resultset *rs, const otext *name)
Return the size of the value of the column from its name in the resultset.
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:578
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 OCI_Number *OCI_API OCI_ElemGetNumber(OCI_Elem *elem)
Return the number value of the given collection element.
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:537
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 unsigned char *OCI_API OCI_NumberGetContent(OCI_Number *number)
Return the number value content.
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:839
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 unsigned int OCI_API OCI_GetMaxCursors(OCI_Connection *con)
Return the maximum number of SQL statements that can be opened in one session.
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:462
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_TypeInfoIsFinalType(OCI_TypeInfo *typinf)
Indicate if the given UDT type if final.
OCI_EXPORT boolean OCI_API OCI_ObjectFree(OCI_Object *obj)
Free a local object.
OCI_EXPORT OCI_Number **OCI_API OCI_NumberArrayCreate(OCI_Connection *con, unsigned int nbelem)
Create an array of number 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 boolean OCI_API OCI_BindBoolean(OCI_Statement *stmt, const otext *name, boolean *data)
Bind a boolean variable (PL/SQL ONLY)
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:719
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:522
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:709
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_RegisterNumber(OCI_Statement *stmt, const otext *name)
Register a register output bind placeholder.
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 boolean OCI_API OCI_ElemSetNumber(OCI_Elem *elem, OCI_Number *value)
Set a number value to a collection element.
OCI_EXPORT OCI_Coll *OCI_API OCI_CollCreate(OCI_TypeInfo *typinf)
Create a local collection instance.
struct OCI_Number OCI_Number
Oracle NUMBER representation.
Definition: ocilib.h:568
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_NumberSetValue(OCI_Number *number, unsigned int type, void *value)
Assign the number value with the value of a native C numeric type.
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:854
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.
OCI_EXPORT int OCI_API OCI_NumberAssign(OCI_Number *number, OCI_Number *number_src)
Assign the value of a number handle to another one.
void(* POCI_THREADKEYDEST)(void *data)
Thread key destructor prototype.
Definition: ocilib.h:824
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:559
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 OCI_Number *OCI_API OCI_GetNumber(OCI_Resultset *rs, unsigned int index)
Return the current Number value of the column at the given index in the resultset.
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:665
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 boolean OCI_API OCI_ObjectGetBoolean(OCI_Object *obj, const otext *attr)
Return the boolean value of the given object attribute (ONLY for PL/SQL records)
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.
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:675
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 boolean OCI_API OCI_ObjectSetBoolean(OCI_Object *obj, const otext *attr, boolean value)
Set an object attribute of type boolean (ONLY for PL/SQL records)
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 OCI_TypeInfo *OCI_API OCI_TypeInfoGetSuperType(OCI_TypeInfo *typinf)
Return the super type of the given type (e.g. parent type for a derived ORACLE UDT type) ...
OCI_EXPORT boolean OCI_API OCI_TransactionStart(OCI_Transaction *trans)
Start global transaction.
OCI_EXPORT unsigned int OCI_API OCI_BindGetAllocationMode(OCI_Bind *bnd)
Get the allocaton mode of a bind handle.
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:618
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 boolean OCI_API OCI_NumberFromText(OCI_Number *number, const otext *str, const otext *fmt)
Convert a string to a number and store it in the given number handle.
OCI_EXPORT boolean OCI_API OCI_BindArrayOfNumbers(OCI_Statement *stmt, const otext *name, OCI_Number **data, unsigned int nbelem)
Bind an array of Number.
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:628
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_Number *OCI_API OCI_ObjectGetNumber(OCI_Object *obj, const otext *attr)
Return the number value of the given object attribute.
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:608
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:474
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:637
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_NumberArrayFree(OCI_Number **numbers)
Free an array of number objects.
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:689
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 OCI_Number *OCI_API OCI_GetNumber2(OCI_Resultset *rs, const otext *name)
Return the current number value of the column from its name in the resultset.
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:739
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 boolean OCI_API OCI_NumberMultiply(OCI_Number *number, unsigned int type, void *value)
Multiply the given number with the value of a native C numeric.
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:497
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_Number *OCI_API OCI_NumberCreate(OCI_Connection *con)
Create a local number object.
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_BindNumber(OCI_Statement *stmt, const otext *name, OCI_Number *data)
Bind an Number variable.
OCI_EXPORT boolean OCI_API OCI_TimestampConvert(OCI_Timestamp *tmsp, OCI_Timestamp *tmsp_src)
Convert one timestamp value from one type to another.