OCILIB (C and C++ Driver for Oracle)  4.6.3
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-2019 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 3
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 /* versions extract macros */
1073 
1074 #define OCI_VER_MAJ(v) (unsigned int) ((v)/100)
1075 #define OCI_VER_MIN(v) (unsigned int) (((v)/10) - (((v)/100)*10))
1076 #define OCI_VER_REV(v) (unsigned int) ((v) - (((v)/10)*10))
1077 
1078 #define OCI_VER_MAKE(x, y, z) ((x)*100 + (y)*10 + z)
1079 
1080 /* oracle OCI key versions*/
1081 
1082 #define OCI_8_0 OCI_VER_MAKE( 8, 0, 0)
1083 #define OCI_8_1 OCI_VER_MAKE( 8, 1, 0)
1084 #define OCI_9_0 OCI_VER_MAKE( 9, 0, 0)
1085 #define OCI_9_2 OCI_VER_MAKE( 9, 2, 0)
1086 #define OCI_10_1 OCI_VER_MAKE(10, 1, 0)
1087 #define OCI_10_2 OCI_VER_MAKE(10, 2, 0)
1088 #define OCI_11_1 OCI_VER_MAKE(11, 1, 0)
1089 #define OCI_11_2 OCI_VER_MAKE(11, 2, 0)
1090 #define OCI_12_1 OCI_VER_MAKE(12, 1, 0)
1091 #define OCI_12_2 OCI_VER_MAKE(12, 2, 0)
1092 #define OCI_18_1 OCI_VER_MAKE(18, 1, 0)
1093 #define OCI_18_2 OCI_VER_MAKE(18, 2, 0)
1094 #define OCI_18_3 OCI_VER_MAKE(18, 3, 0)
1095 #define OCI_18_4 OCI_VER_MAKE(18, 4, 0)
1096 #define OCI_18_5 OCI_VER_MAKE(18, 5, 0)
1097 #define OCI_19_3 OCI_VER_MAKE(19, 3, 0)
1098 
1099 /* OCILIB Error types */
1100 
1101 #define OCI_ERR_ORACLE 1
1102 #define OCI_ERR_OCILIB 2
1103 #define OCI_ERR_WARNING 3
1104 
1105 /* OCILIB Error codes */
1106 
1107 #define OCI_ERR_NONE 0
1108 #define OCI_ERR_NOT_INITIALIZED 1
1109 #define OCI_ERR_LOADING_SHARED_LIB 2
1110 #define OCI_ERR_LOADING_SYMBOLS 3
1111 #define OCI_ERR_MULTITHREADED 4
1112 #define OCI_ERR_MEMORY 5
1113 #define OCI_ERR_NOT_AVAILABLE 6
1114 #define OCI_ERR_NULL_POINTER 7
1115 #define OCI_ERR_DATATYPE_NOT_SUPPORTED 8
1116 #define OCI_ERR_PARSE_TOKEN 9
1117 #define OCI_ERR_MAP_ARGUMENT 10
1118 #define OCI_ERR_OUT_OF_BOUNDS 11
1119 #define OCI_ERR_UNFREED_DATA 12
1120 #define OCI_ERR_MAX_BIND 13
1121 #define OCI_ERR_ATTR_NOT_FOUND 14
1122 #define OCI_ERR_MIN_VALUE 15
1123 #define OCI_ERR_NOT_COMPATIBLE 16
1124 #define OCI_ERR_STMT_STATE 17
1125 #define OCI_ERR_STMT_NOT_SCROLLABLE 18
1126 #define OCI_ERR_BIND_ALREADY_USED 19
1127 #define OCI_ERR_BIND_ARRAY_SIZE 20
1128 #define OCI_ERR_COLUMN_NOT_FOUND 21
1129 #define OCI_ERR_DIRPATH_STATE 22
1130 #define OCI_ERR_CREATE_OCI_ENVIRONMENT 23
1131 #define OCI_ERR_REBIND_BAD_DATATYPE 24
1132 #define OCI_ERR_TYPEINFO_DATATYPE 25
1133 #define OCI_ERR_ITEM_NOT_FOUND 26
1134 #define OCI_ERR_ARG_INVALID_VALUE 27
1135 #define OCI_ERR_XA_ENV_FROM_STRING 28
1136 #define OCI_ERR_XA_CONN_FROM_STRING 29
1137 #define OCI_ERR_BIND_EXTERNAL_NOT_ALLOWED 30
1138 
1139 #define OCI_ERR_COUNT 31
1140 
1141 
1142 /* allocated bytes types */
1143 
1144 #define OCI_MEM_ORACLE 1
1145 #define OCI_MEM_OCILIB 2
1146 #define OCI_MEM_ALL (OCI_MEM_ORACLE | OCI_MEM_OCILIB)
1147 
1148 /* binding */
1149 
1150 #define OCI_BIND_BY_POS 0
1151 #define OCI_BIND_BY_NAME 1
1152 #define OCI_BIND_SIZE 6
1153 #define OCI_BIND_MAX 65535
1154 
1155 /* fetching */
1156 
1157 #define OCI_FETCH_SIZE 20
1158 #define OCI_PREFETCH_SIZE 20
1159 #define OCI_LONG_EXPLICIT 1
1160 #define OCI_LONG_IMPLICIT 2
1161 
1162 /* unknown value */
1163 
1164 #define OCI_UNKNOWN 0
1165 
1166 /* C Data Type mapping */
1167 
1168 #define OCI_CDT_NUMERIC 1
1169 #define OCI_CDT_DATETIME 3
1170 #define OCI_CDT_TEXT 4
1171 #define OCI_CDT_LONG 5
1172 #define OCI_CDT_CURSOR 6
1173 #define OCI_CDT_LOB 7
1174 #define OCI_CDT_FILE 8
1175 #define OCI_CDT_TIMESTAMP 9
1176 #define OCI_CDT_INTERVAL 10
1177 #define OCI_CDT_RAW 11
1178 #define OCI_CDT_OBJECT 12
1179 #define OCI_CDT_COLLECTION 13
1180 #define OCI_CDT_REF 14
1181 #define OCI_CDT_BOOLEAN 15
1182 
1183 /* Data Type codes for OCI_ImmediateXXX() calls */
1184 
1185 #define OCI_ARG_SHORT 1
1186 #define OCI_ARG_USHORT 2
1187 #define OCI_ARG_INT 3
1188 #define OCI_ARG_UINT 4
1189 #define OCI_ARG_BIGINT 5
1190 #define OCI_ARG_BIGUINT 6
1191 #define OCI_ARG_DOUBLE 7
1192 #define OCI_ARG_DATETIME 8
1193 #define OCI_ARG_TEXT 9
1194 #define OCI_ARG_LOB 10
1195 #define OCI_ARG_FILE 11
1196 #define OCI_ARG_TIMESTAMP 12
1197 #define OCI_ARG_INTERVAL 13
1198 #define OCI_ARG_RAW 14
1199 #define OCI_ARG_OBJECT 15
1200 #define OCI_ARG_COLLECTION 16
1201 #define OCI_ARG_REF 17
1202 #define OCI_ARG_FLOAT 18
1203 #define OCI_ARG_NUMBER 19
1204 
1205 /* statement types */
1206 
1207 #define OCI_CST_SELECT 1
1208 #define OCI_CST_UPDATE 2
1209 #define OCI_CST_DELETE 3
1210 #define OCI_CST_INSERT 4
1211 #define OCI_CST_CREATE 5
1212 #define OCI_CST_DROP 6
1213 #define OCI_CST_ALTER 7
1214 #define OCI_CST_BEGIN 8
1215 #define OCI_CST_DECLARE 9
1216 #define OCI_CST_CALL 10
1217 #define OCI_CST_MERGE 16
1218 
1219 /* environment modes */
1220 
1221 #define OCI_ENV_DEFAULT 0
1222 #define OCI_ENV_THREADED 1
1223 #define OCI_ENV_CONTEXT 2
1224 #define OCI_ENV_EVENTS 4
1225 
1226 /* sessions modes */
1227 
1228 #define OCI_SESSION_DEFAULT 0x00000000 /* any version */
1229 #define OCI_SESSION_SYSDBA 0x00000002 /* any version */
1230 #define OCI_SESSION_SYSOPER 0x00000004 /* any version */
1231 #define OCI_SESSION_SYSASM 0x00008000 /* From 11gR1 */
1232 #define OCI_SESSION_SYSBKP 0x00020000 /* From 12cR1 */
1233 #define OCI_SESSION_SYSDGD 0x00040000 /* From 12cR1 */
1234 #define OCI_SESSION_SYSKMT 0x00080000 /* From 12cR1 */
1235 #define OCI_SESSION_SYSRAC 0x00100000 /* From 12cR2 */
1236 
1237 #define OCI_SESSION_XA 0x00000001
1238 #define OCI_SESSION_PRELIM_AUTH 0x00000008
1239 
1240 /* change notification types */
1241 
1242 #define OCI_CNT_OBJECTS 1
1243 #define OCI_CNT_ROWS 2
1244 #define OCI_CNT_DATABASES 4
1245 #define OCI_CNT_ALL (OCI_CNT_OBJECTS | OCI_CNT_ROWS | OCI_CNT_DATABASES)
1246 
1247 /* event notification types */
1248 
1249 #define OCI_ENT_STARTUP 1
1250 #define OCI_ENT_SHUTDOWN 2
1251 #define OCI_ENT_SHUTDOWN_ANY 3
1252 #define OCI_ENT_DROP_DATABASE 4
1253 #define OCI_ENT_DEREGISTER 5
1254 #define OCI_ENT_OBJECT_CHANGED 6
1255 
1256 /* event object notification types */
1257 
1258 #define OCI_ONT_INSERT 0x2
1259 #define OCI_ONT_UPDATE 0x4
1260 #define OCI_ONT_DELETE 0x8
1261 #define OCI_ONT_ALTER 0x10
1262 #define OCI_ONT_DROP 0x20
1263 #define OCI_ONT_GENERIC 0x40
1264 
1265 /* database startup modes */
1266 
1267 #define OCI_DB_SPM_START 1
1268 #define OCI_DB_SPM_MOUNT 2
1269 #define OCI_DB_SPM_OPEN 4
1270 #define OCI_DB_SPM_FULL (OCI_DB_SPM_START | OCI_DB_SPM_MOUNT | OCI_DB_SPM_OPEN)
1271 
1272 /* database startup flags */
1273 
1274 #define OCI_DB_SPF_DEFAULT 0
1275 #define OCI_DB_SPF_FORCE 1
1276 #define OCI_DB_SPF_RESTRICT 2
1277 
1278 /* database shutdown modes */
1279 
1280 #define OCI_DB_SDM_SHUTDOWN 1
1281 #define OCI_DB_SDM_CLOSE 2
1282 #define OCI_DB_SDM_DISMOUNT 4
1283 #define OCI_DB_SDM_FULL (OCI_DB_SDM_SHUTDOWN | OCI_DB_SDM_CLOSE | OCI_DB_SDM_DISMOUNT)
1284 
1285 /* database shutdown flags */
1286 
1287 #define OCI_DB_SDF_DEFAULT 0
1288 #define OCI_DB_SDF_TRANS 1
1289 #define OCI_DB_SDF_TRANS_LOCAL 2
1290 #define OCI_DB_SDF_IMMEDIATE 3
1291 #define OCI_DB_SDF_ABORT 4
1292 
1293 /* charset form types */
1294 
1295 #define OCI_CSF_NONE 0
1296 #define OCI_CSF_DEFAULT 1
1297 #define OCI_CSF_NATIONAL 2
1298 
1299 /* statement fetch mode */
1300 
1301 #define OCI_SFM_DEFAULT 0
1302 #define OCI_SFM_SCROLLABLE 0x08
1303 
1304 /* statement fetch direction */
1305 
1306 #define OCI_SFD_ABSOLUTE 0x20
1307 #define OCI_SFD_RELATIVE 0x40
1308 
1309 /* bind allocation mode */
1310 
1311 #define OCI_BAM_EXTERNAL 1
1312 #define OCI_BAM_INTERNAL 2
1313 
1314 /* bind direction mode */
1315 
1316 #define OCI_BDM_IN 1
1317 #define OCI_BDM_OUT 2
1318 #define OCI_BDM_IN_OUT (OCI_BDM_IN | OCI_BDM_OUT)
1319 
1320 /* Column property flags */
1321 
1322 #define OCI_CPF_NONE 0
1323 #define OCI_CPF_IS_IDENTITY 1
1324 #define OCI_CPF_IS_GEN_ALWAYS 2
1325 #define OCI_CPF_IS_GEN_BY_DEFAULT_ON_NULL 4
1326 #define OCI_CPF_IS_LPART 8
1327 #define OCI_CPF_IS_CONID 16
1328 
1329 /* Column collation IDs */
1330 
1331 #define OCI_CCI_NONE 0x00000000
1332 #define OCI_CCI_NLS_COMP 0x00003FFE
1333 #define OCI_CCI_NLS_SORT 0x00003FFD
1334 #define OCI_CCI_NLS_SORT_CI 0x00003FFC
1335 #define OCI_CCI_NLS_SORT_AI 0x00003FFB
1336 #define OCI_CCI_NLS_SORT_CS 0x00003FFA
1337 #define OCI_CCI_NLS_SORT_VAR1 0x00003FF9
1338 #define OCI_CCI_NLS_SORT_VAR1_CI 0x00003FF8
1339 #define OCI_CCI_NLS_SORT_VAR1_AI 0x00003FF7
1340 #define OCI_CCI_NLS_SORT_VAR1_CS 0x00003FF6
1341 #define OCI_CCI_BINARY 0x00003FFF
1342 #define OCI_CCI_BINARY_CI 0x00023FFF
1343 #define OCI_CCI_BINARY_AI 0x00013FFF
1344 
1345 
1346 /* Integer sign flag */
1347 
1348 #define OCI_NUM_UNSIGNED 2
1349 
1350 /* External Integer types */
1351 
1352 #define OCI_NUM_SHORT 4
1353 #define OCI_NUM_INT 8
1354 #define OCI_NUM_BIGINT 16
1355 #define OCI_NUM_FLOAT 32
1356 #define OCI_NUM_DOUBLE 64
1357 #define OCI_NUM_NUMBER 128
1358 
1359 #define OCI_NUM_USHORT (OCI_NUM_SHORT | OCI_NUM_UNSIGNED)
1360 #define OCI_NUM_UINT (OCI_NUM_INT | OCI_NUM_UNSIGNED)
1361 #define OCI_NUM_BIGUINT (OCI_NUM_BIGINT | OCI_NUM_UNSIGNED)
1362 
1363 /* timestamp types */
1364 
1365 #define OCI_TIMESTAMP 1
1366 #define OCI_TIMESTAMP_TZ 2
1367 #define OCI_TIMESTAMP_LTZ 3
1368 
1369 /* interval types */
1370 
1371 #define OCI_INTERVAL_YM 1
1372 #define OCI_INTERVAL_DS 2
1373 
1374 /* long types */
1375 
1376 #define OCI_BLONG 1
1377 #define OCI_CLONG 2
1378 
1379 /* lob types */
1380 
1381 #define OCI_BLOB 1
1382 #define OCI_CLOB 2
1383 #define OCI_NCLOB 3
1384 
1385 /* lob opening mode */
1386 
1387 #define OCI_LOB_READONLY 1
1388 #define OCI_LOB_READWRITE 2
1389 
1390 /* file types */
1391 
1392 #define OCI_BFILE 1
1393 #define OCI_CFILE 2
1394 
1395 /* lob browsing mode */
1396 
1397 #define OCI_SEEK_SET 1
1398 #define OCI_SEEK_END 2
1399 #define OCI_SEEK_CUR 3
1400 
1401 /* type info types */
1402 
1403 #define OCI_TIF_TABLE 1
1404 #define OCI_TIF_VIEW 2
1405 #define OCI_TIF_TYPE 3
1406 
1407 /* object type */
1408 
1409 #define OCI_OBJ_PERSISTENT 1
1410 #define OCI_OBJ_TRANSIENT 2
1411 #define OCI_OBJ_VALUE 3
1412 
1413 /* collection types */
1414 
1415 #define OCI_COLL_VARRAY 1
1416 #define OCI_COLL_NESTED_TABLE 2
1417 #define OCI_COLL_INDEXED_TABLE 3
1418 
1419 /* pool types */
1420 
1421 #define OCI_POOL_CONNECTION 1
1422 #define OCI_POOL_SESSION 2
1423 
1424 /* AQ message state */
1425 
1426 #define OCI_AMS_READY 1
1427 #define OCI_AMS_WAITING 2
1428 #define OCI_AMS_PROCESSED 3
1429 #define OCI_AMS_EXPIRED 4
1430 
1431 /* AQ sequence deviation */
1432 
1433 #define OCI_ASD_BEFORE 2
1434 #define OCI_ASD_TOP 3
1435 
1436 /* AQ message visibility */
1437 
1438 #define OCI_AMV_IMMEDIATE 1
1439 #define OCI_AMV_ON_COMMIT 2
1440 
1441 /* AQ dequeue mode */
1442 
1443 #define OCI_ADM_BROWSE 1
1444 #define OCI_ADM_LOCKED 2
1445 #define OCI_ADM_REMOVE 3
1446 #define OCI_ADM_REMOVE_NODATA 4
1447 
1448 /* AQ dequeue navigation */
1449 
1450 #define OCI_ADN_FIRST_MSG 1
1451 #define OCI_ADN_NEXT_TRANSACTION 2
1452 #define OCI_ADN_NEXT_MSG 3
1453 
1454 /* AQ queue table purge mode */
1455 
1456 #define OCI_APM_BUFFERED 1
1457 #define OCI_APM_PERSISTENT 2
1458 #define OCI_APM_ALL (OCI_APM_BUFFERED | OCI_APM_PERSISTENT)
1459 
1460 /* AQ queue table grouping mode */
1461 
1462 #define OCI_AGM_NONE 0
1463 #define OCI_AGM_TRANSACTIONNAL 1
1464 
1465 /* AQ queue table type */
1466 
1467 #define OCI_AQT_NORMAL 0
1468 #define OCI_AQT_EXCEPTION 1
1469 #define OCI_AQT_NON_PERSISTENT 2
1470 
1471 /* direct path processing return status */
1472 
1473 #define OCI_DPR_COMPLETE 1
1474 #define OCI_DPR_ERROR 2
1475 #define OCI_DPR_FULL 3
1476 #define OCI_DPR_PARTIAL 4
1477 #define OCI_DPR_EMPTY 5
1478 
1479 /* direct path conversion modes */
1480 
1481 #define OCI_DCM_DEFAULT 1
1482 #define OCI_DCM_FORCE 2
1483 
1484 /* trace size constants */
1485 
1486 #define OCI_SIZE_TRACE_ID 64
1487 #define OCI_SIZE_TRACE_MODULE 48
1488 #define OCI_SIZE_TRACE_ACTION 32
1489 #define OCI_SIZE_TRACE_INFO 64
1490 #define OCI_SIZE_TRACE_OPERATION 32
1491 
1492 /* trace types */
1493 
1494 #define OCI_TRC_IDENTITY 1
1495 #define OCI_TRC_MODULE 2
1496 #define OCI_TRC_ACTION 3
1497 #define OCI_TRC_DETAIL 4
1498 #define OCI_TRC_OPERATION 5
1499 
1500 /* Network timeout type */
1501 
1502 #define OCI_NTO_SEND 1
1503 #define OCI_NTO_RECEIVE 2
1504 #define OCI_NTO_CALL 3
1505 
1506 /* HA event type */
1507 
1508 #define OCI_HET_DOWN 0
1509 #define OCI_HET_UP 1
1510 
1511 /* HA event source */
1512 #define OCI_HES_INSTANCE 0
1513 #define OCI_HES_DATABASE 1
1514 #define OCI_HES_NODE 2
1515 #define OCI_HES_SERVICE 3
1516 #define OCI_HES_SERVICE_MEMBER 4
1517 #define OCI_HES_ASM_INSTANCE 5
1518 #define OCI_HES_PRECONNECT 6
1519 
1520 /* Fail over types */
1521 
1522 #define OCI_FOT_NONE 1
1523 #define OCI_FOT_SESSION 2
1524 #define OCI_FOT_SELECT 4
1525 
1526 /* fail over notifications */
1527 
1528 #define OCI_FOE_END 1
1529 #define OCI_FOE_ABORT 2
1530 #define OCI_FOE_REAUTH 4
1531 #define OCI_FOE_BEGIN 8
1532 #define OCI_FOE_ERROR 16
1533 
1534 /* fail over callback return code */
1535 
1536 #define OCI_FOC_OK 0
1537 #define OCI_FOC_RETRY 25410
1538 
1539 /* hash tables support */
1540 
1541 #define OCI_HASH_STRING 1
1542 #define OCI_HASH_INTEGER 2
1543 #define OCI_HASH_POINTER 3
1544 
1545 /* transaction types */
1546 
1547 #define OCI_TRS_NEW 0x00000001
1548 #define OCI_TRS_READONLY 0x00000100
1549 #define OCI_TRS_READWRITE 0x00000200
1550 #define OCI_TRS_SERIALIZABLE 0x00000400
1551 #define OCI_TRS_LOOSE 0x00010000
1552 #define OCI_TRS_TIGHT 0x00020000
1553 
1554 /* format types */
1555 
1556 #define OCI_FMT_DATE 1
1557 #define OCI_FMT_TIMESTAMP 2
1558 #define OCI_FMT_NUMERIC 3
1559 #define OCI_FMT_BINARY_DOUBLE 4
1560 #define OCI_FMT_BINARY_FLOAT 5
1561 #define OCI_FMT_TIMESTAMP_TZ 6
1562 
1563 /* sql function codes */
1564 
1565 #define OCI_SFC_CREATE_TABLE 1
1566 #define OCI_SFC_INSERT 2
1567 #define OCI_SFC_SELECT 3
1568 #define OCI_SFC_CREATE_CLUSTER 4
1569 #define OCI_SFC_ALTER_CLUSTER 5
1570 #define OCI_SFC_UPDATE 6
1571 #define OCI_SFC_DELETE 7
1572 #define OCI_SFC_DROP_CLUSTER 8
1573 #define OCI_SFC_CREATE_INDEX 9
1574 #define OCI_SFC_DROP_INDEX 10
1575 #define OCI_SFC_ALTER_INDEX 11
1576 #define OCI_SFC_DROP_TABLE 12
1577 #define OCI_SFC_CREATE_SEQUENCE 13
1578 #define OCI_SFC_ALTER_SEQUENCE 14
1579 #define OCI_SFC_ALTER_TABLE 15
1580 #define OCI_SFC_DROP_SEQUENCE 16
1581 #define OCI_SFC_GRANT_OBJECT 17
1582 #define OCI_SFC_REVOKE_OBJECT 18
1583 #define OCI_SFC_CREATE_SYNONYM 19
1584 #define OCI_SFC_DROP_SYNONYM 20
1585 #define OCI_SFC_CREATE_VIEW 21
1586 #define OCI_SFC_DROP_VIEW 22
1587 #define OCI_SFC_VALIDATE_INDEX 23
1588 #define OCI_SFC_CREATE_PROCEDURE 24
1589 #define OCI_SFC_ALTER_PROCEDURE 25
1590 #define OCI_SFC_LOCK 26
1591 #define OCI_SFC_NO_OP 27
1592 #define OCI_SFC_RENAME 28
1593 #define OCI_SFC_COMMENT 29
1594 #define OCI_SFC_AUDIT_OBJECT 30
1595 #define OCI_SFC_NOAUDIT_OBJECT 31
1596 #define OCI_SFC_CREATE_DATABASE_LINK 32
1597 #define OCI_SFC_DROP_DATABASE_LINK 33
1598 #define OCI_SFC_CREATE_DATABASE 34
1599 #define OCI_SFC_ALTER_DATABASE 35
1600 #define OCI_SFC_CREATE_ROLLBACK_SEG 36
1601 #define OCI_SFC_ALTER_ROLLBACK_SEG 37
1602 #define OCI_SFC_DROP_ROLLBACK_SEG 38
1603 #define OCI_SFC_CREATE_TABLESPACE 39
1604 #define OCI_SFC_ALTER_TABLESPACE 40
1605 #define OCI_SFC_DROP_TABLESPACE 41
1606 #define OCI_SFC_ALTER_SESSION 42
1607 #define OCI_SFC_ALTER_USER 43
1608 #define OCI_SFC_COMMIT 44
1609 #define OCI_SFC_ROLLBACK 45
1610 #define OCI_SFC_SAVEPOINT 46
1611 #define OCI_SFC_PL_SQL_EXECUTE 47
1612 #define OCI_SFC_SET_TRANSACTION 48
1613 #define OCI_SFC_ALTER_SYSTEM 49
1614 #define OCI_SFC_EXPLAIN 50
1615 #define OCI_SFC_CREATE_USER 51
1616 #define OCI_SFC_CREATE_ROLE 52
1617 #define OCI_SFC_DROP_USER 53
1618 #define OCI_SFC_DROP_ROLE 54
1619 #define OCI_SFC_SET_ROLE 55
1620 #define OCI_SFC_CREATE_SCHEMA 56
1621 #define OCI_SFC_CREATE_CONTROL_FILE 57
1622 #define OCI_SFC_ALTER_TRACING 58
1623 #define OCI_SFC_CREATE_TRIGGER 59
1624 #define OCI_SFC_ALTER_TRIGGER 60
1625 #define OCI_SFC_DROP_TRIGGER 61
1626 #define OCI_SFC_ANALYZE_TABLE 62
1627 #define OCI_SFC_ANALYZE_INDEX 63
1628 #define OCI_SFC_ANALYZE_CLUSTER 64
1629 #define OCI_SFC_CREATE_PROFILE 65
1630 #define OCI_SFC_DROP_PROFILE 66
1631 #define OCI_SFC_ALTER_PROFILE 67
1632 #define OCI_SFC_DROP_PROCEDURE 68
1633 #define OCI_SFC_ALTER_RESOURCE_COST 70
1634 #define OCI_SFC_CREATE_MATERIALIZED_VIEW_LOG 71
1635 #define OCI_SFC_ALTER_MATERIALIZED_VIEW_LOG 72
1636 #define OCI_SFC_DROP_MATERIALIZED_VIEW_LOG 73
1637 #define OCI_SFC_CREATE_MATERIALIZED_VIEW 74
1638 #define OCI_SFC_ALTER_MATERIALIZED_VIEW 75
1639 #define OCI_SFC_DROP_MATERIALIZED_VIEW 76
1640 #define OCI_SFC_CREATE_TYPE 77
1641 #define OCI_SFC_DROP_TYPE 78
1642 #define OCI_SFC_ALTER_ROLE 79
1643 #define OCI_SFC_ALTER_TYPE 80
1644 #define OCI_SFC_CREATE_TYPE_BODY 81
1645 #define OCI_SFC_ALTER_TYPE_BODY 82
1646 #define OCI_SFC_DROP_TYPE_BODY 83
1647 #define OCI_SFC_DROP_LIBRARY 84
1648 #define OCI_SFC_TRUNCATE_TABLE 85
1649 #define OCI_SFC_TRUNCATE_CLUSTER 86
1650 #define OCI_SFC_ALTER_VIEW 88
1651 #define OCI_SFC_SET_CONSTRAINTS 90
1652 #define OCI_SFC_CREATE_FUNCTION 91
1653 #define OCI_SFC_ALTER_FUNCTION 92
1654 #define OCI_SFC_DROP_FUNCTION 93
1655 #define OCI_SFC_CREATE_PACKAGE 94
1656 #define OCI_SFC_ALTER_PACKAGE 95
1657 #define OCI_SFC_DROP_PACKAGE 96
1658 #define OCI_SFC_CREATE_PACKAGE_BODY 97
1659 #define OCI_SFC_ALTER_PACKAGE_BODY 98
1660 #define OCI_SFC_DROP_PACKAGE_BODY 99
1661 #define OCI_SFC_LOGON 100
1662 #define OCI_SFC_LOGOFF 101
1663 #define OCI_SFC_LOGOFF_BY_CLEANUP 102
1664 #define OCI_SFC_SESSION_REC 103
1665 #define OCI_SFC_SYSTEM_AUDIT 104
1666 #define OCI_SFC_SYSTEM_NOAUDIT 105
1667 #define OCI_SFC_AUDIT_DEFAULT 106
1668 #define OCI_SFC_NOAUDIT_DEFAULT 107
1669 #define OCI_SFC_SYSTEM_GRANT 108
1670 #define OCI_SFC_SYSTEM_REVOKE 109
1671 #define OCI_SFC_CREATE_PUBLIC_SYNONYM 110
1672 #define OCI_SFC_DROP_PUBLIC_SYNONYM 111
1673 #define OCI_SFC_CREATE_PUBLIC_DATABASE_LINK 112
1674 #define OCI_SFC_DROP_PUBLIC_DATABASE_LINK 113
1675 #define OCI_SFC_GRANT_ROLE 114
1676 #define OCI_SFC_REVOKE_ROLE 115
1677 #define OCI_SFC_EXECUTE_PROCEDURE 116
1678 #define OCI_SFC_USER_COMMENT 117
1679 #define OCI_SFC_ENABLE_TRIGGER 118
1680 #define OCI_SFC_DISABLE_TRIGGER 119
1681 #define OCI_SFC_ENABLE_ALL_TRIGGERS 120
1682 #define OCI_SFC_DISABLE_ALL_TRIGGERS 121
1683 #define OCI_SFC_NETWORK_ERROR 122
1684 #define OCI_SFC_EXECUTE_TYPE 123
1685 #define OCI_SFC_READ_DIRECTORY 125
1686 #define OCI_SFC_WRITE_DIRECTORY 126
1687 #define OCI_SFC_FLASHBACK 128
1688 #define OCI_SFC_BECOME_USER 129
1689 #define OCI_SFC_ALTER_MINING_MODEL 130
1690 #define OCI_SFC_SELECT_MINING_MODEL 131
1691 #define OCI_SFC_CREATE_MINING_MODEL 133
1692 #define OCI_SFC_ALTER_PUBLIC_SYNONYM 134
1693 #define OCI_SFC_EXECUTE_DIRECTORY 135
1694 #define OCI_SFC_SQL_LOADER_DIRECT_PATH_LOAD 136
1695 #define OCI_SFC_DATAPUMP_DIRECT_PATH_UNLOAD 137
1696 #define OCI_SFC_DATABASE_STARTUP 138
1697 #define OCI_SFC_DATABASE_SHUTDOWN 139
1698 #define OCI_SFC_CREATE_SQL_TXLN_PROFILE 140
1699 #define OCI_SFC_ALTER_SQL_TXLN_PROFILE 141
1700 #define OCI_SFC_USE_SQL_TXLN_PROFILE 142
1701 #define OCI_SFC_DROP_SQL_TXLN_PROFILE 143
1702 #define OCI_SFC_CREATE_MEASURE_FOLDER 144
1703 #define OCI_SFC_ALTER_MEASURE_FOLDER 145
1704 #define OCI_SFC_DROP_MEASURE_FOLDER 146
1705 #define OCI_SFC_CREATE_CUBE_BUILD_PROCESS 147
1706 #define OCI_SFC_ALTER_CUBE_BUILD_PROCESS 148
1707 #define OCI_SFC_DROP_CUBE_BUILD_PROCESS 149
1708 #define OCI_SFC_CREATE_CUBE 150
1709 #define OCI_SFC_ALTER_CUBE 151
1710 #define OCI_SFC_DROP_CUBE 152
1711 #define OCI_SFC_CREATE_CUBE_DIMENSION 153
1712 #define OCI_SFC_ALTER_CUBE_DIMENSION 154
1713 #define OCI_SFC_DROP_CUBE_DIMENSION 155
1714 #define OCI_SFC_CREATE_DIRECTORY 157
1715 #define OCI_SFC_DROP_DIRECTORY 158
1716 #define OCI_SFC_CREATE_LIBRARY 159
1717 #define OCI_SFC_CREATE_JAVA 160
1718 #define OCI_SFC_ALTER_JAVA 161
1719 #define OCI_SFC_DROP_JAVA 162
1720 #define OCI_SFC_CREATE_OPERATOR 163
1721 #define OCI_SFC_CREATE_INDEXTYPE 164
1722 #define OCI_SFC_DROP_INDEXTYPE 165
1723 #define OCI_SFC_ALTER_INDEXTYPE 166
1724 #define OCI_SFC_DROP_OPERATOR 167
1725 #define OCI_SFC_ASSOCIATE_STATISTICS 168
1726 #define OCI_SFC_DISASSOCIATE_STATISTICS 169
1727 #define OCI_SFC_CALL_METHOD 170
1728 #define OCI_SFC_CREATE_SUMMARY 171
1729 #define OCI_SFC_ALTER_SUMMARY 172
1730 #define OCI_SFC_DROP_SUMMARY 173
1731 #define OCI_SFC_CREATE_DIMENSION 174
1732 #define OCI_SFC_ALTER_DIMENSION 175
1733 #define OCI_SFC_DROP_DIMENSION 176
1734 #define OCI_SFC_CREATE_CONTEXT 177
1735 #define OCI_SFC_DROP_CONTEXT 178
1736 #define OCI_SFC_ALTER_OUTLINE 179
1737 #define OCI_SFC_CREATE_OUTLINE 180
1738 #define OCI_SFC_DROP_OUTLINE 181
1739 #define OCI_SFC_UPDATE_INDEXES 182
1740 #define OCI_SFC_ALTER_OPERATOR 183
1741 #define OCI_SFC_CREATE_SPFILE 187
1742 #define OCI_SFC_CREATE_PFILE 188
1743 #define OCI_SFC_MERGE 189
1744 #define OCI_SFC_PASSWORD_CHANGE 190
1745 #define OCI_SFC_ALTER_SYNONYM 192
1746 #define OCI_SFC_ALTER_DISKGROUP 193
1747 #define OCI_SFC_CREATE_DISKGROUP 194
1748 #define OCI_SFC_DROP_DISKGROUP 195
1749 #define OCI_SFC_PURGE_RECYCLEBIN 197
1750 #define OCI_SFC_PURGE_DBA_RECYCLEBIN 198
1751 #define OCI_SFC_PURGE_TABLESPACE 199
1752 #define OCI_SFC_PURGE_TABLE 200
1753 #define OCI_SFC_PURGE_INDEX 201
1754 #define OCI_SFC_UNDROP_OBJECT 202
1755 #define OCI_SFC_DROP_DATABASE 203
1756 #define OCI_SFC_FLASHBACK_DATABASE 204
1757 #define OCI_SFC_FLASHBACK_TABLE 205
1758 #define OCI_SFC_CREATE_RESTORE_POINT 206
1759 #define OCI_SFC_DROP_RESTORE_POINT 207
1760 #define OCI_SFC_PROXY_AUTHENTICATION_ONLY 208
1761 #define OCI_SFC_DECLARE_REWRITE_EQUIVALENCE 209
1762 #define OCI_SFC_ALTER_REWRITE_EQUIVALENCE 210
1763 #define OCI_SFC_DROP_REWRITE_EQUIVALENCE 211
1764 #define OCI_SFC_CREATE_EDITION 212
1765 #define OCI_SFC_ALTER_EDITION 213
1766 #define OCI_SFC_DROP_EDITION 214
1767 #define OCI_SFC_DROP_ASSEMBLY 215
1768 #define OCI_SFC_CREATE_ASSEMBLY 216
1769 #define OCI_SFC_ALTER_ASSEMBLY 217
1770 #define OCI_SFC_CREATE_FLASHBACK_ARCHIVE 218
1771 #define OCI_SFC_ALTER_FLASHBACK_ARCHIVE 219
1772 #define OCI_SFC_DROP_FLASHBACK_ARCHIVE 220
1773 #define OCI_SFC_DEBUG_CONNECT 221
1774 #define OCI_SFC_DEBUG_PROCEDURE 223
1775 #define OCI_SFC_ALTER_DATABASE_LINK 225
1776 #define OCI_SFC_CREATE_PLUGGABLE_DATABASE 226
1777 #define OCI_SFC_ALTER_PLUGGABLE_DATABASE 227
1778 #define OCI_SFC_DROP_PLUGGABLE_DATABASE 228
1779 #define OCI_SFC_CREATE_AUDIT_POLICY 229
1780 #define OCI_SFC_ALTER_AUDIT_POLICY 230
1781 #define OCI_SFC_DROP_AUDIT_POLICY 231
1782 #define OCI_SFC_CODE_BASED_GRANT 232
1783 #define OCI_SFC_CODE_BASED_REVOKE 233
1784 #define OCI_SFC_CREATE_LOCKDOWN_PROFILE 234
1785 #define OCI_SFC_DROP_LOCKDOWN_PROFILE 235
1786 #define OCI_SFC_ALTER_LOCKDOWN_PROFILE 236
1787 #define OCI_SFC_TRANSLATE_SQL 237
1788 #define OCI_SFC_ADMINISTER_KEY_MANAGEMENT 238
1789 #define OCI_SFC_CREATE_MATERIALIZED_ZONEMAP 239
1790 #define OCI_SFC_ALTER_MATERIALIZED_ZONEMAP 240
1791 #define OCI_SFC_DROP_MATERIALIZED_ZONEMAP 241
1792 #define OCI_SFC_DROP_MINING_MODEL 242
1793 #define OCI_SFC_CREATE_ATTRIBUTE_DIMENSION 243
1794 #define OCI_SFC_ALTER_ATTRIBUTE_DIMENSION 244
1795 #define OCI_SFC_DROP_ATTRIBUTE_DIMENSION 245
1796 #define OCI_SFC_CREATE_HIERARCHY 246
1797 #define OCI_SFC_ALTER_HIERARCHY 247
1798 #define OCI_SFC_DROP_HIERARCHY 248
1799 #define OCI_SFC_CREATE_ANALYTIC_VIEW 249
1800 #define OCI_SFC_ALTER_ANALYTIC_VIEW 250
1801 #define OCI_SFC_DROP_ANALYTIC_VIEW 251
1802 #define OCI_SFC_ALTER_PUBLIC_DATABASE_LINK 305
1803 
1804 
1805 
1806 /* size constants */
1807 
1808 #define OCI_SIZE_FORMAT 64
1809 #define OCI_SIZE_BUFFER 512
1810 #define OCI_SIZE_LONG ((64*1024)-1)
1811 #define OCI_SIZE_DATE 45
1812 #define OCI_SIZE_TIMESTAMP 54
1813 #define OCI_SIZE_FORMAT_TODATE 14
1814 #define OCI_SIZE_NULL 4
1815 #define OCI_SIZE_PRECISION 10
1816 #define OCI_SIZE_ROWID 23
1817 #define OCI_SIZE_DIRECTORY 30
1818 #define OCI_SIZE_FILENAME 255
1819 #define OCI_SIZE_FORMAT_NUMS 40
1820 #define OCI_SIZE_FORMAT_NUML 65
1821 #define OCI_SIZE_OBJ_NAME 128
1822 
1823 #define OCI_HASH_DEFAULT_SIZE 256
1824 
1825 /* string constants */
1826 
1827 #define OCILIB_DRIVER_NAME OTEXT("OCILIB")
1828 #define OCI_STRING_NULL OTEXT("NULL")
1829 #define OCI_STRING_EMPTY OTEXT("")
1830 #define OCI_STRING_FORMAT_DATE OTEXT("YYYY-MM-DD")
1831 #define OCI_STRING_FORMAT_TIME OTEXT("HH24:MI:SS")
1832 #define OCI_STRING_FORMAT_DATETIME OTEXT("YYYY-MM-DD HH24:MI:SS")
1833 #define OCI_STRING_FORMAT_TIMESTAMP OTEXT("YYYY-MM-DD HH24:MI:SS.FF")
1834 #define OCI_STRING_FORMAT_TIMESTAMP_TZ OTEXT("YYYY-MM-DD HH24:MI:SS.FF TZR")
1835 #define OCI_STRING_DEFAULT_PREC 3
1836 #define OCI_STRING_FORMAT_NUM \
1837  OTEXT("FM99999999999999999999999999999999999990.999999999999999999999999")
1838 #define OCI_STRING_FORMAT_NUM_BDOUBLE OTEXT("%lf")
1839 #define OCI_STRING_FORMAT_NUM_BFLOAT OTEXT("%f")
1840 #define OCI_STRING_FORMAT_NUM_SHORT OTEXT("%hd")
1841 #define OCI_STRING_FORMAT_NUM_INT OTEXT("%d")
1842 #define OCI_STRING_TRUE OTEXT("TRUE")
1843 #define OCI_STRING_FALSE OTEXT("FALSE")
1844 #define OCI_STRING_TRUE_SIZE 4
1845 #define OCI_STRING_FALSE_SIZE 5
1846 
1847 #ifdef _WINDOWS
1848  #define OCI_CHAR_SLASH '\\'
1849 #else
1850  #define OCI_CHAR_SLASH '/'
1851 #endif
1852 
1915 OCI_EXPORT boolean OCI_API OCI_Initialize
1916 (
1917  POCI_ERROR err_handler,
1918  const otext *lib_path,
1919  unsigned int mode
1920 );
1921 
1937 OCI_EXPORT boolean OCI_API OCI_Cleanup
1938 (
1939  void
1940 );
1941 
1953 OCI_EXPORT unsigned int OCI_API OCI_GetOCICompileVersion
1954 (
1955  void
1956 );
1957 
1970 OCI_EXPORT unsigned int OCI_API OCI_GetOCIRuntimeVersion
1971 (
1972  void
1973 );
1974 
1986 OCI_EXPORT unsigned int OCI_API OCI_GetImportMode
1987 (
1988  void
1989 );
1990 
2002 OCI_EXPORT unsigned int OCI_API OCI_GetCharset
2003 (
2004  void
2005 );
2006 
2021 OCI_EXPORT big_uint OCI_API OCI_GetAllocatedBytes
2022 (
2023  unsigned int mem_type
2024 );
2025 
2037 OCI_EXPORT boolean OCI_API OCI_EnableWarnings
2038 (
2039  boolean value
2040 );
2041 
2053 OCI_EXPORT boolean OCI_API OCI_SetErrorHandler
2054 (
2055  POCI_ERROR handler
2056 );
2057 
2080 OCI_EXPORT boolean OCI_API OCI_SetHAHandler
2081 (
2082  POCI_HA_HANDLER handler
2083 );
2084 
2153 OCI_EXPORT OCI_Error * OCI_API OCI_GetLastError
2154 (
2155  void
2156 );
2157 
2166 OCI_EXPORT const otext * OCI_API OCI_ErrorGetString
2167 (
2168  OCI_Error *err
2169 );
2170 
2189 OCI_EXPORT unsigned int OCI_API OCI_ErrorGetType
2190 (
2191  OCI_Error *err
2192 );
2193 
2202 OCI_EXPORT int OCI_API OCI_ErrorGetOCICode
2203 (
2204  OCI_Error *err
2205 );
2206 
2215 OCI_EXPORT int OCI_API OCI_ErrorGetInternalCode
2216 (
2217  OCI_Error *err
2218 );
2219 
2228 OCI_EXPORT OCI_Connection * OCI_API OCI_ErrorGetConnection
2229 (
2230  OCI_Error *err
2231 );
2232 
2244 OCI_EXPORT OCI_Statement * OCI_API OCI_ErrorGetStatement
2245 (
2246  OCI_Error *err
2247 );
2248 
2264 OCI_EXPORT unsigned int OCI_API OCI_ErrorGetRow
2265 (
2266  OCI_Error *err
2267 );
2268 
2346 OCI_EXPORT OCI_Connection * OCI_API OCI_ConnectionCreate
2347 (
2348  const otext *db,
2349  const otext *user,
2350  const otext *pwd,
2351  unsigned int mode
2352 );
2353 
2365 OCI_EXPORT boolean OCI_API OCI_ConnectionFree
2366 (
2367  OCI_Connection *con
2368 );
2369 
2378 OCI_EXPORT boolean OCI_API OCI_IsConnected
2379 (
2380  OCI_Connection *con
2381 );
2382 
2395 OCI_EXPORT void * OCI_API OCI_GetUserData
2396 (
2397  OCI_Connection *con
2398 );
2399 
2416 OCI_EXPORT boolean OCI_API OCI_SetUserData
2417 (
2418  OCI_Connection *con,
2419  void *data
2420 );
2421 
2445 OCI_EXPORT boolean OCI_API OCI_SetSessionTag
2446 (
2447  OCI_Connection *con,
2448  const otext *tag
2449 );
2450 
2459 OCI_EXPORT const otext * OCI_API OCI_GetSessionTag
2460 (
2461  OCI_Connection *con
2462 );
2463 
2472 OCI_EXPORT const otext * OCI_API OCI_GetDatabase
2473 (
2474  OCI_Connection *con
2475 );
2476 
2485 OCI_EXPORT const otext * OCI_API OCI_GetUserName
2486 (
2487  OCI_Connection *con
2488 );
2489 
2498 OCI_EXPORT const otext * OCI_API OCI_GetPassword
2499 (
2500  OCI_Connection *con
2501 );
2502 
2515 OCI_EXPORT boolean OCI_API OCI_SetPassword
2516 (
2517  OCI_Connection *con,
2518  const otext *password
2519 );
2520 
2535 OCI_EXPORT boolean OCI_API OCI_SetUserPassword
2536 (
2537  const otext *db,
2538  const otext *user,
2539  const otext *pwd,
2540  const otext *new_pwd
2541 );
2542 
2554 OCI_EXPORT unsigned int OCI_API OCI_GetSessionMode
2555 (
2556  OCI_Connection *con
2557 );
2558 
2567 OCI_EXPORT const otext * OCI_API OCI_GetVersionServer
2568 (
2569  OCI_Connection *con
2570 );
2571 
2583 OCI_EXPORT unsigned int OCI_API OCI_GetServerMajorVersion
2584 (
2585  OCI_Connection *con
2586 );
2587 
2599 OCI_EXPORT unsigned int OCI_API OCI_GetServerMinorVersion
2600 (
2601  OCI_Connection *con
2602 );
2603 
2615 OCI_EXPORT unsigned int OCI_API OCI_GetServerRevisionVersion
2616 (
2617  OCI_Connection *con
2618 );
2619 
2664 OCI_EXPORT boolean OCI_API OCI_SetFormat
2665 (
2666  OCI_Connection *con,
2667  unsigned int type,
2668  const otext *format
2669 );
2670 
2683 OCI_EXPORT const otext * OCI_API OCI_GetFormat
2684 (
2685  OCI_Connection *con,
2686  unsigned int type
2687 );
2688 
2700 OCI_EXPORT OCI_Transaction * OCI_API OCI_GetTransaction
2701 (
2702  OCI_Connection *con
2703 );
2704 
2721 OCI_EXPORT boolean OCI_API OCI_SetTransaction
2722 (
2723  OCI_Connection *con,
2724  OCI_Transaction *trans
2725 );
2726 
2753 OCI_EXPORT unsigned int OCI_API OCI_GetVersionConnection
2754 (
2755  OCI_Connection *con
2756 );
2757 
2807 OCI_EXPORT boolean OCI_API OCI_SetTrace
2808 (
2809  OCI_Connection *con,
2810  unsigned int trace,
2811  const otext *value
2812 );
2813 
2826 OCI_EXPORT const otext * OCI_API OCI_GetTrace
2827 (
2828  OCI_Connection *con,
2829  unsigned int trace
2830 );
2831 
2847 OCI_EXPORT boolean OCI_API OCI_Ping
2848 (
2849  OCI_Connection *con
2850 );
2851 
2895 OCI_EXPORT boolean OCI_API OCI_SetTimeout
2896 (
2897  OCI_Connection *con,
2898  unsigned int type,
2899  unsigned int value
2900 );
2901 
2917 OCI_EXPORT unsigned int OCI_API OCI_GetTimeout
2918 (
2919  OCI_Connection *con,
2920  unsigned int type
2921 );
2922 
2935 OCI_EXPORT const otext * OCI_API OCI_GetDBName
2936 (
2937  OCI_Connection *con
2938 );
2939 
2952 OCI_EXPORT const otext * OCI_API OCI_GetInstanceName
2953 (
2954  OCI_Connection *con
2955 );
2956 
2957 
2970 OCI_EXPORT const otext * OCI_API OCI_GetServiceName
2971 (
2972  OCI_Connection *con
2973 );
2974 
2975 
2988 OCI_EXPORT const otext * OCI_API OCI_GetServerName
2989 (
2990  OCI_Connection *con
2991 );
2992 
2993 
3006 OCI_EXPORT const otext * OCI_API OCI_GetDomainName
3007 (
3008  OCI_Connection *con
3009 );
3010 
3011 
3025 OCI_EXPORT OCI_Timestamp * OCI_API OCI_GetInstanceStartTime
3026 (
3027  OCI_Connection *con
3028 );
3029 
3045 OCI_EXPORT boolean OCI_API OCI_IsTAFCapable
3046 (
3047  OCI_Connection *con
3048 );
3049 
3069 OCI_EXPORT boolean OCI_API OCI_SetTAFHandler
3070 (
3071  OCI_Connection *con,
3072  POCI_TAF_HANDLER handler
3073 );
3074 
3089 OCI_EXPORT unsigned int OCI_API OCI_GetStatementCacheSize
3090 (
3091  OCI_Connection *con
3092 );
3093 
3109 OCI_EXPORT boolean OCI_API OCI_SetStatementCacheSize
3110 (
3111  OCI_Connection *con,
3112  unsigned int value
3113 );
3114 
3134 OCI_EXPORT unsigned int OCI_API OCI_GetDefaultLobPrefetchSize
3135 (
3136  OCI_Connection *con
3137 );
3138 
3168 OCI_EXPORT boolean OCI_API OCI_SetDefaultLobPrefetchSize
3169 (
3170  OCI_Connection *con,
3171  unsigned int value
3172 );
3173 
3174 
3192 OCI_EXPORT unsigned int OCI_API OCI_GetMaxCursors
3193 (
3194  OCI_Connection *con
3195 );
3196 
3287 OCI_EXPORT OCI_Pool * OCI_API OCI_PoolCreate
3288 (
3289  const otext *db,
3290  const otext *user,
3291  const otext *pwd,
3292  unsigned int type,
3293  unsigned int mode,
3294  unsigned int min_con,
3295  unsigned int max_con,
3296  unsigned int incr_con
3297 );
3298 
3310 OCI_EXPORT boolean OCI_API OCI_PoolFree
3311 (
3312  OCI_Pool *pool
3313 );
3314 
3347 OCI_EXPORT OCI_Connection * OCI_API OCI_PoolGetConnection
3348 (
3349  OCI_Pool *pool,
3350  const otext *tag
3351 );
3352 
3367 OCI_EXPORT unsigned int OCI_API OCI_PoolGetTimeout
3368 (
3369  OCI_Pool *pool
3370 );
3371 
3387 OCI_EXPORT boolean OCI_API OCI_PoolSetTimeout
3388 (
3389  OCI_Pool *pool,
3390  unsigned int value
3391 );
3392 
3406 OCI_EXPORT boolean OCI_API OCI_PoolGetNoWait
3407 (
3408  OCI_Pool *pool
3409 );
3410 
3426 OCI_EXPORT boolean OCI_API OCI_PoolSetNoWait
3427 (
3428  OCI_Pool *pool,
3429  boolean value
3430 );
3431 
3440 OCI_EXPORT unsigned int OCI_API OCI_PoolGetBusyCount
3441 (
3442  OCI_Pool *pool
3443 );
3444 
3453 OCI_EXPORT unsigned int OCI_API OCI_PoolGetOpenedCount
3454 (
3455  OCI_Pool *pool
3456 );
3457 
3466 OCI_EXPORT unsigned int OCI_API OCI_PoolGetMin
3467 (
3468  OCI_Pool *pool
3469 );
3470 
3479 OCI_EXPORT unsigned int OCI_API OCI_PoolGetMax
3480 (
3481  OCI_Pool *pool
3482 );
3483 
3493 OCI_EXPORT unsigned int OCI_API OCI_PoolGetIncrement
3494 (
3495  OCI_Pool *pool
3496 );
3497 
3509 OCI_EXPORT unsigned int OCI_API OCI_PoolGetStatementCacheSize
3510 (
3511  OCI_Pool *pool
3512 );
3513 
3526 OCI_EXPORT boolean OCI_API OCI_PoolSetStatementCacheSize
3527 (
3528  OCI_Pool *pool,
3529  unsigned int value
3530 );
3531 
3579 OCI_EXPORT boolean OCI_API OCI_Commit
3580 (
3581  OCI_Connection *con
3582 );
3583 
3595 OCI_EXPORT boolean OCI_API OCI_Rollback
3596 (
3597  OCI_Connection *con
3598 );
3599 
3614 OCI_EXPORT boolean OCI_API OCI_SetAutoCommit
3615 (
3616  OCI_Connection *con,
3617  boolean enable
3618 );
3619 
3631 OCI_EXPORT boolean OCI_API OCI_GetAutoCommit
3632 (
3633  OCI_Connection *con
3634 );
3635 
3666 OCI_EXPORT OCI_Transaction * OCI_API OCI_TransactionCreate
3667 (
3668  OCI_Connection *con,
3669  unsigned int timeout,
3670  unsigned int mode,
3671  OCI_XID *pxid
3672 );
3673 
3685 OCI_EXPORT boolean OCI_API OCI_TransactionFree
3686 (
3687  OCI_Transaction *trans
3688 );
3689 
3701 OCI_EXPORT boolean OCI_API OCI_TransactionStart
3702 (
3703  OCI_Transaction *trans
3704 );
3705 
3717 OCI_EXPORT boolean OCI_API OCI_TransactionStop
3718 (
3719  OCI_Transaction *trans
3720 );
3721 
3732 OCI_EXPORT boolean OCI_API OCI_TransactionResume
3733 (
3734  OCI_Transaction *trans
3735 );
3736 
3748 OCI_EXPORT boolean OCI_API OCI_TransactionPrepare
3749 (
3750  OCI_Transaction *trans
3751 );
3752 
3764 OCI_EXPORT boolean OCI_API OCI_TransactionForget
3765 (
3766  OCI_Transaction *trans
3767 );
3768 
3783 OCI_EXPORT unsigned int OCI_API OCI_TransactionGetMode
3784 (
3785  OCI_Transaction *trans
3786 );
3787 
3799 OCI_EXPORT unsigned int OCI_API OCI_TransactionGetTimeout
3800 (
3801  OCI_Transaction *trans
3802 );
3803 
3857 OCI_EXPORT OCI_Statement * OCI_API OCI_StatementCreate
3858 (
3859  OCI_Connection *con
3860 );
3861 
3873 OCI_EXPORT boolean OCI_API OCI_StatementFree
3874 (
3875  OCI_Statement *stmt
3876 );
3877 
3892 OCI_EXPORT boolean OCI_API OCI_Prepare
3893 (
3894  OCI_Statement *stmt,
3895  const otext *sql
3896 );
3897 
3917 OCI_EXPORT boolean OCI_API OCI_Execute
3918 (
3919  OCI_Statement *stmt
3920 );
3921 
3942 OCI_EXPORT boolean OCI_API OCI_ExecuteStmt
3943 (
3944  OCI_Statement *stmt,
3945  const otext *sql
3946 );
3947 
3976 OCI_EXPORT boolean OCI_API OCI_Parse
3977 (
3978  OCI_Statement *stmt,
3979  const otext *sql
3980 );
3981 
4014 OCI_EXPORT boolean OCI_API OCI_Describe
4015 (
4016  OCI_Statement *stmt,
4017  const otext *sql
4018 );
4019 
4028 OCI_EXPORT const otext * OCI_API OCI_GetSql
4029 (
4030  OCI_Statement *stmt
4031 );
4032 
4047 OCI_EXPORT const otext* OCI_API OCI_GetSqlIdentifier
4048 (
4049  OCI_Statement *stmt
4050 );
4051 
4064 OCI_EXPORT unsigned int OCI_API OCI_GetSqlErrorPos
4065 (
4066  OCI_Statement *stmt
4067 );
4068 
4091 OCI_EXPORT unsigned int OCI_API OCI_GetAffectedRows
4092 (
4093  OCI_Statement *stmt
4094 );
4095 
4110 OCI_EXPORT unsigned int OCI_API OCI_GetSQLCommand
4111 (
4112  OCI_Statement *stmt
4113 );
4114 
4132 OCI_EXPORT const otext * OCI_API OCI_GetSQLVerb
4133 (
4134  OCI_Statement *stmt
4135 );
4136 
4284 OCI_EXPORT boolean OCI_API OCI_BindArraySetSize
4285 (
4286  OCI_Statement *stmt,
4287  unsigned int size
4288 );
4289 
4301 OCI_EXPORT unsigned int OCI_API OCI_BindArrayGetSize
4302 (
4303  OCI_Statement *stmt
4304 );
4305 
4325 OCI_EXPORT boolean OCI_API OCI_AllowRebinding
4326 (
4327  OCI_Statement *stmt,
4328  boolean value
4329 );
4330 
4344 OCI_EXPORT boolean OCI_API OCI_IsRebindingAllowed
4345 (
4346  OCI_Statement *stmt
4347 );
4348 
4368 OCI_EXPORT boolean OCI_API OCI_BindBoolean
4369 (
4370  OCI_Statement *stmt,
4371  const otext *name,
4372  boolean *data
4373 );
4374 
4391 OCI_EXPORT boolean OCI_API OCI_BindNumber
4392 (
4393  OCI_Statement *stmt,
4394  const otext *name,
4395  OCI_Number *data
4396 );
4397 
4419 OCI_EXPORT boolean OCI_API OCI_BindArrayOfNumbers
4420 (
4421  OCI_Statement *stmt,
4422  const otext *name,
4423  OCI_Number **data,
4424  unsigned int nbelem
4425 );
4426 
4443 OCI_EXPORT boolean OCI_API OCI_BindShort
4444 (
4445  OCI_Statement *stmt,
4446  const otext *name,
4447  short *data
4448 );
4449 
4471 OCI_EXPORT boolean OCI_API OCI_BindArrayOfShorts
4472 (
4473  OCI_Statement *stmt,
4474  const otext *name,
4475  short *data,
4476  unsigned int nbelem
4477 );
4478 
4495 OCI_EXPORT boolean OCI_API OCI_BindUnsignedShort
4496 (
4497  OCI_Statement *stmt,
4498  const otext *name,
4499  unsigned short *data
4500 );
4501 
4523 OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedShorts
4524 (
4525  OCI_Statement *stmt,
4526  const otext *name,
4527  unsigned short *data,
4528  unsigned int nbelem
4529 );
4530 
4547 OCI_EXPORT boolean OCI_API OCI_BindInt
4548 (
4549  OCI_Statement *stmt,
4550  const otext *name,
4551  int *data
4552 );
4553 
4575 OCI_EXPORT boolean OCI_API OCI_BindArrayOfInts
4576 (
4577  OCI_Statement *stmt,
4578  const otext *name,
4579  int *data,
4580  unsigned int nbelem
4581 );
4582 
4599 OCI_EXPORT boolean OCI_API OCI_BindUnsignedInt
4600 (
4601  OCI_Statement *stmt,
4602  const otext *name,
4603  unsigned int *data
4604 );
4605 
4627 OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedInts
4628 (
4629  OCI_Statement *stmt,
4630  const otext *name,
4631  unsigned int *data,
4632  unsigned int nbelem
4633 );
4634 
4651 OCI_EXPORT boolean OCI_API OCI_BindBigInt
4652 (
4653  OCI_Statement *stmt,
4654  const otext *name,
4655  big_int *data
4656 );
4657 
4679 OCI_EXPORT boolean OCI_API OCI_BindArrayOfBigInts
4680 (
4681  OCI_Statement *stmt,
4682  const otext *name,
4683  big_int *data,
4684  unsigned int nbelem
4685 );
4686 
4703 OCI_EXPORT boolean OCI_API OCI_BindUnsignedBigInt
4704 (
4705  OCI_Statement *stmt,
4706  const otext *name,
4707  big_uint *data
4708 );
4709 
4731 OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedBigInts
4732 (
4733  OCI_Statement *stmt,
4734  const otext *name,
4735  big_uint *data,
4736  unsigned int nbelem
4737 );
4738 
4760 OCI_EXPORT boolean OCI_API OCI_BindString
4761 (
4762  OCI_Statement *stmt,
4763  const otext *name,
4764  otext *data,
4765  unsigned int len
4766 );
4767 
4794 OCI_EXPORT boolean OCI_API OCI_BindArrayOfStrings
4795 (
4796  OCI_Statement *stmt,
4797  const otext *name,
4798  otext *data,
4799  unsigned int len,
4800  unsigned int nbelem
4801 );
4802 
4823 OCI_EXPORT boolean OCI_API OCI_BindRaw
4824 (
4825  OCI_Statement *stmt,
4826  const otext *name,
4827  void *data,
4828  unsigned int len
4829 );
4830 
4859 OCI_EXPORT boolean OCI_API OCI_BindArrayOfRaws
4860 (
4861  OCI_Statement *stmt,
4862  const otext *name,
4863  void *data,
4864  unsigned int len,
4865  unsigned int nbelem
4866 );
4867 
4884 OCI_EXPORT boolean OCI_API OCI_BindDouble
4885 (
4886  OCI_Statement *stmt,
4887  const otext *name,
4888  double *data
4889 );
4890 
4912 OCI_EXPORT boolean OCI_API OCI_BindArrayOfDoubles
4913 (
4914  OCI_Statement *stmt,
4915  const otext *name,
4916  double *data,
4917  unsigned int nbelem
4918 );
4919 
4920 
4937 OCI_EXPORT boolean OCI_API OCI_BindFloat
4938 (
4939  OCI_Statement *stmt,
4940  const otext *name,
4941  float *data
4942 );
4943 
4965 OCI_EXPORT boolean OCI_API OCI_BindArrayOfFloats
4966 (
4967  OCI_Statement *stmt,
4968  const otext *name,
4969  float *data,
4970  unsigned int nbelem
4971 );
4972 
4989 OCI_EXPORT boolean OCI_API OCI_BindDate
4990 (
4991  OCI_Statement *stmt,
4992  const otext *name,
4993  OCI_Date *data
4994 );
4995 
5017 OCI_EXPORT boolean OCI_API OCI_BindArrayOfDates
5018 (
5019  OCI_Statement *stmt,
5020  const otext *name,
5021  OCI_Date **data,
5022  unsigned int nbelem
5023 );
5024 
5040 OCI_EXPORT boolean OCI_API OCI_BindTimestamp
5041 (
5042  OCI_Statement *stmt,
5043  const otext *name,
5044  OCI_Timestamp *data
5045 );
5046 
5072 OCI_EXPORT boolean OCI_API OCI_BindArrayOfTimestamps
5073 (
5074  OCI_Statement *stmt,
5075  const otext *name,
5076  OCI_Timestamp **data,
5077  unsigned int type,
5078  unsigned int nbelem
5079 );
5080 
5097 OCI_EXPORT boolean OCI_API OCI_BindInterval
5098 (
5099  OCI_Statement *stmt,
5100  const otext *name,
5101  OCI_Interval *data
5102 );
5103 
5130 OCI_EXPORT boolean OCI_API OCI_BindArrayOfIntervals
5131 (
5132  OCI_Statement *stmt,
5133  const otext *name,
5134  OCI_Interval **data,
5135  unsigned int type,
5136  unsigned int nbelem
5137 );
5138 
5154 OCI_EXPORT boolean OCI_API OCI_BindLob
5155 (
5156  OCI_Statement *stmt,
5157  const otext *name,
5158  OCI_Lob *data
5159 );
5160 
5186 OCI_EXPORT boolean OCI_API OCI_BindArrayOfLobs
5187 (
5188  OCI_Statement *stmt,
5189  const otext *name,
5190  OCI_Lob **data,
5191  unsigned int type,
5192  unsigned int nbelem
5193 );
5194 
5210 OCI_EXPORT boolean OCI_API OCI_BindFile
5211 (
5212  OCI_Statement *stmt,
5213  const otext *name,
5214  OCI_File *data
5215 );
5216 
5242 OCI_EXPORT boolean OCI_API OCI_BindArrayOfFiles
5243 (
5244  OCI_Statement *stmt,
5245  const otext *name,
5246  OCI_File **data,
5247  unsigned int type,
5248  unsigned int nbelem
5249 );
5250 
5267 OCI_EXPORT boolean OCI_API OCI_BindObject
5268 (
5269  OCI_Statement *stmt,
5270  const otext *name,
5271  OCI_Object *data
5272 );
5273 
5297 OCI_EXPORT boolean OCI_API OCI_BindArrayOfObjects
5298 (
5299  OCI_Statement *stmt,
5300  const otext *name,
5301  OCI_Object **data,
5302  OCI_TypeInfo *typinf,
5303  unsigned int nbelem
5304 );
5305 
5321 OCI_EXPORT boolean OCI_API OCI_BindColl
5322 (
5323  OCI_Statement *stmt,
5324  const otext *name,
5325  OCI_Coll *data
5326 );
5327 
5354 OCI_EXPORT boolean OCI_API OCI_BindArrayOfColls
5355 (
5356  OCI_Statement *stmt,
5357  const otext *name,
5358  OCI_Coll **data,
5359  OCI_TypeInfo *typinf,
5360  unsigned int nbelem
5361 );
5362 
5378 OCI_EXPORT boolean OCI_API OCI_BindRef
5379 (
5380  OCI_Statement *stmt,
5381  const otext *name,
5382  OCI_Ref *data
5383 );
5384 
5408 OCI_EXPORT boolean OCI_API OCI_BindArrayOfRefs
5409 (
5410  OCI_Statement *stmt,
5411  const otext *name,
5412  OCI_Ref **data,
5413  OCI_TypeInfo *typinf,
5414  unsigned int nbelem
5415 );
5416 
5432 OCI_EXPORT boolean OCI_API OCI_BindStatement
5433 (
5434  OCI_Statement *stmt,
5435  const otext *name,
5436  OCI_Statement *data
5437 );
5438 
5460 OCI_EXPORT boolean OCI_API OCI_BindLong
5461 (
5462  OCI_Statement *stmt,
5463  const otext *name,
5464  OCI_Long *data,
5465  unsigned int size
5466 );
5467 
5478 OCI_EXPORT OCI_Error * OCI_API OCI_GetBatchError
5479 (
5480  OCI_Statement *stmt
5481 );
5482 
5491 OCI_EXPORT unsigned int OCI_API OCI_GetBatchErrorCount
5492 (
5493  OCI_Statement *stmt
5494 );
5495 
5504 OCI_EXPORT unsigned int OCI_API OCI_GetBindCount
5505 (
5506  OCI_Statement *stmt
5507 );
5508 
5529 OCI_EXPORT OCI_Bind * OCI_API OCI_GetBind
5530 (
5531  OCI_Statement *stmt,
5532  unsigned int index
5533 );
5534 
5550 OCI_EXPORT OCI_Bind * OCI_API OCI_GetBind2
5551 (
5552  OCI_Statement *stmt,
5553  const otext *name
5554 );
5555 
5574 OCI_EXPORT unsigned int OCI_API OCI_GetBindIndex
5575 (
5576  OCI_Statement *stmt,
5577  const otext *name
5578 );
5579 
5588 OCI_EXPORT const otext * OCI_API OCI_BindGetName
5589 (
5590  OCI_Bind *bnd
5591 );
5592 
5593 
5615 OCI_EXPORT boolean OCI_API OCI_BindSetDirection
5616 (
5617  OCI_Bind *bnd,
5618  unsigned int direction
5619 );
5620 
5634 OCI_EXPORT unsigned int OCI_API OCI_BindGetDirection
5635 (
5636  OCI_Bind *bnd
5637 );
5638 
5668 OCI_EXPORT unsigned int OCI_API OCI_BindGetType
5669 (
5670  OCI_Bind *bnd
5671 );
5672 
5726 OCI_EXPORT unsigned int OCI_API OCI_BindGetSubtype
5727 (
5728  OCI_Bind *bnd
5729 );
5730 
5743 OCI_EXPORT unsigned int OCI_API OCI_BindGetDataCount
5744 (
5745  OCI_Bind *bnd
5746 );
5747 
5760 OCI_EXPORT void * OCI_API OCI_BindGetData
5761 (
5762  OCI_Bind *bnd
5763 );
5764 
5773 OCI_EXPORT OCI_Statement * OCI_API OCI_BindGetStatement
5774 (
5775  OCI_Bind *bnd
5776 );
5777 
5803 OCI_EXPORT boolean OCI_API OCI_BindSetDataSize
5804 (
5805  OCI_Bind *bnd,
5806  unsigned int size
5807 );
5808 
5835 OCI_EXPORT boolean OCI_API OCI_BindSetDataSizeAtPos
5836 (
5837  OCI_Bind *bnd,
5838  unsigned int position,
5839  unsigned int size
5840 );
5841 
5857 OCI_EXPORT unsigned int OCI_API OCI_BindGetDataSize
5858 (
5859  OCI_Bind *bnd
5860 );
5861 
5879 OCI_EXPORT unsigned int OCI_API OCI_BindGetDataSizeAtPos
5880 (
5881  OCI_Bind *bnd,
5882  unsigned int position
5883 );
5884 
5904 OCI_EXPORT boolean OCI_API OCI_BindSetNull
5905 (
5906  OCI_Bind *bnd
5907 );
5908 
5932 OCI_EXPORT boolean OCI_API OCI_BindSetNullAtPos
5933 (
5934  OCI_Bind *bnd,
5935  unsigned int position
5936 );
5937 
5957 OCI_EXPORT boolean OCI_API OCI_BindSetNotNull
5958 (
5959  OCI_Bind *bnd
5960 );
5961 
5985 OCI_EXPORT boolean OCI_API OCI_BindSetNotNullAtPos
5986 (
5987  OCI_Bind *bnd,
5988  unsigned int position
5989 );
5990 
6002 OCI_EXPORT boolean OCI_API OCI_BindIsNull
6003 (
6004  OCI_Bind *bnd
6005 );
6006 
6023 OCI_EXPORT boolean OCI_API OCI_BindIsNullAtPos
6024 (
6025  OCI_Bind *bnd,
6026  unsigned int position
6027 );
6028 
6055 boolean OCI_API OCI_BindSetCharsetForm
6056 (
6057  OCI_Bind *bnd,
6058  unsigned int csfrm
6059 );
6060 
6076 OCI_EXPORT unsigned int OCI_API OCI_BindGetAllocationMode
6077 (
6078  OCI_Bind *bnd
6079 );
6080 
6252 OCI_EXPORT OCI_Resultset * OCI_API OCI_GetResultset
6253 (
6254  OCI_Statement *stmt
6255 );
6256 
6277 OCI_EXPORT boolean OCI_API OCI_ReleaseResultsets
6278 (
6279  OCI_Statement *stmt
6280 );
6281 
6299 OCI_EXPORT boolean OCI_API OCI_FetchNext
6300 (
6301  OCI_Resultset *rs
6302 );
6303 
6321 OCI_EXPORT boolean OCI_API OCI_FetchPrev
6322 (
6323  OCI_Resultset *rs
6324 );
6325 
6342 OCI_EXPORT boolean OCI_API OCI_FetchFirst
6343 (
6344  OCI_Resultset *rs
6345 );
6346 
6363 OCI_EXPORT boolean OCI_API OCI_FetchLast
6364 (
6365  OCI_Resultset *rs
6366 );
6367 
6398 OCI_EXPORT boolean OCI_API OCI_FetchSeek
6399 (
6400  OCI_Resultset *rs,
6401  unsigned int mode,
6402  int offset
6403 );
6404 
6413 OCI_EXPORT unsigned int OCI_API OCI_GetRowCount
6414 (
6415  OCI_Resultset *rs
6416 );
6417 
6431 OCI_EXPORT unsigned int OCI_API OCI_GetCurrentRow
6432 (
6433  OCI_Resultset *rs
6434 );
6435 
6444 OCI_EXPORT unsigned int OCI_API OCI_GetColumnCount
6445 (
6446  OCI_Resultset *rs
6447 );
6448 
6462 OCI_EXPORT OCI_Column * OCI_API OCI_GetColumn
6463 (
6464  OCI_Resultset *rs,
6465  unsigned int index
6466 );
6467 
6484 OCI_EXPORT OCI_Column * OCI_API OCI_GetColumn2
6485 (
6486  OCI_Resultset *rs,
6487  const otext *name
6488 );
6489 
6508 OCI_EXPORT unsigned int OCI_API OCI_GetColumnIndex
6509 (
6510  OCI_Resultset *rs,
6511  const otext *name
6512 );
6513 
6522 OCI_EXPORT const otext * OCI_API OCI_ColumnGetName
6523 (
6524  OCI_Column *col
6525 );
6526 
6556 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetType
6557 (
6558  OCI_Column *col
6559 );
6560 
6575 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetCharsetForm
6576 (
6577  OCI_Column *col
6578 );
6579 
6591 OCI_EXPORT const otext * OCI_API OCI_ColumnGetSQLType
6592 (
6593  OCI_Column *col
6594 );
6595 
6613 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetFullSQLType
6614 (
6615  OCI_Column *col,
6616  otext *buffer,
6617  unsigned int len
6618 );
6619 
6632 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetSize
6633 (
6634  OCI_Column *col
6635 );
6636 
6645 OCI_EXPORT int OCI_API OCI_ColumnGetScale
6646 (
6647  OCI_Column *col
6648 );
6649 
6658 OCI_EXPORT int OCI_API OCI_ColumnGetPrecision
6659 (
6660  OCI_Column *col
6661 );
6662 
6671 OCI_EXPORT int OCI_API OCI_ColumnGetFractionalPrecision
6672 (
6673  OCI_Column *col
6674 );
6675 
6684 OCI_EXPORT int OCI_API OCI_ColumnGetLeadingPrecision
6685 (
6686  OCI_Column *col
6687 );
6688 
6700 OCI_EXPORT boolean OCI_API OCI_ColumnGetNullable
6701 (
6702  OCI_Column *col
6703 );
6704 
6718 OCI_EXPORT boolean OCI_API OCI_ColumnGetCharUsed
6719 (
6720  OCI_Column *col
6721 );
6722 
6750 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetPropertyFlags
6751 (
6752  OCI_Column *col
6753 );
6754 
6782 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetCollationID
6783 (
6784  OCI_Column *col
6785 );
6786 
6799 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_ColumnGetTypeInfo
6800 (
6801  OCI_Column *col
6802 );
6803 
6867 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetSubType
6868 (
6869  OCI_Column *col
6870 );
6871 
6898 OCI_EXPORT boolean OCI_API OCI_SetStructNumericType
6899 (
6900  OCI_Resultset *rs,
6901  unsigned int index,
6902  unsigned int type
6903 );
6904 
6931 OCI_EXPORT boolean OCI_API OCI_SetStructNumericType2
6932 (
6933  OCI_Resultset *rs,
6934  const otext *name,
6935  unsigned int type
6936 );
6937 
6989 OCI_EXPORT boolean OCI_API OCI_GetStruct
6990 (
6991  OCI_Resultset *rs,
6992  void *row_struct,
6993  void *row_struct_ind
6994 );
6995 
7010 OCI_EXPORT OCI_Number * OCI_API OCI_GetNumber
7011 (
7012  OCI_Resultset *rs,
7013  unsigned int index
7014 );
7015 
7031 OCI_EXPORT OCI_Number * OCI_API OCI_GetNumber2
7032 (
7033  OCI_Resultset *rs,
7034  const otext *name
7035 );
7036 
7037 
7053 OCI_EXPORT short OCI_API OCI_GetShort
7054 (
7055  OCI_Resultset *rs,
7056  unsigned int index
7057 );
7058 
7074 OCI_EXPORT short OCI_API OCI_GetShort2
7075 (
7076  OCI_Resultset *rs,
7077  const otext *name
7078 );
7079 
7095 OCI_EXPORT unsigned short OCI_API OCI_GetUnsignedShort
7096 (
7097  OCI_Resultset *rs,
7098  unsigned int index
7099 );
7100 
7116 OCI_EXPORT unsigned short OCI_API OCI_GetUnsignedShort2
7117 (
7118  OCI_Resultset *rs,
7119  const otext *name
7120 );
7121 
7137 OCI_EXPORT int OCI_API OCI_GetInt
7138 (
7139  OCI_Resultset *rs,
7140  unsigned int index
7141 );
7142 
7158 OCI_EXPORT int OCI_API OCI_GetInt2
7159 (
7160  OCI_Resultset *rs,
7161  const otext *name
7162 );
7163 
7179 OCI_EXPORT unsigned int OCI_API OCI_GetUnsignedInt
7180 (
7181  OCI_Resultset *rs,
7182  unsigned int index
7183 );
7184 
7200 OCI_EXPORT unsigned int OCI_API OCI_GetUnsignedInt2
7201 (
7202  OCI_Resultset *rs,
7203  const otext *name
7204 );
7205 
7221 OCI_EXPORT big_int OCI_API OCI_GetBigInt
7222 (
7223  OCI_Resultset *rs,
7224  unsigned int index
7225 );
7226 
7242 OCI_EXPORT big_int OCI_API OCI_GetBigInt2
7243 (
7244  OCI_Resultset *rs,
7245  const otext *name
7246 );
7247 
7263 OCI_EXPORT big_uint OCI_API OCI_GetUnsignedBigInt
7264 (
7265  OCI_Resultset *rs,
7266  unsigned int index
7267 );
7268 
7284 OCI_EXPORT big_uint OCI_API OCI_GetUnsignedBigInt2
7285 (
7286  OCI_Resultset *rs,
7287  const otext *name
7288 );
7289 
7323 OCI_EXPORT const otext * OCI_API OCI_GetString
7324 (
7325  OCI_Resultset *rs,
7326  unsigned int index
7327 );
7328 
7344 OCI_EXPORT const otext * OCI_API OCI_GetString2
7345 (
7346  OCI_Resultset *rs,
7347  const otext *name
7348 );
7349 
7367 OCI_EXPORT unsigned int OCI_API OCI_GetRaw
7368 (
7369  OCI_Resultset *rs,
7370  unsigned int index,
7371  void *buffer,
7372  unsigned int len
7373 );
7374 
7392 OCI_EXPORT unsigned int OCI_API OCI_GetRaw2
7393 (
7394  OCI_Resultset *rs,
7395  const otext *name,
7396  void *buffer,
7397  unsigned int len
7398 );
7399 
7415 OCI_EXPORT double OCI_API OCI_GetDouble
7416 (
7417  OCI_Resultset *rs,
7418  unsigned int index
7419 );
7420 
7436 OCI_EXPORT double OCI_API OCI_GetDouble2
7437 (
7438  OCI_Resultset *rs,
7439  const otext *name
7440 );
7441 
7457 OCI_EXPORT float OCI_API OCI_GetFloat
7458 (
7459  OCI_Resultset *rs,
7460  unsigned int index
7461 );
7462 
7478 OCI_EXPORT float OCI_API OCI_GetFloat2
7479 (
7480  OCI_Resultset *rs,
7481  const otext *name
7482 );
7483 
7499 OCI_EXPORT OCI_Date * OCI_API OCI_GetDate
7500 (
7501  OCI_Resultset *rs,
7502  unsigned int index
7503 );
7504 
7517 OCI_EXPORT OCI_Date * OCI_API OCI_GetDate2
7518 (
7519  OCI_Resultset *rs,
7520  const otext *name
7521 );
7522 
7538 OCI_EXPORT OCI_Timestamp * OCI_API OCI_GetTimestamp
7539 (
7540  OCI_Resultset *rs,
7541  unsigned int index
7542 );
7543 
7556 OCI_EXPORT OCI_Timestamp * OCI_API OCI_GetTimestamp2
7557 (
7558  OCI_Resultset *rs,
7559  const otext *name
7560 );
7561 
7577 OCI_EXPORT OCI_Interval * OCI_API OCI_GetInterval
7578 (
7579  OCI_Resultset *rs,
7580  unsigned int index
7581 );
7582 
7595 OCI_EXPORT OCI_Interval * OCI_API OCI_GetInterval2
7596 (
7597  OCI_Resultset *rs,
7598  const otext *name
7599 );
7600 
7616 OCI_EXPORT OCI_Statement * OCI_API OCI_GetStatement
7617 (
7618  OCI_Resultset *rs,
7619  unsigned int index
7620 );
7621 
7634 OCI_EXPORT OCI_Statement * OCI_API OCI_GetStatement2
7635 (
7636  OCI_Resultset *rs,
7637  const otext *name
7638 );
7639 
7655 OCI_EXPORT OCI_Lob * OCI_API OCI_GetLob
7656 (
7657  OCI_Resultset *rs,
7658  unsigned int index
7659 );
7660 
7673 OCI_EXPORT OCI_Lob * OCI_API OCI_GetLob2
7674 (
7675  OCI_Resultset *rs,
7676  const otext *name
7677 );
7678 
7694 OCI_EXPORT OCI_File * OCI_API OCI_GetFile
7695 (
7696  OCI_Resultset *rs,
7697  unsigned int index
7698 );
7699 
7712 OCI_EXPORT OCI_File * OCI_API OCI_GetFile2
7713 (
7714  OCI_Resultset *rs,
7715  const otext *name
7716 );
7717 
7733 OCI_EXPORT OCI_Object * OCI_API OCI_GetObject
7734 (
7735  OCI_Resultset *rs,
7736  unsigned int index
7737 );
7738 
7751 OCI_EXPORT OCI_Object * OCI_API OCI_GetObject2
7752 (
7753  OCI_Resultset *rs,
7754  const otext *name
7755 );
7756 
7772 OCI_EXPORT OCI_Coll * OCI_API OCI_GetColl
7773 (
7774  OCI_Resultset *rs,
7775  unsigned int index
7776 );
7777 
7790 OCI_EXPORT OCI_Coll * OCI_API OCI_GetColl2
7791 (
7792  OCI_Resultset *rs,
7793  const otext *name
7794 );
7795 
7811 OCI_EXPORT OCI_Ref * OCI_API OCI_GetRef
7812 (
7813  OCI_Resultset *rs,
7814  unsigned int index
7815 );
7816 
7829 OCI_EXPORT OCI_Ref * OCI_API OCI_GetRef2
7830 (
7831  OCI_Resultset *rs,
7832  const otext *name
7833 );
7834 
7850 OCI_EXPORT OCI_Long * OCI_API OCI_GetLong
7851 (
7852  OCI_Resultset *rs,
7853  unsigned int index
7854 );
7855 
7868 OCI_EXPORT OCI_Long * OCI_API OCI_GetLong2
7869 (
7870  OCI_Resultset *rs,
7871  const otext *name
7872 );
7873 
7889 OCI_EXPORT boolean OCI_API OCI_IsNull
7890 (
7891  OCI_Resultset *rs,
7892  unsigned int index
7893 );
7894 
7913 OCI_EXPORT unsigned int OCI_API OCI_GetDataSize
7914 (
7915  OCI_Resultset *rs,
7916  unsigned int index
7917 );
7918 
7934 OCI_EXPORT unsigned int OCI_API OCI_GetDataSize2
7935 (
7936  OCI_Resultset *rs,
7937  const otext *name
7938 );
7939 
7952 OCI_EXPORT boolean OCI_API OCI_IsNull2
7953 (
7954  OCI_Resultset *rs,
7955  const otext *name
7956 );
7957 
7966 OCI_EXPORT OCI_Statement * OCI_API OCI_ResultsetGetStatement
7967 (
7968  OCI_Resultset *rs
7969 );
7970 
7986 OCI_EXPORT unsigned int OCI_API OCI_GetDataLength
7987 (
7988  OCI_Resultset *rs,
7989  unsigned int index
7990 );
7991 
8056 OCI_EXPORT boolean OCI_API OCI_ServerEnableOutput
8057 (
8058  OCI_Connection *con,
8059  unsigned int bufsize,
8060  unsigned int arrsize,
8061  unsigned int lnsize
8062 );
8063 
8078 OCI_EXPORT boolean OCI_API OCI_ServerDisableOutput
8079 (
8080  OCI_Connection *con
8081 );
8082 
8098 OCI_EXPORT const otext * OCI_API OCI_ServerGetOutput
8099 (
8100  OCI_Connection *con
8101 );
8102 
8154 OCI_EXPORT OCI_Coll * OCI_API OCI_CollCreate
8155 (
8156  OCI_TypeInfo *typinf
8157 );
8158 
8174 OCI_EXPORT boolean OCI_API OCI_CollFree
8175 (
8176  OCI_Coll *coll
8177 );
8178 
8195 OCI_EXPORT OCI_Coll ** OCI_API OCI_CollArrayCreate
8196 (
8197  OCI_Connection *con,
8198  OCI_TypeInfo *typinf,
8199  unsigned int nbelem
8200 );
8201 
8217 OCI_EXPORT boolean OCI_API OCI_CollArrayFree
8218 (
8219  OCI_Coll **colls
8220 );
8221 
8237 OCI_EXPORT boolean OCI_API OCI_CollAssign
8238 (
8239  OCI_Coll *coll,
8240  OCI_Coll *coll_src
8241 );
8242 
8251 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_CollGetTypeInfo
8252 (
8253  OCI_Coll *coll
8254 );
8255 
8273 OCI_EXPORT unsigned int OCI_API OCI_CollGetType
8274 (
8275  OCI_Coll *coll
8276 );
8277 
8286 OCI_EXPORT unsigned int OCI_API OCI_CollGetMax
8287 (
8288  OCI_Coll *coll
8289 );
8290 
8299 OCI_EXPORT unsigned int OCI_API OCI_CollGetSize
8300 (
8301  OCI_Coll *coll
8302 );
8303 
8317 OCI_EXPORT unsigned int OCI_API OCI_CollGetCount
8318 (
8319  OCI_Coll *coll
8320 );
8321 
8334 OCI_EXPORT boolean OCI_API OCI_CollTrim
8335 (
8336  OCI_Coll *coll,
8337  unsigned int nb_elem
8338 );
8339 
8351 OCI_EXPORT boolean OCI_API OCI_CollClear
8352 (
8353  OCI_Coll *coll
8354 );
8355 
8371 OCI_EXPORT OCI_Elem * OCI_API OCI_CollGetElem
8372 (
8373  OCI_Coll *coll,
8374  unsigned int index
8375 );
8376 
8393 OCI_EXPORT boolean OCI_API OCI_CollGetElem2
8394 (
8395  OCI_Coll *coll,
8396  unsigned int index,
8397  OCI_Elem *elem
8398 );
8399 
8417 OCI_EXPORT boolean OCI_API OCI_CollSetElem
8418 (
8419  OCI_Coll *coll,
8420  unsigned int index,
8421  OCI_Elem *elem
8422 );
8423 
8436 OCI_EXPORT boolean OCI_API OCI_CollAppend
8437 (
8438  OCI_Coll *coll,
8439  OCI_Elem *elem
8440 );
8441 
8467 OCI_EXPORT boolean OCI_API OCI_CollToText
8468 (
8469  OCI_Coll *coll,
8470  unsigned int *size,
8471  otext *str
8472 );
8473 
8494 OCI_EXPORT boolean OCI_API OCI_CollDeleteElem
8495 (
8496  OCI_Coll *coll,
8497  unsigned int index
8498 );
8499 
8511 OCI_EXPORT OCI_Iter * OCI_API OCI_IterCreate
8512 (
8513  OCI_Coll *coll
8514 );
8515 
8527 OCI_EXPORT boolean OCI_API OCI_IterFree
8528 (
8529  OCI_Iter *iter
8530 );
8531 
8546 OCI_EXPORT OCI_Elem * OCI_API OCI_IterGetNext
8547 (
8548  OCI_Iter *iter
8549 );
8550 
8565 OCI_EXPORT OCI_Elem * OCI_API OCI_IterGetPrev
8566 (
8567  OCI_Iter *iter
8568 );
8569 
8584 OCI_EXPORT OCI_Elem * OCI_API OCI_IterGetCurrent
8585 (
8586  OCI_Iter *iter
8587 );
8588 
8601 OCI_EXPORT OCI_Elem * OCI_API OCI_ElemCreate
8602 (
8603  OCI_TypeInfo *typinf
8604 );
8605 
8621 OCI_EXPORT boolean OCI_API OCI_ElemFree
8622 (
8623  OCI_Elem *elem
8624 );
8625 
8640 OCI_EXPORT boolean OCI_API OCI_ElemGetBoolean
8641 (
8642  OCI_Elem *elem
8643 );
8644 
8656 OCI_EXPORT OCI_Number* OCI_API OCI_ElemGetNumber
8657 (
8658  OCI_Elem *elem
8659 );
8660 
8672 OCI_EXPORT short OCI_API OCI_ElemGetShort
8673 (
8674  OCI_Elem *elem
8675 );
8676 
8688 OCI_EXPORT unsigned short OCI_API OCI_ElemGetUnsignedShort
8689 (
8690  OCI_Elem *elem
8691 );
8692 
8704 OCI_EXPORT int OCI_API OCI_ElemGetInt
8705 (
8706  OCI_Elem *elem
8707 );
8708 
8720 OCI_EXPORT unsigned int OCI_API OCI_ElemGetUnsignedInt
8721 (
8722  OCI_Elem *elem
8723 );
8724 
8736 OCI_EXPORT big_int OCI_API OCI_ElemGetBigInt
8737 (
8738  OCI_Elem *elem
8739 );
8740 
8752 OCI_EXPORT big_uint OCI_API OCI_ElemGetUnsignedBigInt
8753 (
8754  OCI_Elem *elem
8755 );
8756 
8768 OCI_EXPORT double OCI_API OCI_ElemGetDouble
8769 (
8770  OCI_Elem *elem
8771 );
8772 
8784 OCI_EXPORT float OCI_API OCI_ElemGetFloat
8785 (
8786  OCI_Elem *elem
8787 );
8788 
8800 OCI_EXPORT const otext * OCI_API OCI_ElemGetString
8801 (
8802  OCI_Elem *elem
8803 );
8804 
8818 OCI_EXPORT unsigned int OCI_API OCI_ElemGetRaw
8819 (
8820  OCI_Elem *elem,
8821  void *value,
8822  unsigned int len
8823 );
8824 
8836 OCI_EXPORT unsigned int OCI_API OCI_ElemGetRawSize
8837 (
8838  OCI_Elem *elem
8839 );
8840 
8852 OCI_EXPORT OCI_Date * OCI_API OCI_ElemGetDate
8853 (
8854  OCI_Elem *elem
8855 );
8856 
8868 OCI_EXPORT OCI_Timestamp * OCI_API OCI_ElemGetTimestamp
8869 (
8870  OCI_Elem *elem
8871 );
8872 
8884 OCI_EXPORT OCI_Interval * OCI_API OCI_ElemGetInterval
8885 (
8886  OCI_Elem *elem
8887 );
8888 
8900 OCI_EXPORT OCI_Lob * OCI_API OCI_ElemGetLob
8901 (
8902  OCI_Elem *elem
8903 );
8904 
8916 OCI_EXPORT OCI_File * OCI_API OCI_ElemGetFile
8917 (
8918  OCI_Elem *elem
8919 );
8920 
8932 OCI_EXPORT OCI_Object * OCI_API OCI_ElemGetObject
8933 (
8934  OCI_Elem *elem
8935 );
8936 
8948 OCI_EXPORT OCI_Coll * OCI_API OCI_ElemGetColl
8949 (
8950  OCI_Elem *elem
8951 );
8952 
8964 OCI_EXPORT OCI_Ref * OCI_API OCI_ElemGetRef
8965 (
8966  OCI_Elem *elem
8967 );
8968 
8984 OCI_EXPORT boolean OCI_API OCI_ElemSetBoolean
8985 (
8986  OCI_Elem *elem,
8987  boolean value
8988 );
8989 
9002 OCI_EXPORT boolean OCI_API OCI_ElemSetNumber
9003 (
9004  OCI_Elem *elem,
9005  OCI_Number *value
9006 );
9007 
9020 OCI_EXPORT boolean OCI_API OCI_ElemSetShort
9021 (
9022  OCI_Elem *elem,
9023  short value
9024 );
9025 
9038 OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedShort
9039 (
9040  OCI_Elem *elem,
9041  unsigned short value
9042 );
9043 
9056 OCI_EXPORT boolean OCI_API OCI_ElemSetInt
9057 (
9058  OCI_Elem *elem,
9059  int value
9060 );
9061 
9074 OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedInt
9075 (
9076  OCI_Elem *elem,
9077  unsigned int value
9078 );
9079 
9092 OCI_EXPORT boolean OCI_API OCI_ElemSetBigInt
9093 (
9094  OCI_Elem *elem,
9095  big_int value
9096 );
9097 
9110 OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedBigInt
9111 (
9112  OCI_Elem *elem,
9113  big_uint value
9114 );
9115 
9128 OCI_EXPORT boolean OCI_API OCI_ElemSetDouble
9129 (
9130  OCI_Elem *elem,
9131  double value
9132 );
9133 
9146 OCI_EXPORT boolean OCI_API OCI_ElemSetFloat
9147 (
9148  OCI_Elem *elem,
9149  float value
9150 );
9151 
9167 OCI_EXPORT boolean OCI_API OCI_ElemSetString
9168 (
9169  OCI_Elem *elem,
9170  const otext *value
9171 );
9172 
9189 OCI_EXPORT boolean OCI_API OCI_ElemSetRaw
9190 (
9191  OCI_Elem *elem,
9192  void *value,
9193  unsigned int len
9194 );
9195 
9211 OCI_EXPORT boolean OCI_API OCI_ElemSetDate
9212 (
9213  OCI_Elem *elem,
9214  OCI_Date *value
9215 );
9216 
9232 OCI_EXPORT boolean OCI_API OCI_ElemSetTimestamp
9233 (
9234  OCI_Elem *elem,
9235  OCI_Timestamp *value
9236 );
9237 
9253 OCI_EXPORT boolean OCI_API OCI_ElemSetInterval
9254 (
9255  OCI_Elem *elem,
9256  OCI_Interval *value
9257 );
9258 
9274 OCI_EXPORT boolean OCI_API OCI_ElemSetColl
9275 (
9276  OCI_Elem *elem,
9277  OCI_Coll *value
9278 );
9279 
9300 OCI_EXPORT boolean OCI_API OCI_ElemSetObject
9301 (
9302  OCI_Elem *elem,
9303  OCI_Object *value
9304 );
9305 
9321 OCI_EXPORT boolean OCI_API OCI_ElemSetLob
9322 (
9323  OCI_Elem *elem,
9324  OCI_Lob *value
9325 );
9326 
9342 OCI_EXPORT boolean OCI_API OCI_ElemSetFile
9343 (
9344  OCI_Elem *elem,
9345  OCI_File *value
9346 );
9347 
9363 OCI_EXPORT boolean OCI_API OCI_ElemSetRef
9364 (
9365  OCI_Elem *elem,
9366  OCI_Ref *value
9367 );
9368 
9380 OCI_EXPORT boolean OCI_API OCI_ElemIsNull
9381 (
9382  OCI_Elem *elem
9383 );
9384 
9396 OCI_EXPORT boolean OCI_API OCI_ElemSetNull
9397 (
9398  OCI_Elem *elem
9399 );
9400 
9480 OCI_EXPORT OCI_Resultset * OCI_API OCI_GetNextResultset
9481 (
9482  OCI_Statement *stmt
9483 );
9484 
9497 OCI_EXPORT boolean OCI_API OCI_RegisterNumber
9498 (
9499  OCI_Statement *stmt,
9500  const otext *name
9501 );
9502 
9515 OCI_EXPORT boolean OCI_API OCI_RegisterShort
9516 (
9517  OCI_Statement *stmt,
9518  const otext *name
9519 );
9520 
9533 OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedShort
9534 (
9535  OCI_Statement *stmt,
9536  const otext *name
9537 );
9538 
9551 OCI_EXPORT boolean OCI_API OCI_RegisterInt
9552 (
9553  OCI_Statement *stmt,
9554  const otext *name
9555 );
9556 
9569 OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedInt
9570 (
9571  OCI_Statement *stmt,
9572  const otext *name
9573 );
9574 
9587 OCI_EXPORT boolean OCI_API OCI_RegisterBigInt
9588 (
9589  OCI_Statement *stmt,
9590  const otext *name
9591 );
9592 
9605 OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedBigInt
9606 (
9607  OCI_Statement *stmt,
9608  const otext *name
9609 );
9610 
9624 OCI_EXPORT boolean OCI_API OCI_RegisterString
9625 (
9626  OCI_Statement *stmt,
9627  const otext *name,
9628  unsigned int len
9629 );
9630 
9643 OCI_EXPORT boolean OCI_API OCI_RegisterRaw
9644 (
9645  OCI_Statement *stmt,
9646  const otext *name,
9647  unsigned int len
9648 );
9649 
9661 OCI_EXPORT boolean OCI_API OCI_RegisterDouble
9662 (
9663  OCI_Statement *stmt,
9664  const otext *name
9665 );
9666 
9678 OCI_EXPORT boolean OCI_API OCI_RegisterFloat
9679 (
9680  OCI_Statement *stmt,
9681  const otext *name
9682 );
9683 
9695 OCI_EXPORT boolean OCI_API OCI_RegisterDate
9696 (
9697  OCI_Statement *stmt,
9698  const otext *name
9699 );
9700 
9716 OCI_EXPORT boolean OCI_API OCI_RegisterTimestamp
9717 (
9718  OCI_Statement *stmt,
9719  const otext *name,
9720  unsigned int type
9721 );
9722 
9738 OCI_EXPORT boolean OCI_API OCI_RegisterInterval
9739 (
9740  OCI_Statement *stmt,
9741  const otext *name,
9742  unsigned int type
9743 );
9744 
9757 OCI_EXPORT boolean OCI_API OCI_RegisterObject
9758 (
9759  OCI_Statement *stmt,
9760  const otext *name,
9761  OCI_TypeInfo *typinf
9762 );
9763 
9779 OCI_EXPORT boolean OCI_API OCI_RegisterLob
9780 (
9781  OCI_Statement *stmt,
9782  const otext *name,
9783  unsigned int type
9784 );
9785 
9801 OCI_EXPORT boolean OCI_API OCI_RegisterFile
9802 (
9803  OCI_Statement *stmt,
9804  const otext *name,
9805  unsigned int type
9806 );
9807 
9820 OCI_EXPORT boolean OCI_API OCI_RegisterRef
9821 (
9822  OCI_Statement *stmt,
9823  const otext *name,
9824  OCI_TypeInfo *typinf
9825 );
9826 
9882 OCI_EXPORT unsigned int OCI_API OCI_GetStatementType
9883 (
9884  OCI_Statement *stmt
9885 );
9886 
9911 OCI_EXPORT boolean OCI_API OCI_SetFetchMode
9912 (
9913  OCI_Statement *stmt,
9914  unsigned int mode
9915 );
9916 
9929 OCI_EXPORT unsigned int OCI_API OCI_GetFetchMode
9930 (
9931  OCI_Statement *stmt
9932 );
9933 
9948 OCI_EXPORT boolean OCI_API OCI_SetBindMode
9949 (
9950  OCI_Statement *stmt,
9951  unsigned int mode
9952 );
9953 
9969 OCI_EXPORT unsigned int OCI_API OCI_GetBindMode
9970 (
9971  OCI_Statement *stmt
9972 );
9973 
9997 OCI_EXPORT boolean OCI_API OCI_SetBindAllocation
9998 (
9999  OCI_Statement *stmt,
10000  unsigned int mode
10001 );
10002 
10021 OCI_EXPORT unsigned int OCI_API OCI_GetBindAllocation
10022 (
10023  OCI_Statement *stmt
10024 );
10025 
10038 OCI_EXPORT boolean OCI_API OCI_SetFetchSize
10039 (
10040  OCI_Statement *stmt,
10041  unsigned int size
10042 );
10043 
10055 OCI_EXPORT unsigned int OCI_API OCI_GetFetchSize
10056 (
10057  OCI_Statement *stmt
10058 );
10059 
10079 OCI_EXPORT boolean OCI_API OCI_SetPrefetchSize
10080 (
10081  OCI_Statement *stmt,
10082  unsigned int size
10083 );
10084 
10096 OCI_EXPORT unsigned int OCI_API OCI_GetPrefetchSize
10097 (
10098  OCI_Statement *stmt
10099 );
10100 
10124 OCI_EXPORT boolean OCI_API OCI_SetPrefetchMemory
10125 (
10126  OCI_Statement *stmt,
10127  unsigned int size
10128 );
10129 
10141 OCI_EXPORT unsigned int OCI_API OCI_GetPrefetchMemory
10142 (
10143  OCI_Statement *stmt
10144 );
10145 
10158 OCI_EXPORT boolean OCI_API OCI_SetLongMaxSize
10159 (
10160  OCI_Statement *stmt,
10161  unsigned int size
10162 );
10163 
10175 OCI_EXPORT unsigned int OCI_API OCI_GetLongMaxSize
10176 (
10177  OCI_Statement *stmt
10178 );
10179 
10197 OCI_EXPORT boolean OCI_API OCI_SetLongMode
10198 (
10199  OCI_Statement *stmt,
10200  unsigned int mode
10201 );
10202 
10214 OCI_EXPORT unsigned int OCI_API OCI_GetLongMode
10215 (
10216  OCI_Statement *stmt
10217 );
10218 
10227 OCI_EXPORT OCI_Connection * OCI_API OCI_StatementGetConnection
10228 (
10229  OCI_Statement *stmt
10230 );
10231 
10303 OCI_EXPORT OCI_Lob * OCI_API OCI_LobCreate
10304 (
10305  OCI_Connection *con,
10306  unsigned int type
10307 );
10308 
10323 OCI_EXPORT boolean OCI_API OCI_LobFree
10324 (
10325  OCI_Lob *lob
10326 );
10327 
10344 OCI_EXPORT OCI_Lob ** OCI_API OCI_LobArrayCreate
10345 (
10346  OCI_Connection *con,
10347  unsigned int type,
10348  unsigned int nbelem
10349 );
10350 
10366 OCI_EXPORT boolean OCI_API OCI_LobArrayFree
10367 (
10368  OCI_Lob **lobs
10369 );
10370 
10385 OCI_EXPORT unsigned int OCI_API OCI_LobGetType
10386 (
10387  OCI_Lob *lob
10388 );
10389 
10417 OCI_EXPORT boolean OCI_API OCI_LobSeek
10418 (
10419  OCI_Lob *lob,
10420  big_uint offset,
10421  unsigned int mode
10422 );
10423 
10434 OCI_EXPORT big_uint OCI_API OCI_LobGetOffset
10435 (
10436  OCI_Lob *lob
10437 );
10438 
10460 OCI_EXPORT unsigned int OCI_API OCI_LobRead
10461 (
10462  OCI_Lob *lob,
10463  void *buffer,
10464  unsigned int len
10465 );
10466 
10492 OCI_EXPORT boolean OCI_API OCI_LobRead2
10493 (
10494  OCI_Lob *lob,
10495  void *buffer,
10496  unsigned int *char_count,
10497  unsigned int *byte_count
10498 );
10499 
10521 OCI_EXPORT unsigned int OCI_API OCI_LobWrite
10522 (
10523  OCI_Lob *lob,
10524  void *buffer,
10525  unsigned int len
10526 );
10527 
10553 OCI_EXPORT boolean OCI_API OCI_LobWrite2
10554 (
10555  OCI_Lob *lob,
10556  void *buffer,
10557  unsigned int *char_count,
10558  unsigned int *byte_count
10559 );
10560 
10581 OCI_EXPORT boolean OCI_API OCI_LobTruncate
10582 (
10583  OCI_Lob *lob,
10584  big_uint size
10585 );
10586 
10598 OCI_EXPORT big_uint OCI_API OCI_LobGetLength
10599 (
10600  OCI_Lob *lob
10601 );
10602 
10620 OCI_EXPORT unsigned int OCI_API OCI_LobGetChunkSize
10621 (
10622  OCI_Lob *lob
10623 );
10624 
10645 OCI_EXPORT big_uint OCI_API OCI_LobErase
10646 (
10647  OCI_Lob *lob,
10648  big_uint offset,
10649  big_uint len
10650 );
10651 
10670 OCI_EXPORT unsigned int OCI_API OCI_LobAppend
10671 (
10672  OCI_Lob *lob,
10673  void *buffer,
10674  unsigned int len
10675 );
10676 
10702 OCI_EXPORT boolean OCI_API OCI_LobAppend2
10703 (
10704  OCI_Lob *lob,
10705  void *buffer,
10706  unsigned int *char_count,
10707  unsigned int *byte_count
10708 );
10709 
10722 OCI_EXPORT boolean OCI_API OCI_LobAppendLob
10723 (
10724  OCI_Lob *lob,
10725  OCI_Lob *lob_src
10726 );
10727 
10739 OCI_EXPORT boolean OCI_API OCI_LobIsTemporary
10740 (
10741  OCI_Lob *lob
10742 );
10743 
10763 OCI_EXPORT boolean OCI_API OCI_LobCopy
10764 (
10765  OCI_Lob *lob,
10766  OCI_Lob *lob_src,
10767  big_uint offset_dst,
10768  big_uint offset_src,
10769  big_uint count
10770 );
10771 
10792 OCI_EXPORT boolean OCI_API OCI_LobCopyFromFile
10793 (
10794  OCI_Lob *lob,
10795  OCI_File *file,
10796  big_uint offset_dst,
10797  big_uint offset_src,
10798  big_uint count
10799 );
10800 
10823 OCI_EXPORT boolean OCI_API OCI_LobOpen
10824 (
10825  OCI_Lob *lob,
10826  unsigned int mode
10827 );
10828 
10843 OCI_EXPORT boolean OCI_API OCI_LobClose
10844 (
10845  OCI_Lob *lob
10846 );
10847 
10860 OCI_EXPORT boolean OCI_API OCI_LobIsEqual
10861 (
10862  OCI_Lob *lob,
10863  OCI_Lob *lob2
10864 );
10865 
10878 OCI_EXPORT boolean OCI_API OCI_LobAssign
10879 (
10880  OCI_Lob *lob,
10881  OCI_Lob *lob_src
10882 );
10883 
10895 OCI_EXPORT big_uint OCI_API OCI_LobGetMaxSize
10896 (
10897  OCI_Lob *lob
10898 );
10899 
10911 OCI_EXPORT boolean OCI_API OCI_LobFlush
10912 (
10913  OCI_Lob *lob
10914 );
10915 
10940 OCI_EXPORT boolean OCI_API OCI_LobEnableBuffering
10941 (
10942  OCI_Lob *lob,
10943  boolean value
10944 );
10945 
10954 OCI_EXPORT OCI_Connection * OCI_API OCI_LobGetConnection
10955 (
10956  OCI_Lob *lob
10957 );
10958 
10970 OCI_EXPORT boolean OCI_API OCI_LobIsRemote
10971 (
10972  OCI_Lob *lob
10973 );
10974 
11034 OCI_EXPORT OCI_File * OCI_API OCI_FileCreate
11035 (
11036  OCI_Connection *con,
11037  unsigned int type
11038 );
11039 
11054 OCI_EXPORT boolean OCI_API OCI_FileFree
11055 (
11056  OCI_File *file
11057 );
11058 
11075 OCI_EXPORT OCI_File ** OCI_API OCI_FileArrayCreate
11076 (
11077  OCI_Connection *con,
11078  unsigned int type,
11079  unsigned int nbelem
11080 );
11081 
11096 OCI_EXPORT boolean OCI_API OCI_FileArrayFree
11097 (
11098  OCI_File **files
11099 );
11100 
11115 OCI_EXPORT unsigned int OCI_API OCI_FileGetType
11116 (
11117  OCI_File *file
11118 );
11119 
11143 OCI_EXPORT boolean OCI_API OCI_FileSeek
11144 (
11145  OCI_File *file,
11146  big_uint offset,
11147  unsigned int mode
11148 );
11149 
11160 OCI_EXPORT big_uint OCI_API OCI_FileGetOffset
11161 (
11162  OCI_File *file
11163 );
11164 
11178 OCI_EXPORT unsigned int OCI_API OCI_FileRead
11179 (
11180  OCI_File *file,
11181  void *buffer,
11182  unsigned int len
11183 );
11184 
11193 OCI_EXPORT big_uint OCI_API OCI_FileGetSize
11194 (
11195  OCI_File *file
11196 );
11197 
11212 OCI_EXPORT boolean OCI_API OCI_FileExists
11213 (
11214  OCI_File *file
11215 );
11216 
11234 OCI_EXPORT boolean OCI_API OCI_FileSetName
11235 (
11236  OCI_File *file,
11237  const otext *dir,
11238  const otext *name
11239 );
11240 
11249 OCI_EXPORT const otext * OCI_API OCI_FileGetDirectory
11250 (
11251  OCI_File *file
11252 );
11253 
11262 OCI_EXPORT const otext * OCI_API OCI_FileGetName
11263 (
11264  OCI_File *file
11265 );
11266 
11278 OCI_EXPORT boolean OCI_API OCI_FileOpen
11279 (
11280  OCI_File *file
11281 );
11282 
11294 OCI_EXPORT boolean OCI_API OCI_FileIsOpen
11295 (
11296  OCI_File *file
11297 );
11298 
11310 OCI_EXPORT boolean OCI_API OCI_FileClose
11311 (
11312  OCI_File *file
11313 );
11314 
11327 OCI_EXPORT boolean OCI_API OCI_FileIsEqual
11328 (
11329  OCI_File *file,
11330  OCI_File *file2
11331 );
11332 
11345 OCI_EXPORT boolean OCI_API OCI_FileAssign
11346 (
11347  OCI_File *file,
11348  OCI_File *file_src
11349 );
11350 
11359 OCI_EXPORT OCI_Connection * OCI_API OCI_FileGetConnection
11360 (
11361  OCI_File *file
11362 );
11363 
11416 OCI_EXPORT OCI_Long * OCI_API OCI_LongCreate
11417 (
11418  OCI_Statement *stmt,
11419  unsigned int type
11420 );
11421 
11436 OCI_EXPORT boolean OCI_API OCI_LongFree
11437 (
11438  OCI_Long *lg
11439 );
11440 
11455 OCI_EXPORT unsigned int OCI_API OCI_LongGetType
11456 (
11457  OCI_Long *lg
11458 );
11459 
11485 OCI_EXPORT unsigned int OCI_API OCI_LongRead
11486 (
11487  OCI_Long *lg,
11488  void *buffer,
11489  unsigned int len
11490 );
11491 
11506 OCI_EXPORT unsigned int OCI_API OCI_LongWrite
11507 (
11508  OCI_Long *lg,
11509  void *buffer,
11510  unsigned int len
11511 );
11512 
11521 OCI_EXPORT unsigned int OCI_API OCI_LongGetSize
11522 (
11523  OCI_Long *lg
11524 );
11525 
11534 OCI_EXPORT void * OCI_API OCI_LongGetBuffer
11535 (
11536  OCI_Long *lg
11537 );
11538 
11572 OCI_EXPORT OCI_Number * OCI_API OCI_NumberCreate
11573 (
11574  OCI_Connection *con
11575 );
11576 
11591 OCI_EXPORT boolean OCI_API OCI_NumberFree
11592 (
11593  OCI_Number *number
11594 );
11595 
11611 OCI_EXPORT OCI_Number ** OCI_API OCI_NumberArrayCreate
11612 (
11613  OCI_Connection *con,
11614  unsigned int nbelem
11615 );
11616 
11631 OCI_EXPORT boolean OCI_API OCI_NumberArrayFree
11632 (
11633  OCI_Number **numbers
11634 );
11635 
11648 OCI_EXPORT int OCI_API OCI_NumberAssign
11649 (
11650  OCI_Number *number,
11651  OCI_Number *number_src
11652 );
11653 
11673 OCI_EXPORT boolean OCI_API OCI_NumberToText
11674 (
11675  OCI_Number *number,
11676  const otext *fmt,
11677  int size,
11678  otext *str
11679 );
11680 
11699 OCI_EXPORT boolean OCI_API OCI_NumberFromText
11700 (
11701  OCI_Number *number,
11702  const otext *str,
11703  const otext *fmt
11704 );
11705 
11722 OCI_EXPORT unsigned char * OCI_API OCI_NumberGetContent
11723 (
11724  OCI_Number *number
11725 );
11726 
11742 OCI_EXPORT boolean OCI_API OCI_NumberSetContent
11743 (
11744  OCI_Number *number,
11745  unsigned char *content
11746 );
11747 
11774 OCI_EXPORT boolean OCI_API OCI_NumberSetValue
11775 (
11776  OCI_Number *number,
11777  unsigned int type,
11778  void *value
11779 );
11780 
11797 OCI_EXPORT boolean OCI_API OCI_NumberGetValue
11798 (
11799  OCI_Number *number,
11800  unsigned int type,
11801  void *value
11802 );
11803 
11820 OCI_EXPORT boolean OCI_API OCI_NumberAdd
11821 (
11822  OCI_Number *number,
11823  unsigned int type,
11824  void *value
11825 );
11826 
11843 OCI_EXPORT boolean OCI_API OCI_NumberSub
11844 (
11845  OCI_Number *number,
11846  unsigned int type,
11847  void *value
11848 );
11849 
11866 OCI_EXPORT boolean OCI_API OCI_NumberMultiply
11867 (
11868  OCI_Number *number,
11869  unsigned int type,
11870  void *value
11871 );
11872 
11889 OCI_EXPORT boolean OCI_API OCI_NumberDivide
11890 (
11891  OCI_Number *number,
11892  unsigned int type,
11893  void *value
11894 );
11895 
11910 OCI_EXPORT int OCI_API OCI_NumberCompare
11911 (
11912  OCI_Number *number1,
11913  OCI_Number *number2
11914 );
11915 
11952 OCI_EXPORT OCI_Date * OCI_API OCI_DateCreate
11953 (
11954  OCI_Connection *con
11955 );
11956 
11971 OCI_EXPORT boolean OCI_API OCI_DateFree
11972 (
11973  OCI_Date *date
11974 );
11975 
11991 OCI_EXPORT OCI_Date ** OCI_API OCI_DateArrayCreate
11992 (
11993  OCI_Connection *con,
11994  unsigned int nbelem
11995 );
11996 
12011 OCI_EXPORT boolean OCI_API OCI_DateArrayFree
12012 (
12013  OCI_Date **dates
12014 );
12015 
12028 OCI_EXPORT boolean OCI_API OCI_DateAddDays
12029 (
12030  OCI_Date *date,
12031  int nb
12032 );
12033 
12046 OCI_EXPORT boolean OCI_API OCI_DateAddMonths
12047 (
12048  OCI_Date *date,
12049  int nb
12050 );
12051 
12064 OCI_EXPORT int OCI_API OCI_DateAssign
12065 (
12066  OCI_Date *date,
12067  OCI_Date *date_src
12068 );
12069 
12082 OCI_EXPORT int OCI_API OCI_DateCheck
12083 (
12084  OCI_Date *date
12085 );
12086 
12101 OCI_EXPORT int OCI_API OCI_DateCompare
12102 (
12103  OCI_Date *date,
12104  OCI_Date *date2
12105 );
12106 
12121 OCI_EXPORT int OCI_API OCI_DateDaysBetween
12122 (
12123  OCI_Date *date,
12124  OCI_Date *date2
12125 );
12126 
12140 OCI_EXPORT boolean OCI_API OCI_DateFromText
12141 (
12142  OCI_Date *date,
12143  const otext *str,
12144  const otext *fmt
12145 );
12146 
12161 OCI_EXPORT boolean OCI_API OCI_DateToText
12162 (
12163  OCI_Date *date,
12164  const otext *fmt,
12165  int size,
12166  otext *str
12167 );
12168 
12183 OCI_EXPORT boolean OCI_API OCI_DateGetDate
12184 (
12185  OCI_Date *date,
12186  int *year,
12187  int *month,
12188  int *day
12189 );
12190 
12205 OCI_EXPORT boolean OCI_API OCI_DateGetTime
12206 (
12207  OCI_Date *date,
12208  int *hour,
12209  int *min,
12210  int *sec
12211 );
12212 
12230 OCI_EXPORT boolean OCI_API OCI_DateGetDateTime
12231 (
12232  OCI_Date *date,
12233  int *year,
12234  int *month,
12235  int *day,
12236  int *hour,
12237  int *min,
12238  int *sec
12239 );
12240 
12255 OCI_EXPORT boolean OCI_API OCI_DateSetDate
12256 (
12257  OCI_Date *date,
12258  int year,
12259  int month,
12260  int day
12261 );
12262 
12277 OCI_EXPORT boolean OCI_API OCI_DateSetTime
12278 (
12279  OCI_Date *date,
12280  int hour,
12281  int min,
12282  int sec
12283 );
12284 
12302 OCI_EXPORT boolean OCI_API OCI_DateSetDateTime
12303 (
12304  OCI_Date *date,
12305  int year,
12306  int month,
12307  int day,
12308  int hour,
12309  int min,
12310  int sec
12311 );
12312 
12324 OCI_EXPORT boolean OCI_API OCI_DateLastDay
12325 (
12326  OCI_Date *date
12327 );
12328 
12341 OCI_EXPORT boolean OCI_API OCI_DateNextDay
12342 (
12343  OCI_Date *date,
12344  const otext *day
12345 );
12346 
12358 OCI_EXPORT boolean OCI_API OCI_DateSysDate
12359 (
12360  OCI_Date *date
12361 );
12362 
12376 OCI_EXPORT boolean OCI_API OCI_DateZoneToZone
12377 (
12378  OCI_Date *date,
12379  const otext *zone1,
12380  const otext *zone2
12381 );
12382 
12399 OCI_EXPORT boolean OCI_API OCI_DateToCTime
12400 (
12401  OCI_Date *date,
12402  struct tm *ptm,
12403  time_t *pt
12404 );
12405 
12424 OCI_EXPORT boolean OCI_API OCI_DateFromCTime
12425 (
12426  OCI_Date *date,
12427  struct tm *ptm,
12428  time_t t
12429 );
12430 
12475 OCI_EXPORT OCI_Timestamp * OCI_API OCI_TimestampCreate
12476 (
12477  OCI_Connection *con,
12478  unsigned int type
12479 );
12480 
12495 OCI_EXPORT boolean OCI_API OCI_TimestampFree
12496 (
12497  OCI_Timestamp *tmsp
12498 );
12499 
12516 OCI_EXPORT OCI_Timestamp ** OCI_API OCI_TimestampArrayCreate
12517 (
12518  OCI_Connection *con,
12519  unsigned int type,
12520  unsigned int nbelem
12521 );
12522 
12538 OCI_EXPORT boolean OCI_API OCI_TimestampArrayFree
12539 (
12540  OCI_Timestamp **tmsps
12541 );
12542 
12557 OCI_EXPORT unsigned int OCI_API OCI_TimestampGetType
12558 (
12559  OCI_Timestamp *tmsp
12560 );
12561 
12577 OCI_EXPORT boolean OCI_API OCI_TimestampAssign
12578 (
12579  OCI_Timestamp *tmsp,
12580  OCI_Timestamp *tmsp_src
12581 );
12582 
12595 OCI_EXPORT int OCI_API OCI_TimestampCheck
12596 (
12597  OCI_Timestamp *tmsp
12598 );
12599 
12614 OCI_EXPORT int OCI_API OCI_TimestampCompare
12615 (
12616  OCI_Timestamp *tmsp,
12617  OCI_Timestamp *tmsp2
12618 );
12619 
12639 OCI_EXPORT boolean OCI_API OCI_TimestampConstruct
12640 (
12641  OCI_Timestamp *tmsp,
12642  int year,
12643  int month,
12644  int day,
12645  int hour,
12646  int min,
12647  int sec,
12648  int fsec,
12649  const otext *time_zone
12650 );
12651 
12664 OCI_EXPORT boolean OCI_API OCI_TimestampConvert
12665 (
12666  OCI_Timestamp *tmsp,
12667  OCI_Timestamp *tmsp_src
12668 );
12669 
12683 OCI_EXPORT boolean OCI_API OCI_TimestampFromText
12684 (
12685  OCI_Timestamp *tmsp,
12686  const otext *str,
12687  const otext *fmt
12688 );
12689 
12705 OCI_EXPORT boolean OCI_API OCI_TimestampToText
12706 (
12707  OCI_Timestamp *tmsp,
12708  const otext *fmt,
12709  int size,
12710  otext *str,
12711  int precision
12712 );
12713 
12728 OCI_EXPORT boolean OCI_API OCI_TimestampGetDate
12729 (
12730  OCI_Timestamp *tmsp,
12731  int *year,
12732  int *month,
12733  int *day
12734 );
12735 
12751 OCI_EXPORT boolean OCI_API OCI_TimestampGetTime
12752 (
12753  OCI_Timestamp *tmsp,
12754  int *hour,
12755  int *min,
12756  int *sec,
12757  int *fsec
12758 );
12759 
12778 OCI_EXPORT boolean OCI_API OCI_TimestampGetDateTime
12779 (
12780  OCI_Timestamp *tmsp,
12781  int *year,
12782  int *month,
12783  int *day,
12784  int *hour,
12785  int *min,
12786  int *sec,
12787  int *fsec
12788 );
12789 
12803 OCI_EXPORT boolean OCI_API OCI_TimestampGetTimeZoneName
12804 (
12805  OCI_Timestamp *tmsp,
12806  int size,
12807  otext *str
12808 );
12809 
12823 OCI_EXPORT boolean OCI_API OCI_TimestampGetTimeZoneOffset
12824 (
12825  OCI_Timestamp *tmsp,
12826  int *hour,
12827  int *min
12828 );
12829 
12842 OCI_EXPORT boolean OCI_API OCI_TimestampIntervalAdd
12843 (
12844  OCI_Timestamp *tmsp,
12845  OCI_Interval *itv
12846 );
12847 
12860 OCI_EXPORT boolean OCI_API OCI_TimestampIntervalSub
12861 (
12862  OCI_Timestamp *tmsp,
12863  OCI_Interval *itv
12864 );
12865 
12882 OCI_EXPORT boolean OCI_API OCI_TimestampSubtract
12883 (
12884  OCI_Timestamp *tmsp,
12885  OCI_Timestamp *tmsp2,
12886  OCI_Interval *itv
12887 );
12888 
12901 OCI_EXPORT boolean OCI_API OCI_TimestampSysTimestamp
12902 (
12903  OCI_Timestamp *tmsp
12904 );
12905 
12922 OCI_EXPORT boolean OCI_API OCI_TimestampToCTime
12923 (
12924  OCI_Timestamp *tmsp,
12925  struct tm *ptm,
12926  time_t *pt
12927 );
12928 
12947 OCI_EXPORT boolean OCI_API OCI_TimestampFromCTime
12948 (
12949  OCI_Timestamp *tmsp,
12950  struct tm *ptm,
12951  time_t t
12952 );
12953 
12975 OCI_EXPORT OCI_Interval * OCI_API OCI_IntervalCreate
12976 (
12977  OCI_Connection *con,
12978  unsigned int type
12979 );
12980 
12996 OCI_EXPORT boolean OCI_API OCI_IntervalFree
12997 (
12998  OCI_Interval *itv
12999 );
13000 
13017 OCI_EXPORT OCI_Interval ** OCI_API OCI_IntervalArrayCreate
13018 (
13019  OCI_Connection *con,
13020  unsigned int type,
13021  unsigned int nbelem
13022 );
13023 
13039 OCI_EXPORT boolean OCI_API OCI_IntervalArrayFree
13040 (
13041  OCI_Interval **itvs
13042 );
13043 
13058 OCI_EXPORT unsigned int OCI_API OCI_IntervalGetType
13059 (
13060  OCI_Interval *itv
13061 );
13062 
13075 OCI_EXPORT boolean OCI_API OCI_IntervalAssign
13076 (
13077  OCI_Interval *itv,
13078  OCI_Interval *itv_src
13079 );
13080 
13093 OCI_EXPORT int OCI_API OCI_IntervalCheck
13094 (
13095  OCI_Interval *itv
13096 );
13097 
13112 OCI_EXPORT int OCI_API OCI_IntervalCompare
13113 (
13114  OCI_Interval *itv,
13115  OCI_Interval *itv2
13116 );
13117 
13130 OCI_EXPORT boolean OCI_API OCI_IntervalFromText
13131 (
13132  OCI_Interval *itv,
13133  const otext *str
13134 );
13135 
13151 OCI_EXPORT boolean OCI_API OCI_IntervalToText
13152 (
13153  OCI_Interval *itv,
13154  int leading_prec,
13155  int fraction_prec,
13156  int size,
13157  otext *str
13158 );
13159 
13172 OCI_EXPORT boolean OCI_API OCI_IntervalFromTimeZone
13173 (
13174  OCI_Interval *itv,
13175  const otext *str
13176 );
13177 
13194 OCI_EXPORT boolean OCI_API OCI_IntervalGetDaySecond
13195 (
13196  OCI_Interval *itv,
13197  int *day,
13198  int *hour,
13199  int *min,
13200  int *sec,
13201  int *fsec
13202 );
13203 
13217 OCI_EXPORT boolean OCI_API OCI_IntervalGetYearMonth
13218 (
13219  OCI_Interval *itv,
13220  int *year,
13221  int *month
13222 );
13223 
13240 OCI_EXPORT boolean OCI_API OCI_IntervalSetDaySecond
13241 (
13242  OCI_Interval *itv,
13243  int day,
13244  int hour,
13245  int min,
13246  int sec,
13247  int fsec
13248 );
13249 
13263 OCI_EXPORT boolean OCI_API OCI_IntervalSetYearMonth
13264 (
13265  OCI_Interval *itv,
13266  int year,
13267  int month
13268 );
13269 
13282 OCI_EXPORT boolean OCI_API OCI_IntervalAdd
13283 (
13284  OCI_Interval *itv,
13285  OCI_Interval *itv2
13286 );
13287 
13300 OCI_EXPORT boolean OCI_API OCI_IntervalSubtract
13301 (
13302  OCI_Interval *itv,
13303  OCI_Interval *itv2
13304 );
13305 
13365 OCI_EXPORT OCI_Object * OCI_API OCI_ObjectCreate
13366 (
13367  OCI_Connection *con,
13368  OCI_TypeInfo *typinf
13369 );
13370 
13386 OCI_EXPORT boolean OCI_API OCI_ObjectFree
13387 (
13388  OCI_Object *obj
13389 );
13390 
13407 OCI_EXPORT OCI_Object ** OCI_API OCI_ObjectArrayCreate
13408 (
13409  OCI_Connection *con,
13410  OCI_TypeInfo *typinf,
13411  unsigned int nbelem
13412 );
13413 
13429 OCI_EXPORT boolean OCI_API OCI_ObjectArrayFree
13430 (
13431  OCI_Object **objs
13432 );
13433 
13452 OCI_EXPORT boolean OCI_API OCI_ObjectAssign
13453 (
13454  OCI_Object *obj,
13455  OCI_Object *obj_src
13456 );
13457 
13476 OCI_EXPORT unsigned int OCI_API OCI_ObjectGetType
13477 (
13478  OCI_Object *obj
13479 );
13480 
13498 OCI_EXPORT boolean OCI_API OCI_ObjectGetSelfRef
13499 (
13500  OCI_Object *obj,
13501  OCI_Ref *ref
13502 );
13503 
13512 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_ObjectGetTypeInfo
13513 (
13514  OCI_Object *obj
13515 );
13516 
13537 OCI_EXPORT boolean OCI_API OCI_ObjectGetBoolean
13538 (
13539  OCI_Object *obj,
13540  const otext *attr
13541 );
13542 
13560 OCI_EXPORT OCI_Number* OCI_API OCI_ObjectGetNumber
13561 (
13562  OCI_Object *obj,
13563  const otext *attr
13564 );
13565 
13583 OCI_EXPORT short OCI_API OCI_ObjectGetShort
13584 (
13585  OCI_Object *obj,
13586  const otext *attr
13587 );
13588 
13606 OCI_EXPORT unsigned short OCI_API OCI_ObjectGetUnsignedShort
13607 (
13608  OCI_Object *obj,
13609  const otext *attr
13610 );
13611 
13629 OCI_EXPORT int OCI_API OCI_ObjectGetInt
13630 (
13631  OCI_Object *obj,
13632  const otext *attr
13633 );
13634 
13652 OCI_EXPORT unsigned int OCI_API OCI_ObjectGetUnsignedInt
13653 (
13654  OCI_Object *obj,
13655  const otext *attr
13656 );
13657 
13675 OCI_EXPORT big_int OCI_API OCI_ObjectGetBigInt
13676 (
13677  OCI_Object *obj,
13678  const otext *attr
13679 );
13680 
13698 OCI_EXPORT big_uint OCI_API OCI_ObjectGetUnsignedBigInt
13699 (
13700  OCI_Object *obj,
13701  const otext *attr
13702 );
13703 
13721 OCI_EXPORT double OCI_API OCI_ObjectGetDouble
13722 (
13723  OCI_Object *obj,
13724  const otext *attr
13725 );
13726 
13744 OCI_EXPORT float OCI_API OCI_ObjectGetFloat
13745 (
13746  OCI_Object *obj,
13747  const otext *attr
13748 );
13749 
13767 OCI_EXPORT const otext * OCI_API OCI_ObjectGetString
13768 (
13769  OCI_Object *obj,
13770  const otext *attr
13771 );
13772 
13793 OCI_EXPORT int OCI_API OCI_ObjectGetRaw
13794 (
13795  OCI_Object *obj,
13796  const otext *attr,
13797  void *value,
13798  unsigned int len
13799 );
13800 
13818 OCI_EXPORT unsigned int OCI_API OCI_ObjectGetRawSize
13819 (
13820  OCI_Object *obj,
13821  const otext *attr
13822 );
13823 
13841 OCI_EXPORT OCI_Date * OCI_API OCI_ObjectGetDate
13842 (
13843  OCI_Object *obj,
13844  const otext *attr
13845 );
13846 
13864 OCI_EXPORT OCI_Timestamp * OCI_API OCI_ObjectGetTimestamp
13865 (
13866  OCI_Object *obj,
13867  const otext *attr
13868 );
13869 
13887 OCI_EXPORT OCI_Interval * OCI_API OCI_ObjectGetInterval
13888 (
13889  OCI_Object *obj,
13890  const otext *attr
13891 );
13892 
13910 OCI_EXPORT OCI_Coll * OCI_API OCI_ObjectGetColl
13911 (
13912  OCI_Object *obj,
13913  const otext *attr
13914 );
13915 
13933 OCI_EXPORT OCI_Ref * OCI_API OCI_ObjectGetRef
13934 (
13935  OCI_Object *obj,
13936  const otext *attr
13937 );
13938 
13956 OCI_EXPORT OCI_Object * OCI_API OCI_ObjectGetObject
13957 (
13958  OCI_Object *obj,
13959  const otext *attr
13960 );
13961 
13979 OCI_EXPORT OCI_Lob * OCI_API OCI_ObjectGetLob
13980 (
13981  OCI_Object *obj,
13982  const otext *attr
13983 );
13984 
14002 OCI_EXPORT OCI_File * OCI_API OCI_ObjectGetFile
14003 (
14004  OCI_Object *obj,
14005  const otext *attr
14006 );
14007 
14024 OCI_EXPORT boolean OCI_API OCI_ObjectSetBoolean
14025 (
14026  OCI_Object *obj,
14027  const otext *attr,
14028  boolean value
14029 );
14030 
14044 OCI_EXPORT boolean OCI_API OCI_ObjectSetNumber
14045 (
14046  OCI_Object *obj,
14047  const otext *attr,
14048  OCI_Number *value
14049 );
14050 
14064 OCI_EXPORT boolean OCI_API OCI_ObjectSetShort
14065 (
14066  OCI_Object *obj,
14067  const otext *attr,
14068  short value
14069 );
14070 
14084 OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedShort
14085 (
14086  OCI_Object *obj,
14087  const otext *attr,
14088  unsigned short value
14089 );
14090 
14104 OCI_EXPORT boolean OCI_API OCI_ObjectSetInt
14105 (
14106  OCI_Object *obj,
14107  const otext *attr,
14108  int value
14109 );
14110 
14124 OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedInt
14125 (
14126  OCI_Object *obj,
14127  const otext *attr,
14128  unsigned int value
14129 );
14130 
14144 OCI_EXPORT boolean OCI_API OCI_ObjectSetBigInt
14145 (
14146  OCI_Object *obj,
14147  const otext *attr,
14148  big_int value
14149 );
14150 
14164 OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedBigInt
14165 (
14166  OCI_Object *obj,
14167  const otext *attr,
14168  big_uint value
14169 );
14170 
14184 OCI_EXPORT boolean OCI_API OCI_ObjectSetDouble
14185 (
14186  OCI_Object *obj,
14187  const otext *attr,
14188  double value
14189 );
14190 
14204 OCI_EXPORT boolean OCI_API OCI_ObjectSetFloat
14205 (
14206  OCI_Object *obj,
14207  const otext *attr,
14208  float value
14209 );
14210 
14227 OCI_EXPORT boolean OCI_API OCI_ObjectSetString
14228 (
14229  OCI_Object *obj,
14230  const otext *attr,
14231  const otext *value
14232 );
14233 
14251 OCI_EXPORT boolean OCI_API OCI_ObjectSetRaw
14252 (
14253  OCI_Object *obj,
14254  const otext *attr,
14255  void *value,
14256  unsigned int len
14257 );
14258 
14275 OCI_EXPORT boolean OCI_API OCI_ObjectSetDate
14276 (
14277  OCI_Object *obj,
14278  const otext *attr,
14279  OCI_Date *value
14280 );
14281 
14298 OCI_EXPORT boolean OCI_API OCI_ObjectSetTimestamp
14299 (
14300  OCI_Object *obj,
14301  const otext *attr,
14302  OCI_Timestamp *value
14303 );
14304 
14321 OCI_EXPORT boolean OCI_API OCI_ObjectSetInterval
14322 (
14323  OCI_Object *obj,
14324  const otext *attr,
14325  OCI_Interval *value
14326 );
14327 
14344 OCI_EXPORT boolean OCI_API OCI_ObjectSetColl
14345 (
14346  OCI_Object *obj,
14347  const otext *attr,
14348  OCI_Coll *value
14349 );
14350 
14372 OCI_EXPORT boolean OCI_API OCI_ObjectSetObject
14373 (
14374  OCI_Object *obj,
14375  const otext *attr,
14376  OCI_Object *value
14377 );
14378 
14395 OCI_EXPORT boolean OCI_API OCI_ObjectSetLob
14396 (
14397  OCI_Object *obj,
14398  const otext *attr,
14399  OCI_Lob *value
14400 );
14401 
14418 OCI_EXPORT boolean OCI_API OCI_ObjectSetFile
14419 (
14420  OCI_Object *obj,
14421  const otext *attr,
14422  OCI_File *value
14423 );
14424 
14441 OCI_EXPORT boolean OCI_API OCI_ObjectSetRef
14442 (
14443  OCI_Object *obj,
14444  const otext *attr,
14445  OCI_Ref *value
14446 );
14447 
14460 OCI_EXPORT boolean OCI_API OCI_ObjectIsNull
14461 (
14462  OCI_Object *obj,
14463  const otext *attr
14464 );
14465 
14478 OCI_EXPORT boolean OCI_API OCI_ObjectSetNull
14479 (
14480  OCI_Object *obj,
14481  const otext *attr
14482 );
14483 
14503 OCI_EXPORT boolean OCI_API OCI_ObjectGetStruct
14504 (
14505  OCI_Object *obj,
14506  void **pp_struct,
14507  void **pp_ind
14508 );
14509 
14535 OCI_EXPORT boolean OCI_API OCI_ObjectToText
14536 (
14537  OCI_Object *obj,
14538  unsigned int *size,
14539  otext *str
14540 );
14541 
14554 OCI_EXPORT OCI_Ref * OCI_API OCI_RefCreate
14555 (
14556  OCI_Connection *con,
14557  OCI_TypeInfo *typinf
14558 );
14559 
14575 OCI_EXPORT boolean OCI_API OCI_RefFree
14576 (
14577  OCI_Ref *ref
14578 );
14579 
14596 OCI_EXPORT OCI_Ref ** OCI_API OCI_RefArrayCreate
14597 (
14598  OCI_Connection *con,
14599  OCI_TypeInfo *typinf,
14600  unsigned int nbelem
14601 );
14602 
14618 OCI_EXPORT boolean OCI_API OCI_RefArrayFree
14619 (
14620  OCI_Ref **refs
14621 );
14622 
14638 OCI_EXPORT boolean OCI_API OCI_RefAssign
14639 (
14640  OCI_Ref *ref,
14641  OCI_Ref *ref_src
14642 );
14643 
14652 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_RefGetTypeInfo
14653 (
14654  OCI_Ref *ref
14655 );
14656 
14668 OCI_EXPORT OCI_Object * OCI_API OCI_RefGetObject
14669 (
14670  OCI_Ref *ref
14671 );
14672 
14684 OCI_EXPORT boolean OCI_API OCI_RefIsNull
14685 (
14686  OCI_Ref *ref
14687 );
14688 
14702 OCI_EXPORT boolean OCI_API OCI_RefSetNull
14703 (
14704  OCI_Ref *ref
14705 );
14706 
14719 OCI_EXPORT unsigned int OCI_API OCI_RefGetHexSize
14720 (
14721  OCI_Ref *ref
14722 );
14723 
14737 OCI_EXPORT boolean OCI_API OCI_RefToText
14738 (
14739  OCI_Ref *ref,
14740  unsigned int size,
14741  otext *str
14742 );
14743 
14789 OCI_EXPORT boolean OCI_API OCI_Break
14790 (
14791  OCI_Connection *con
14792 );
14793 
14831 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_TypeInfoGet
14832 (
14833  OCI_Connection *con,
14834  const otext *name,
14835  unsigned int type
14836 );
14837 
14857 OCI_EXPORT unsigned int OCI_API OCI_TypeInfoGetType
14858 (
14859  OCI_TypeInfo *typinf
14860 );
14861 
14870 OCI_EXPORT OCI_Connection * OCI_API OCI_TypeInfoGetConnection
14871 (
14872  OCI_TypeInfo *typinf
14873 );
14874 
14891 OCI_EXPORT boolean OCI_API OCI_TypeInfoFree
14892 (
14893  OCI_TypeInfo *typinf
14894 );
14895 
14904 OCI_EXPORT unsigned int OCI_API OCI_TypeInfoGetColumnCount
14905 (
14906  OCI_TypeInfo *typinf
14907 );
14908 
14922 OCI_EXPORT OCI_Column * OCI_API OCI_TypeInfoGetColumn
14923 (
14924  OCI_TypeInfo *typinf,
14925  unsigned int index
14926 );
14927 
14936 OCI_EXPORT const otext * OCI_API OCI_TypeInfoGetName
14937 (
14938  OCI_TypeInfo *typinf
14939 );
14940 
14959 OCI_EXPORT boolean OCI_API OCI_TypeInfoIsFinalType
14960 (
14961  OCI_TypeInfo *typinf
14962 );
14963 
14982 OCI_EXPORT OCI_TypeInfo* OCI_API OCI_TypeInfoGetSuperType
14983 (
14984  OCI_TypeInfo *typinf
14985 );
14986 
15086 OCI_EXPORT boolean OCI_Immediate
15087 (
15088  OCI_Connection *con,
15089  const otext *sql,
15090  ...
15091 );
15092 
15106 OCI_EXPORT boolean OCI_ImmediateFmt
15107 (
15108  OCI_Connection *con,
15109  const otext *sql,
15110  ...
15111 );
15112 
15125 OCI_EXPORT boolean OCI_PrepareFmt
15126 (
15127  OCI_Statement *stmt,
15128  const otext *sql,
15129  ...
15130 );
15131 
15153 OCI_EXPORT boolean OCI_ExecuteStmtFmt
15154 (
15155  OCI_Statement *stmt,
15156  const otext *sql,
15157  ...
15158 );
15159 
15189 OCI_EXPORT boolean OCI_ParseFmt
15190 (
15191  OCI_Statement *stmt,
15192  const otext *sql,
15193  ...
15194 );
15195 
15228 OCI_EXPORT boolean OCI_DescribeFmt
15229 (
15230  OCI_Statement *stmt,
15231  const otext *sql,
15232  ...
15233 );
15234 
15296 OCI_EXPORT OCI_HashTable * OCI_API OCI_HashCreate
15297 (
15298  unsigned int size,
15299  unsigned int type
15300 );
15301 
15313 OCI_EXPORT boolean OCI_API OCI_HashFree
15314 (
15315  OCI_HashTable *table
15316 );
15317 
15326 OCI_EXPORT unsigned int OCI_API OCI_HashGetSize
15327 (
15328  OCI_HashTable *table
15329 );
15330 
15349 OCI_EXPORT unsigned int OCI_API OCI_HashGetType
15350 (
15351  OCI_HashTable *table
15352 );
15353 
15367 OCI_EXPORT boolean OCI_API OCI_HashAddString
15368 (
15369  OCI_HashTable *table,
15370  const otext *key,
15371  const otext *value
15372 );
15373 
15386 OCI_EXPORT const otext * OCI_API OCI_HashGetString
15387 (
15388  OCI_HashTable *table,
15389  const otext *key
15390 );
15391 
15405 OCI_EXPORT boolean OCI_API OCI_HashAddInt
15406 (
15407  OCI_HashTable *table,
15408  const otext *key,
15409  int value
15410 );
15411 
15424 OCI_EXPORT int OCI_API OCI_HashGetInt
15425 (
15426  OCI_HashTable *table,
15427  const otext *key
15428 );
15429 
15443 OCI_EXPORT boolean OCI_API OCI_HashAddPointer
15444 (
15445  OCI_HashTable *table,
15446  const otext *key,
15447  void *value
15448 );
15449 
15462 OCI_EXPORT void * OCI_API OCI_HashGetPointer
15463 (
15464  OCI_HashTable *table,
15465  const otext *key
15466 );
15467 
15481 OCI_EXPORT OCI_HashEntry * OCI_API OCI_HashLookup
15482 (
15483  OCI_HashTable *table,
15484  const otext *key,
15485  boolean create
15486 );
15487 
15500 OCI_EXPORT OCI_HashValue * OCI_API OCI_HashGetValue
15501 (
15502  OCI_HashTable *table,
15503  const otext *key
15504 );
15505 
15521 OCI_EXPORT OCI_HashEntry * OCI_API OCI_HashGetEntry
15522 (
15523  OCI_HashTable *table,
15524  unsigned int index
15525 );
15526 
15577 OCI_EXPORT OCI_Mutex * OCI_API OCI_MutexCreate
15578 (
15579  void
15580 );
15581 
15593 OCI_EXPORT boolean OCI_API OCI_MutexFree
15594 (
15595  OCI_Mutex *mutex
15596 );
15597 
15609 OCI_EXPORT boolean OCI_API OCI_MutexAcquire
15610 (
15611  OCI_Mutex *mutex
15612 );
15613 
15625 OCI_EXPORT boolean OCI_API OCI_MutexRelease
15626 (
15627  OCI_Mutex *mutex
15628 );
15629 
15639 OCI_EXPORT OCI_Thread * OCI_API OCI_ThreadCreate
15640 (
15641  void
15642 );
15643 
15655 OCI_EXPORT boolean OCI_API OCI_ThreadFree
15656 (
15657  OCI_Thread *thread
15658 );
15659 
15673 OCI_EXPORT boolean OCI_API OCI_ThreadRun
15674 (
15675  OCI_Thread *thread,
15676  POCI_THREAD proc,
15677  void *arg
15678 );
15679 
15694 OCI_EXPORT boolean OCI_API OCI_ThreadJoin
15695 (
15696  OCI_Thread *thread
15697 );
15698 
15715 OCI_EXPORT boolean OCI_API OCI_ThreadKeyCreate
15716 (
15717  const otext *name,
15718  POCI_THREADKEYDEST destfunc
15719 );
15720 
15733 OCI_EXPORT boolean OCI_API OCI_ThreadKeySetValue
15734 (
15735  const otext *name,
15736  void *value
15737 );
15738 
15750 OCI_EXPORT void * OCI_API OCI_ThreadKeyGetValue
15751 (
15752  const otext *name
15753 );
15754 
15849 OCI_EXPORT OCI_DirPath * OCI_API OCI_DirPathCreate
15850 (
15851  OCI_TypeInfo *typinf,
15852  const otext *partition,
15853  unsigned int nb_cols,
15854  unsigned int nb_rows
15855 );
15856 
15867 OCI_EXPORT boolean OCI_API OCI_DirPathFree
15868 (
15869  OCI_DirPath *dp
15870 );
15871 
15893 OCI_EXPORT boolean OCI_API OCI_DirPathSetColumn
15894 (
15895  OCI_DirPath *dp,
15896  unsigned int index,
15897  const otext *name,
15898  unsigned int maxsize,
15899  const otext *format
15900 );
15901 
15914 OCI_EXPORT boolean OCI_API OCI_DirPathPrepare
15915 (
15916  OCI_DirPath *dp
15917 );
15918 
15959 OCI_EXPORT boolean OCI_API OCI_DirPathSetEntry
15960 (
15961  OCI_DirPath *dp,
15962  unsigned int row,
15963  unsigned int index,
15964  void *value,
15965  unsigned size,
15966  boolean complete
15967 );
15968 
15999 OCI_EXPORT unsigned int OCI_API OCI_DirPathConvert
16000 (
16001  OCI_DirPath *dp
16002 );
16003 
16026 OCI_EXPORT unsigned int OCI_API OCI_DirPathLoad
16027 (
16028  OCI_DirPath *dp
16029 );
16030 
16047 OCI_EXPORT boolean OCI_API OCI_DirPathReset
16048 (
16049  OCI_DirPath *dp
16050 );
16051 
16071 OCI_EXPORT boolean OCI_API OCI_DirPathFinish
16072 (
16073  OCI_DirPath *dp
16074 );
16075 
16095 OCI_EXPORT boolean OCI_API OCI_DirPathAbort
16096 (
16097  OCI_DirPath *dp
16098 );
16099 
16114 OCI_EXPORT boolean OCI_API OCI_DirPathSave
16115 (
16116  OCI_DirPath *dp
16117 );
16118 
16130 OCI_EXPORT boolean OCI_API OCI_DirPathFlushRow
16131 (
16132  OCI_DirPath *dp
16133 );
16134 
16151 OCI_EXPORT boolean OCI_API OCI_DirPathSetCurrentRows
16152 (
16153  OCI_DirPath *dp,
16154  unsigned int nb_rows
16155 );
16156 
16169 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetCurrentRows
16170 (
16171  OCI_DirPath *dp
16172 );
16173 
16186 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetMaxRows
16187 (
16188  OCI_DirPath *dp
16189 );
16190 
16209 OCI_EXPORT boolean OCI_API OCI_DirPathSetDateFormat
16210 (
16211  OCI_DirPath *dp,
16212  const otext *format
16213 );
16214 
16246 OCI_EXPORT boolean OCI_API OCI_DirPathSetParallel
16247 (
16248  OCI_DirPath *dp,
16249  boolean value
16250 );
16251 
16271 OCI_EXPORT boolean OCI_API OCI_DirPathSetNoLog
16272 (
16273  OCI_DirPath *dp,
16274  boolean value
16275 );
16276 
16296 OCI_EXPORT boolean OCI_API OCI_DirPathSetCacheSize
16297 (
16298  OCI_DirPath *dp,
16299  unsigned int size
16300 );
16301 
16317 OCI_EXPORT boolean OCI_API OCI_DirPathSetBufferSize
16318 (
16319  OCI_DirPath *dp,
16320  unsigned int size
16321 );
16322 
16346 OCI_EXPORT boolean OCI_API OCI_DirPathSetConvertMode
16347 (
16348  OCI_DirPath *dp,
16349  unsigned int mode
16350 );
16351 
16363 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetRowCount
16364 (
16365  OCI_DirPath *dp
16366 );
16367 
16383 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetAffectedRows
16384 (
16385  OCI_DirPath *dp
16386 );
16387 
16417 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetErrorColumn
16418 (
16419  OCI_DirPath *dp
16420 );
16421 
16459 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetErrorRow
16460 (
16461  OCI_DirPath *dp
16462 );
16463 
16560 OCI_EXPORT OCI_Msg * OCI_API OCI_MsgCreate
16561 (
16562  OCI_TypeInfo *typinf
16563 );
16564 
16579 OCI_EXPORT boolean OCI_API OCI_MsgFree
16580 (
16581  OCI_Msg *msg
16582 );
16583 
16603 OCI_EXPORT boolean OCI_API OCI_MsgReset
16604 (
16605  OCI_Msg *msg
16606 );
16607 
16619 OCI_EXPORT OCI_Object * OCI_API OCI_MsgGetObject
16620 (
16621  OCI_Msg *msg
16622 );
16623 
16636 OCI_EXPORT boolean OCI_API OCI_MsgSetObject
16637 (
16638  OCI_Msg *msg,
16639  OCI_Object *obj
16640 );
16641 
16658 OCI_EXPORT boolean OCI_API OCI_MsgGetRaw
16659 (
16660  OCI_Msg *msg,
16661  void *raw,
16662  unsigned int *size
16663 );
16664 
16678 OCI_EXPORT boolean OCI_API OCI_MsgSetRaw
16679 (
16680  OCI_Msg *msg,
16681  const void *raw,
16682  unsigned int size
16683 );
16684 
16693 OCI_EXPORT int OCI_API OCI_MsgGetAttemptCount
16694 (
16695  OCI_Msg *msg
16696 );
16697 
16709 OCI_EXPORT int OCI_API OCI_MsgGetEnqueueDelay
16710 (
16711  OCI_Msg *msg
16712 );
16713 
16741 OCI_EXPORT boolean OCI_API OCI_MsgSetEnqueueDelay
16742 (
16743  OCI_Msg *msg,
16744  int value
16745 );
16746 
16758 OCI_EXPORT OCI_Date * OCI_API OCI_MsgGetEnqueueTime
16759 (
16760  OCI_Msg *msg
16761 );
16762 
16774 OCI_EXPORT int OCI_API OCI_MsgGetExpiration
16775 (
16776  OCI_Msg *msg
16777 );
16778 
16803 OCI_EXPORT boolean OCI_API OCI_MsgSetExpiration
16804 (
16805  OCI_Msg *msg,
16806  int value
16807 );
16808 
16824 OCI_EXPORT unsigned int OCI_API OCI_MsgGetState
16825 (
16826  OCI_Msg *msg
16827 );
16828 
16840 OCI_EXPORT int OCI_API OCI_MsgGetPriority
16841 (
16842  OCI_Msg *msg
16843 );
16844 
16862 OCI_EXPORT boolean OCI_API OCI_MsgSetPriority
16863 (
16864  OCI_Msg *msg,
16865  int value
16866 );
16867 
16889 OCI_EXPORT boolean OCI_API OCI_MsgGetID
16890 (
16891  OCI_Msg *msg,
16892  void *id,
16893  unsigned int *len
16894 );
16895 
16916 OCI_EXPORT boolean OCI_API OCI_MsgGetOriginalID
16917 (
16918  OCI_Msg *msg,
16919  void *id,
16920  unsigned int *len
16921 );
16922 
16940 OCI_EXPORT boolean OCI_API OCI_MsgSetOriginalID
16941 (
16942  OCI_Msg *msg,
16943  const void *id,
16944  unsigned int len
16945 );
16946 
16958 OCI_EXPORT OCI_Agent * OCI_API OCI_MsgGetSender
16959 (
16960  OCI_Msg *msg
16961 );
16962 
16975 OCI_EXPORT boolean OCI_API OCI_MsgSetSender
16976 (
16977  OCI_Msg *msg,
16978  OCI_Agent *sender
16979 );
16980 
16998 OCI_EXPORT boolean OCI_API OCI_MsgSetConsumers
16999 (
17000  OCI_Msg *msg,
17001  OCI_Agent **consumers,
17002  unsigned int count
17003 );
17004 
17016 OCI_EXPORT const otext * OCI_API OCI_MsgGetCorrelation
17017 (
17018  OCI_Msg *msg
17019 );
17020 
17036 OCI_EXPORT boolean OCI_API OCI_MsgSetCorrelation
17037 (
17038  OCI_Msg *msg,
17039  const otext *correlation
17040 );
17041 
17057 OCI_EXPORT const otext * OCI_API OCI_MsgGetExceptionQueue
17058 (
17059  OCI_Msg *msg
17060 );
17061 
17093 OCI_EXPORT boolean OCI_API OCI_MsgSetExceptionQueue
17094 (
17095  OCI_Msg *msg,
17096  const otext *queue
17097 );
17098 
17126 OCI_EXPORT OCI_Enqueue * OCI_API OCI_EnqueueCreate
17127 (
17128  OCI_TypeInfo *typinf,
17129  const otext *name
17130 );
17131 
17143 OCI_EXPORT boolean OCI_API OCI_EnqueueFree
17144 (
17145  OCI_Enqueue *enqueue
17146 );
17147 
17160 OCI_EXPORT boolean OCI_API OCI_EnqueuePut
17161 (
17162  OCI_Enqueue *enqueue,
17163  OCI_Msg *msg
17164 );
17165 
17194 OCI_EXPORT boolean OCI_API OCI_EnqueueSetSequenceDeviation
17195 (
17196  OCI_Enqueue *enqueue,
17197  unsigned int sequence
17198 );
17199 
17211 OCI_EXPORT unsigned int OCI_API OCI_EnqueueGetSequenceDeviation
17212 (
17213  OCI_Enqueue *enqueue
17214 );
17215 
17236 OCI_EXPORT boolean OCI_API OCI_EnqueueSetVisibility
17237 (
17238  OCI_Enqueue *enqueue,
17239  unsigned int visibility
17240 );
17241 
17253 OCI_EXPORT unsigned int OCI_API OCI_EnqueueGetVisibility
17254 (
17255  OCI_Enqueue *enqueue
17256 );
17257 
17281 OCI_EXPORT boolean OCI_API OCI_EnqueueSetRelativeMsgID
17282 (
17283  OCI_Enqueue *enqueue,
17284  const void *id,
17285  unsigned int len
17286 );
17287 
17308 OCI_EXPORT boolean OCI_API OCI_EnqueueGetRelativeMsgID
17309 (
17310  OCI_Enqueue *enqueue,
17311  void *id,
17312  unsigned int *len
17313 );
17314 
17342 OCI_EXPORT OCI_Dequeue * OCI_API OCI_DequeueCreate
17343 (
17344  OCI_TypeInfo *typinf,
17345  const otext *name
17346 );
17347 
17359 OCI_EXPORT boolean OCI_API OCI_DequeueFree
17360 (
17361  OCI_Dequeue *dequeue
17362 );
17363 
17384 OCI_EXPORT OCI_Msg * OCI_API OCI_DequeueGet
17385 (
17386  OCI_Dequeue *dequeue
17387 );
17388 
17410 OCI_EXPORT boolean OCI_API OCI_DequeueSubscribe
17411 (
17412  OCI_Dequeue *dequeue,
17413  unsigned int port,
17414  unsigned int timeout,
17415  POCI_NOTIFY_AQ callback
17416 );
17417 
17429 OCI_EXPORT boolean OCI_API OCI_DequeueUnsubscribe
17430 (
17431  OCI_Dequeue *dequeue
17432 );
17433 
17450 OCI_EXPORT boolean OCI_API OCI_DequeueSetConsumer
17451 (
17452  OCI_Dequeue *dequeue,
17453  const otext *consumer
17454 );
17455 
17467 OCI_EXPORT const otext * OCI_API OCI_DequeueGetConsumer
17468 (
17469  OCI_Dequeue *dequeue
17470 );
17471 
17488 OCI_EXPORT boolean OCI_API OCI_DequeueSetCorrelation
17489 (
17490  OCI_Dequeue *dequeue,
17491  const otext *pattern
17492 );
17493 
17505 OCI_EXPORT const otext * OCI_API OCI_DequeueGetCorrelation
17506 (
17507  OCI_Dequeue *dequeue
17508 );
17509 
17526 OCI_EXPORT boolean OCI_API OCI_DequeueSetRelativeMsgID
17527 (
17528  OCI_Dequeue *dequeue,
17529  const void *id,
17530  unsigned int len
17531 );
17532 
17549 OCI_EXPORT boolean OCI_API OCI_DequeueGetRelativeMsgID
17550 (
17551  OCI_Dequeue *dequeue,
17552  void *id,
17553  unsigned int *len
17554 );
17555 
17580 OCI_EXPORT boolean OCI_API OCI_DequeueSetVisibility
17581 (
17582  OCI_Dequeue *dequeue,
17583  unsigned int visibility
17584 );
17585 
17597 OCI_EXPORT unsigned int OCI_API OCI_DequeueGetVisibility
17598 (
17599  OCI_Dequeue *dequeue
17600 );
17601 
17625 OCI_EXPORT boolean OCI_API OCI_DequeueSetMode
17626 (
17627  OCI_Dequeue *dequeue,
17628  unsigned int mode
17629 );
17630 
17642 OCI_EXPORT unsigned int OCI_API OCI_DequeueGetMode
17643 (
17644  OCI_Dequeue *dequeue
17645 );
17646 
17679 OCI_EXPORT boolean OCI_API OCI_DequeueSetNavigation
17680 (
17681  OCI_Dequeue *dequeue,
17682  unsigned int position
17683 );
17684 
17696 OCI_EXPORT unsigned int OCI_API OCI_DequeueGetNavigation
17697 (
17698  OCI_Dequeue *dequeue
17699 );
17700 
17724 OCI_EXPORT boolean OCI_API OCI_DequeueSetWaitTime
17725 (
17726  OCI_Dequeue *dequeue,
17727  int timeout
17728 );
17729 
17741 OCI_EXPORT int OCI_API OCI_DequeueGetWaitTime
17742 (
17743  OCI_Dequeue *dequeue
17744 );
17745 
17758 OCI_EXPORT boolean OCI_API OCI_DequeueSetAgentList
17759 (
17760  OCI_Dequeue *dequeue,
17761  OCI_Agent **consumers,
17762  unsigned int count
17763 );
17764 
17788 OCI_EXPORT OCI_Agent * OCI_API OCI_DequeueListen
17789 (
17790  OCI_Dequeue *dequeue,
17791  int timeout
17792 );
17793 
17817 OCI_EXPORT OCI_Agent * OCI_API OCI_AgentCreate
17818 (
17819  OCI_Connection *con,
17820  const otext *name,
17821  const otext *address
17822 );
17823 
17838 OCI_EXPORT boolean OCI_API OCI_AgentFree
17839 (
17840  OCI_Agent *agent
17841 );
17842 
17862 OCI_EXPORT boolean OCI_API OCI_AgentSetName
17863 (
17864  OCI_Agent *agent,
17865  const otext *name
17866 );
17867 
17879 OCI_EXPORT const otext * OCI_API OCI_AgentGetName
17880 (
17881  OCI_Agent *agent
17882 );
17883 
17902 OCI_EXPORT boolean OCI_API OCI_AgentSetAddress
17903 (
17904  OCI_Agent *agent,
17905  const otext *address
17906 );
17907 
17922 OCI_EXPORT const otext * OCI_API OCI_AgentGetAddress
17923 (
17924  OCI_Agent *agent
17925 );
17926 
17968 OCI_EXPORT boolean OCI_API OCI_QueueCreate
17969 (
17970  OCI_Connection *con,
17971  const otext *queue_name,
17972  const otext *queue_table,
17973  unsigned int queue_type,
17974  unsigned int max_retries,
17975  unsigned int retry_delay,
17976  unsigned int retention_time,
17977  boolean dependency_tracking,
17978  const otext *comment
17979 );
17980 
18008 OCI_EXPORT boolean OCI_API OCI_QueueAlter
18009 (
18010  OCI_Connection *con,
18011  const otext *queue_name,
18012  unsigned int max_retries,
18013  unsigned int retry_delay,
18014  unsigned int retention_time,
18015  const otext *comment
18016 );
18017 
18037 OCI_EXPORT boolean OCI_API OCI_QueueDrop
18038 (
18039  OCI_Connection *con,
18040  const otext *queue_name
18041 );
18042 
18064 OCI_EXPORT boolean OCI_API OCI_QueueStart
18065 (
18066  OCI_Connection *con,
18067  const otext *queue_name,
18068  boolean enqueue,
18069  boolean dequeue
18070 );
18071 
18094 OCI_EXPORT boolean OCI_API OCI_QueueStop
18095 (
18096  OCI_Connection *con,
18097  const otext *queue_name,
18098  boolean enqueue,
18099  boolean dequeue,
18100  boolean wait
18101 );
18102 
18156 OCI_EXPORT boolean OCI_API OCI_QueueTableCreate
18157 (
18158  OCI_Connection *con,
18159  const otext *queue_table,
18160  const otext *queue_payload_type,
18161  const otext *storage_clause,
18162  const otext *sort_list,
18163  boolean multiple_consumers,
18164  unsigned int message_grouping,
18165  const otext *comment,
18166  unsigned int primary_instance,
18167  unsigned int secondary_instance,
18168  const otext *compatible
18169 );
18170 
18193 OCI_EXPORT boolean OCI_API OCI_QueueTableAlter
18194 (
18195  OCI_Connection *con,
18196  const otext *queue_table,
18197  const otext *comment,
18198  unsigned int primary_instance,
18199  unsigned int secondary_instance
18200 );
18201 
18226 OCI_EXPORT boolean OCI_API OCI_QueueTableDrop
18227 (
18228  OCI_Connection *con,
18229  const otext *queue_table,
18230  boolean force
18231 );
18232 
18266 OCI_EXPORT boolean OCI_API OCI_QueueTablePurge
18267 (
18268  OCI_Connection *con,
18269  const otext *queue_table,
18270  const otext *purge_condition,
18271  boolean block,
18272  unsigned int delivery_mode
18273 );
18274 
18296 OCI_EXPORT boolean OCI_API OCI_QueueTableMigrate
18297 (
18298  OCI_Connection *con,
18299  const otext *queue_table,
18300  const otext *compatible
18301 );
18302 
18412 OCI_EXPORT OCI_Subscription * OCI_API OCI_SubscriptionRegister
18413 (
18414  OCI_Connection *con,
18415  const otext *name,
18416  unsigned int type,
18417  POCI_NOTIFY handler,
18418  unsigned int port,
18419  unsigned int timeout
18420 );
18421 
18446 OCI_EXPORT boolean OCI_API OCI_SubscriptionUnregister
18447 (
18448  OCI_Subscription *sub
18449 );
18450 
18474 OCI_EXPORT boolean OCI_API OCI_SubscriptionAddStatement
18475 (
18476  OCI_Subscription *sub,
18477  OCI_Statement *stmt
18478 );
18479 
18492 OCI_EXPORT const otext * OCI_API OCI_SubscriptionGetName
18493 (
18494  OCI_Subscription *sub
18495 );
18496 
18509 OCI_EXPORT unsigned int OCI_API OCI_SubscriptionGetPort
18510 (
18511  OCI_Subscription *sub
18512 );
18513 
18526 OCI_EXPORT unsigned int OCI_API OCI_SubscriptionGetTimeout
18527 (
18528  OCI_Subscription *sub
18529 );
18530 
18542 OCI_EXPORT OCI_Connection * OCI_API OCI_SubscriptionGetConnection
18543 (
18544 OCI_Subscription *sub
18545 );
18546 
18576 OCI_EXPORT unsigned int OCI_API OCI_EventGetType
18577 (
18578  OCI_Event *event
18579 );
18580 
18617 OCI_EXPORT unsigned int OCI_API OCI_EventGetOperation
18618 (
18619  OCI_Event *event
18620 );
18621 
18634 OCI_EXPORT const otext * OCI_API OCI_EventGetDatabase
18635 (
18636  OCI_Event *event
18637 );
18638 
18651 OCI_EXPORT const otext * OCI_API OCI_EventGetObject
18652 (
18653  OCI_Event *event
18654 );
18655 
18668 OCI_EXPORT const otext * OCI_API OCI_EventGetRowid
18669 (
18670  OCI_Event *event
18671 );
18672 
18685 OCI_EXPORT OCI_Subscription * OCI_API OCI_EventGetSubscription
18686 (
18687  OCI_Event *event
18688 );
18689 
18753 OCI_EXPORT boolean OCI_API OCI_DatabaseStartup
18754 (
18755  const otext *db,
18756  const otext *user,
18757  const otext *pwd,
18758  unsigned int sess_mode,
18759  unsigned int start_mode,
18760  unsigned int start_flag,
18761  const otext *spfile
18762 );
18763 
18818 OCI_EXPORT boolean OCI_API OCI_DatabaseShutdown
18819 (
18820  const otext *db,
18821  const otext *user,
18822  const otext *pwd,
18823  unsigned int sess_mode,
18824  unsigned int shut_mode,
18825  unsigned int shut_flag
18826 );
18827 
18872 OCI_EXPORT const void * OCI_API OCI_HandleGetEnvironment
18873 (
18874  void
18875 );
18876 
18888 OCI_EXPORT const void * OCI_API OCI_HandleGetContext
18889 (
18890  OCI_Connection *con
18891 );
18892 
18904 OCI_EXPORT const void * OCI_API OCI_HandleGetServer
18905 (
18906  OCI_Connection *con
18907 );
18908 
18920 OCI_EXPORT const void * OCI_API OCI_HandleGetError
18921 (
18922  OCI_Connection *con
18923 );
18924 
18936 OCI_EXPORT const void * OCI_API OCI_HandleGetSession
18937 (
18938  OCI_Connection *con
18939 );
18940 
18952 OCI_EXPORT const void * OCI_API OCI_HandleGetTransaction
18953 (
18954  OCI_Transaction *trans
18955 );
18956 
18968 OCI_EXPORT const void * OCI_API OCI_HandleGetStatement
18969 (
18970  OCI_Statement *stmt
18971 );
18972 
18984 OCI_EXPORT const void * OCI_API OCI_HandleGetLob
18985 (
18986  OCI_Lob *lob
18987 );
18988 
19000 OCI_EXPORT const void * OCI_API OCI_HandleGetFile
19001 (
19002  OCI_File *file
19003 );
19004 
19016 OCI_EXPORT const void * OCI_API OCI_HandleGetDate
19017 (
19018  OCI_Date *date
19019 );
19020 
19032 OCI_EXPORT const void * OCI_API OCI_HandleGetTimestamp
19033 (
19034  OCI_Timestamp *tmsp
19035 );
19036 
19048 OCI_EXPORT const void * OCI_API OCI_HandleGetInterval
19049 (
19050  OCI_Interval *itv
19051 );
19052 
19064 OCI_EXPORT const void * OCI_API OCI_HandleGetObject
19065 (
19066  OCI_Object *obj
19067 );
19068 
19080 OCI_EXPORT const void * OCI_API OCI_HandleGetColl
19081 (
19082  OCI_Coll *coll
19083 );
19084 
19096 OCI_EXPORT const void * OCI_API OCI_HandleGetRef
19097 (
19098  OCI_Ref *ref
19099 );
19100 
19112 OCI_EXPORT const void * OCI_API OCI_HandleGetMutex
19113 (
19114  OCI_Mutex *mutex
19115 );
19116 
19128 OCI_EXPORT const void * OCI_API OCI_HandleGetThreadID
19129 (
19130  OCI_Thread *thread
19131 );
19132 
19144 OCI_EXPORT const void * OCI_API OCI_HandleGetThread
19145 (
19146  OCI_Thread *thread
19147 );
19148 
19160 OCI_EXPORT const void * OCI_API OCI_HandleGetDirPathCtx
19161 (
19162  OCI_DirPath *dp
19163 );
19164 
19176 OCI_EXPORT const void * OCI_API OCI_HandleGetDirPathColArray
19177 (
19178  OCI_DirPath *dp
19179 );
19180 
19192 OCI_EXPORT const void * OCI_API OCI_HandleGetDirPathStream
19193 (
19194  OCI_DirPath *dp
19195 );
19196 
19208 OCI_EXPORT const void * OCI_API OCI_HandleGetSubscription
19209 (
19210  OCI_Subscription *sub
19211 );
19212 
19217 #ifdef __cplusplus
19218 }
19219 #endif
19220 
19237 #define VAR_OCILIB_WORKAROUND_UTF16_COLUMN_NAME "OCILIB_WORKAROUND_UTF16_COLUMN_NAME"
19238 
19256 /* Compatibility with sources built with older versions of OCILIB */
19257 
19258 /* macros added in version 2.3.0 */
19259 
19260 #define OCI_CreateConnection OCI_ConnectionCreate
19261 #define OCI_FreeConnection OCI_ConnectionFree
19262 #define OCI_CreateStatement OCI_StatementCreate
19263 #define OCI_FreeStatement OCI_StatementFree
19264 
19265 /* macros added in version 2.4.0 */
19266 
19267 #define OCI_CreateTransaction OCI_TransactionCreate
19268 #define OCI_FreeTransaction OCI_TransactionFree
19269 #define OCI_CreateHashTable OCI_HashCreate
19270 #define OCI_FreeHashTable OCI_HashFree
19271 
19272 /* macros added in version 3.0.0 */
19273 
19274 #define OCI_GetColumnName OCI_ColumnGetName
19275 #define OCI_GetColumnType OCI_ColumnGetType
19276 #define OCI_GetColumnCharsetForm OCI_ColumnGetCharsetForm
19277 #define OCI_GetColumnSQLType OCI_ColumnGetSQLType
19278 #define OCI_GetColumnFullSQLType OCI_ColumnGetFullSQLType
19279 #define OCI_GetColumnSize OCI_ColumnGetSize
19280 #define OCI_GetColumnScale OCI_ColumnGetScale
19281 #define OCI_GetColumnPrecision OCI_ColumnGetPrecision
19282 #define OCI_GetColumnFractionnalPrecision OCI_ColumnGetFractionnalPrecision
19283 #define OCI_GetColumnLeadingPrecision OCI_ColumnGetLeadingPrecision
19284 #define OCI_GetColumnNullable OCI_ColumnGetNullable
19285 #define OCI_GetColumnCharUsed OCI_ColumnGetCharUsed
19286 
19287 #define OCI_GetFormatDate(s) OCI_GetDefaultFormatDate(OCI_StatementGetConnection(s))
19288 #define OCI_SetFormatDate(s, f) OCI_SetDefaultFormatDate(OCI_StatementGetConnection(s), f)
19289 
19290 #define OCI_ERR_API OCI_ERR_ORACLE
19291 
19292 /* macros added in version 3.2.0 */
19293 
19294 #define OCI_ERR_NOT_SUPPORTED OCI_ERR_DATATYPE_NOT_SUPPORTED
19295 #define OCI_SCHEMA_TABLE OCI_TIF_TABLE
19296 #define OCI_SCHEMA_VIEW OCI_TIF_VIEW
19297 #define OCI_SCHEMA_TYPE OCI_TIF_TYPE
19298 
19299 #define OCI_Schema OCI_TypeInfo
19300 
19301 #define OCI_SchemaGet OCI_TypeInfoGet
19302 #define OCI_SchemaFree OCI_TypeInfoFree
19303 #define OCI_SchemaGetColumnCount OCI_TypeInfoGetColumnCount
19304 #define OCI_SchemaGetColumn OCI_TypeInfoGetColumn
19305 #define OCI_SchemaGetName OCI_TypeInfoGetName
19306 
19307 #define OCI_ColumnGetFractionnalPrecision OCI_ColumnGetFractionalPrecision
19308 
19309 /* macro added in version 3.3.0 */
19310 
19311 #define OCI_SetNull(stmt, index) \
19312  OCI_BindSetNull(OCI_GetBind(stmt, index))
19313 
19314 #define OCI_SetNull2(stmt, name) \
19315  OCI_BindSetNull(OCI_GetBind2(stmt, name))
19316 
19317 #define OCI_SetNullAtPos(stmt, index, position) \
19318  OCI_BindSetNullAtPos(OCI_GetBind(stmt, index), position)
19319 
19320 #define OCI_SetNullAtPos2(stmt, name, position) \
19321  OCI_BindSetNullAtPos(OCI_GetBind2(stmt, name), position)
19322 
19323 /* macro added in version 3.4.0 */
19324 
19325 #define OCI_8 OCI_8_1
19326 #define OCI_9 OCI_9_0
19327 #define OCI_10 OCI_10_1
19328 #define OCI_11 OCI_11_1
19329 
19330 /* macro added in version 3.6.0 */
19331 
19332 #define OCI_CHAR_UNICODE OCI_CHAR_WIDE
19333 #define OCI_CSF_CHARSET OCI_CSF_DEFAULT
19334 
19335 /* macro added in version 3.7.0 */
19336 
19337 #define OCI_ConnPool OCI_Pool
19338 
19339 #define OCI_ConnPoolCreate(db, us, pw, mo, mi, ma, in) \
19340  OCI_PoolCreate(db, us, pw, OCI_POOL_CONNECTION, mo, mi, ma, in)
19341 
19342 #define OCI_ConnPoolGetConnection(p) \
19343  OCI_PoolGetConnection(p, NULL)
19344 
19345 #define OCI_ConnPoolFree OCI_PoolFree
19346 #define OCI_ConnPoolGetTimeout OCI_PoolGetConnection
19347 #define OCI_ConnPoolSetTimeout OCI_PoolSetTimeout
19348 #define OCI_ConnPoolGetNoWait OCI_PoolGetNoWait
19349 #define OCI_ConnPoolSetNoWait OCI_PoolSetNoWait
19350 #define OCI_ConnPoolGetBusyCount OCI_PoolGetBusyCount
19351 #define OCI_ConnPoolGetOpenedCount OCI_PoolGetOpenedCount
19352 #define OCI_ConnPoolGetMin OCI_PoolGetMin
19353 #define OCI_ConnPoolGetMax OCI_PoolGetMax
19354 #define OCI_ConnPoolGetIncrement OCI_PoolGetIncrement
19355 
19356 /* macro added in version 3.8.0 */
19357 
19358 #define OCI_ObjectGetTimeStamp OCI_ObjectGetTimestamp
19359 #define OCI_ElemGetTimeStamp OCI_ElemGetTimestamp
19360 #define OCI_TimestampSysTimeStamp OCI_TimestampSysTimestamp
19361 
19362 /* macro added in version 4.0.0 */
19363 
19364 #define OCI_CollSetAt OCI_CollSetElem
19365 #define OCI_CollGetAt OCI_CollGetElem
19366 #define OCI_CollGetAt2 OCI_CollGetElem2
19367 
19368 #define OCI_GetCharsetMetaData OCI_GetCharset
19369 #define OCI_GetCharsetUserData OCI_GetCharset
19370 #define OCI_SIZE_TRACE_INF0 OCI_SIZE_TRACE_INFO
19371 
19372 #define MT(x) OTEXT(x)
19373 #define mtext otext
19374 #define DT(x) OTEXT(x)
19375 #define dtext otext
19376 
19377 #define mtsdup ostrdup
19378 #define mtscpy ostrcpy
19379 #define mtsncpy ostrncpy
19380 #define mtscat ostrcat
19381 #define mtsncat ostrncat
19382 #define mtslen ostrlen
19383 #define mtscmp ostrcmp
19384 #define mtscasecmp ostrcasecmp
19385 #define mtsprintf osprintf
19386 #define mtstol ostrtol
19387 #define mtsscanf osscanf
19388 
19389 #define dtsdup ostrdup
19390 #define dtscpy ostrcpy
19391 #define dtsncpy ostrncpy
19392 #define dtscat ostrcat
19393 #define dtsncat ostrncat
19394 #define dtslen ostrlen
19395 #define dtscmp ostrcmp
19396 #define dtscasecmp ostrcasecmp
19397 #define dtsprintf osprintf
19398 #define dtstol ostrtol
19399 #define dtsscanf osscanf
19400 
19401 /* macro added in version 4.1.0 */
19402 
19403 #define OCI_SetDefaultFormatDate(con, fmt) OCI_SetFormat(con, OCI_FMT_DATE, fmt)
19404 #define OCI_SetDefaultFormatNumeric(con, fmt) OCI_SetFormat(con, OCI_FMT_NUMERIC, fmt)
19405 
19406 #define OCI_GetDefaultFormatDate(con) OCI_GetFormat(con, OCI_FMT_DATE)
19407 #define OCI_GetDefaultFormatNumeric(con) OCI_GetFormat(con, OCI_FMT_NUMERIC)
19408 
19409 #define OCI_STRING_FORMAT_NUM_BIN OCI_STRING_FORMAT_NUM_BDOUBLE
19410 
19415 #endif /* OCILIB_H_INCLUDED */
19416 
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.