OCILIB (C and C++ Driver for Oracle)  4.4.0
ocilib.h
1 /*
2  * OCILIB - C Driver for Oracle (C Wrapper for Oracle OCI)
3  *
4  * Website: http://www.ocilib.net
5  *
6  * Copyright (c) 2007-2017 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 4
95 #define OCILIB_REVISION_VERSION 0
96 
97 /* Import mode */
98 
99 #define OCI_IMPORT_MODE_LINKAGE 1
100 #define OCI_IMPORT_MODE_RUNTIME 2
101 
102 #ifdef OCI_IMPORT_RUNTIME
103  #undef OCI_IMPORT_LINKAGE
104 #endif
105 
106 #ifdef OCI_IMPORT_LINKAGE
107  #undef OCI_IMPORT_RUNTIME
108 #endif
109 
110 #if !defined(OCI_IMPORT_RUNTIME) && !defined(OCI_IMPORT_LINKAGE)
111  #define OCI_IMPORT_LINKAGE
112 #endif
113 
114 #ifdef OCI_IMPORT_RUNTIME
115  #define OCI_IMPORT_MODE OCI_IMPORT_MODE_RUNTIME
116 #else
117  #define OCI_IMPORT_MODE OCI_IMPORT_MODE_LINKAGE
118 #endif
119 
120 /* Charset modes */
121 
122 #ifdef OCI_CHARSET_UNICODE
123  #define OCI_CHARSET_WIDE
124 #endif
125 
126 #ifdef OCI_CHARSET_WIDE
127  #undef OCI_CHARSET_ANSI
128 #endif
129 
130 #ifdef OCI_CHARSET_ANSI
131  #undef OCI_CHARSET_ANSI
132 #endif
133 
134 #if !defined(OCI_CHARSET_ANSI) && !defined(OCI_CHARSET_WIDE)
135  #define OCI_CHARSET_ANSI
136 #endif
137 
138 /* Calling convention */
139 
140 #ifndef OCI_API
141  #ifdef _MSC_VER
142  #define OCI_API __stdcall
143  #else
144  #define OCI_API
145  #endif
146 #endif
147 
148 /* Build mode */
149 
150 #ifndef OCI_EXPORT
151  #define OCI_EXPORT
152 #endif
153 
243 #if defined(__cplusplus) && defined(_MSC_VER) && (_MSC_VER < 1300)
244 extern "C++" {
245 #endif
246 
247 #include <wchar.h>
248 
249 #if defined(__cplusplus) && defined(_MSC_VER) && (_MSC_VER < 1300)
250 }
251 #endif
252 
253 /* Charset macros */
254 
255 #define OCI_CHAR_ANSI 1
256 #define OCI_CHAR_WIDE 2
257 
258 #ifdef OCI_CHARSET_ANSI
259  typedef char otext;
260  #define OTEXT(x) x
261  #define OCI_CHAR_TEXT OCI_CHAR_ANSI
262 #else
263  typedef wchar_t otext;
264  #define OTEXT(x) L ## x
265  #define OCI_CHAR_TEXT OCI_CHAR_WIDE
266 #endif
267 
268 /*
269  For ISO conformance, strdup/wcsdup/stricmp/strncasecmp are not used.
270  All wide char routines are part of the 1995 Normative Addendum 1 to the ISO C90 standard.
271  OCILIB also needs an ANSI equivalent to swprintf => ocisprintf
272  Thus OCILIB exports the following helper functions
273 
274 */
275 
276 OCI_EXPORT int ocisprintf
277 (
278  char *str,
279  int size,
280  const char *format,
281  ...
282 );
283 
284 OCI_EXPORT char * ocistrdup
285 (
286  const char * src
287 );
288 
289 OCI_EXPORT int ocistrcasecmp
290 (
291  const char *str1,
292  const char *str2
293 );
294 
295 OCI_EXPORT wchar_t * ociwcsdup
296 (
297  const wchar_t * src
298 );
299 
300 OCI_EXPORT int ociwcscasecmp
301 (
302  const wchar_t *str1,
303  const wchar_t *str2
304 );
305 
306 /* special defines for Microsoft C runtime that is not C ISO compliant */
307 
308 #ifdef _WINDOWS
309 
310  #define vsnprintf _vsnprintf
311  #define swprintf _snwprintf
312 
313 #endif
314 
315 /* helpers mapping macros */
316 
317 #ifdef OCI_CHARSET_ANSI
318  #define ostrdup ocistrdup
319  #define ostrcpy strcpy
320  #define ostrncpy strncpy
321  #define ostrcat strcat
322  #define ostrncat strncat
323  #define ostrlen strlen
324  #define ostrcmp strcmp
325  #define ostrcasecmp ocistrcasecmp
326  #define osprintf ocisprintf
327  #define ostrtol strtol
328  #define osscanf sscanf
329  #define otoupper toupper
330  #define oisdigit isdigit
331 #else
332  #define ostrdup ociwcsdup
333  #define ostrcpy wcscpy
334  #define ostrncpy wcsncpy
335  #define ostrcat wcscat
336  #define ostrncat wcsncat
337  #define ostrlen wcslen
338  #define ostrcmp wcscmp
339  #define ostrcasecmp ociwcscasecmp
340  #define osprintf swprintf
341  #define ostrtol wcstol
342  #define osscanf swscanf
343  #define otoupper towupper
344  #define oisdigit iswdigit
345 
346 #endif
347 
348 /* string size macros */
349 
350 #define otextsize(s) (ostrlen(s) * sizeof(otext))
351 
406 typedef struct OCI_Pool OCI_Pool;
407 
424 
436 
447 typedef struct OCI_Bind OCI_Bind;
448 
463 
474 typedef struct OCI_Column OCI_Column;
475 
497 typedef struct OCI_Lob OCI_Lob;
498 
522 typedef struct OCI_File OCI_File;
523 
538 
559 typedef struct OCI_Long OCI_Long;
560 
568 typedef struct OCI_Number OCI_Number;
569 
578 typedef struct OCI_Date OCI_Date;
579 
589 
598 typedef struct OCI_Interval OCI_Interval;
599 
608 typedef struct OCI_Object OCI_Object;
609 
618 typedef struct OCI_Coll OCI_Coll;
619 
628 typedef struct OCI_Elem OCI_Elem;
629 
637 typedef struct OCI_Iter OCI_Iter;
638 
655 typedef struct OCI_Ref OCI_Ref;
656 
665 typedef struct OCI_TypeInfo OCI_TypeInfo;
666 
676 
689 typedef struct OCI_Error OCI_Error;
690 
699 typedef struct OCI_Mutex OCI_Mutex;
700 
709 typedef struct OCI_Thread OCI_Thread;
710 
719 typedef struct OCI_DirPath OCI_DirPath;
720 
730 
739 typedef struct OCI_Event OCI_Event;
740 
749 typedef struct OCI_Msg OCI_Msg;
750 
759 typedef struct OCI_Agent OCI_Agent;
760 
769 typedef struct OCI_Dequeue OCI_Dequeue;
770 
779 typedef struct OCI_Enqueue OCI_Enqueue;
780 
791 typedef void (*POCI_ERROR)
792 (
793  OCI_Error *err
794 );
795 
807 typedef void (*POCI_THREAD)
808 (
809  OCI_Thread *thread,
810  void *arg
811 );
812 
823 typedef void (*POCI_THREADKEYDEST)
824 (
825  void *data
826 );
827 
838 typedef void (*POCI_NOTIFY)
839 (
840  OCI_Event *event
841 );
842 
853 typedef void (*POCI_NOTIFY_AQ)
854 (
855  OCI_Dequeue *dequeue
856 );
857 
889 typedef unsigned int (*POCI_TAF_HANDLER)
890 (
891  OCI_Connection *con,
892  unsigned int type,
893  unsigned int event
894 );
895 
927 typedef void (*POCI_HA_HANDLER)
928 (
929  OCI_Connection *con,
930  unsigned int source,
931  unsigned int event,
932  OCI_Timestamp *time
933 );
934 
935 /* public structures */
936 
945 typedef struct OCI_XID {
946  long formatID;
947  long gtrid_length;
948  long bqual_length;
949  char data[128];
950 } OCI_XID;
951 
963 typedef union OCI_Variant {
964  /* integers */
965  int num;
966 
967  /* raw data */
968  unsigned char *p_bytes;
969 
970  /* pointer to c natives types */
971  void *p_void;
972  int *p_int;
973  float *p_float;
974  double *p_double;
975  otext *p_text;
976 
977  /* ocilib object types */
978  OCI_Date *p_date;
979  OCI_Interval *p_interval;
980  OCI_Timestamp *p_timestamp;
981  OCI_Long *p_long;
982  OCI_Lob *p_lob;
983  OCI_File *p_file;
984  OCI_Statement *p_stmt;
985  OCI_Column *p_col;
986  OCI_Object *p_obj;
987  OCI_Coll *p_coll;
988  OCI_Iter *p_iter;
989  OCI_Elem *p_elem;
990 } OCI_Variant;
991 
1002 typedef struct OCI_HashValue {
1003  OCI_Variant value;
1004  struct OCI_HashValue *next;
1005 } OCI_HashValue;
1006 
1015 typedef struct OCI_HashEntry {
1016  otext *key;
1017  struct OCI_HashValue *values;
1018  struct OCI_HashEntry *next;
1019 } OCI_HashEntry;
1020 
1030 /* check for long long support */
1031 
1032 #if defined(_LONGLONG) || defined(LONG_LONG_MAX) || defined(LLONG_MAX) || defined(__LONG_LONG_MAX__)
1033 
1034 /* C99 long long supported */
1035 
1036 typedef long long big_int;
1037 typedef unsigned long long big_uint;
1038 
1039  #define OCI_BIG_UINT_ENABLED
1040 
1041 #elif defined(_WINDOWS)
1042 
1043 /* Microsoft extension supported */
1044 
1045 typedef __int64 big_int;
1046 typedef unsigned __int64 big_uint;
1047 
1048  #define OCI_BIG_UINT_ENABLED
1049 
1050 #else
1051 
1052 typedef int big_int;
1053 typedef unsigned int big_uint;
1054 
1055 #endif
1056 
1061 /* boolean values */
1062 
1063 #ifndef TRUE
1064  #define TRUE 1
1065  #define FALSE 0
1066 #endif
1067 
1068 #ifndef boolean
1069  #define boolean int
1070 #endif
1071 
1072 /* oracle OCI key versions*/
1073 
1074 #define OCI_8_0 800
1075 #define OCI_8_1 810
1076 #define OCI_9_0 900
1077 #define OCI_9_2 920
1078 #define OCI_10_1 1010
1079 #define OCI_10_2 1020
1080 #define OCI_11_1 1110
1081 #define OCI_11_2 1120
1082 #define OCI_12_1 1210
1083 #define OCI_12_2 1220
1084 
1085 /* versions extract macros */
1086 
1087 #define OCI_VER_MAJ(v) (unsigned int) (v/100)
1088 #define OCI_VER_MIN(v) (unsigned int) ((v/10) - ((v/100)*10))
1089 #define OCI_VER_REV(v) (unsigned int) ((v) - ((v/10)*10))
1090 
1091 /* OCILIB Error types */
1092 
1093 #define OCI_ERR_ORACLE 1
1094 #define OCI_ERR_OCILIB 2
1095 #define OCI_ERR_WARNING 3
1096 
1097 /* OCILIB Error codes */
1098 
1099 #define OCI_ERR_NONE 0
1100 #define OCI_ERR_NOT_INITIALIZED 1
1101 #define OCI_ERR_LOADING_SHARED_LIB 2
1102 #define OCI_ERR_LOADING_SYMBOLS 3
1103 #define OCI_ERR_MULTITHREADED 4
1104 #define OCI_ERR_MEMORY 5
1105 #define OCI_ERR_NOT_AVAILABLE 6
1106 #define OCI_ERR_NULL_POINTER 7
1107 #define OCI_ERR_DATATYPE_NOT_SUPPORTED 8
1108 #define OCI_ERR_PARSE_TOKEN 9
1109 #define OCI_ERR_MAP_ARGUMENT 10
1110 #define OCI_ERR_OUT_OF_BOUNDS 11
1111 #define OCI_ERR_UNFREED_DATA 12
1112 #define OCI_ERR_MAX_BIND 13
1113 #define OCI_ERR_ATTR_NOT_FOUND 14
1114 #define OCI_ERR_MIN_VALUE 15
1115 #define OCI_ERR_NOT_COMPATIBLE 16
1116 #define OCI_ERR_STMT_STATE 17
1117 #define OCI_ERR_STMT_NOT_SCROLLABLE 18
1118 #define OCI_ERR_BIND_ALREADY_USED 19
1119 #define OCI_ERR_BIND_ARRAY_SIZE 20
1120 #define OCI_ERR_COLUMN_NOT_FOUND 21
1121 #define OCI_ERR_DIRPATH_STATE 22
1122 #define OCI_ERR_CREATE_OCI_ENVIRONMENT 23
1123 #define OCI_ERR_REBIND_BAD_DATATYPE 24
1124 #define OCI_ERR_TYPEINFO_DATATYPE 25
1125 #define OCI_ERR_ITEM_NOT_FOUND 26
1126 #define OCI_ERR_ARG_INVALID_VALUE 27
1127 #define OCI_ERR_XA_ENV_FROM_STRING 28
1128 #define OCI_ERR_XA_CONN_FROM_STRING 29
1129 
1130 #define OCI_ERR_COUNT 30
1131 
1132 
1133 /* allocated bytes types */
1134 
1135 #define OCI_MEM_ORACLE 1
1136 #define OCI_MEM_OCILIB 2
1137 #define OCI_MEM_ALL OCI_MEM_ORACLE | OCI_MEM_OCILIB
1138 
1139 /* binding */
1140 
1141 #define OCI_BIND_BY_POS 0
1142 #define OCI_BIND_BY_NAME 1
1143 #define OCI_BIND_SIZE 6
1144 #define OCI_BIND_MAX 65535
1145 
1146 /* fetching */
1147 
1148 #define OCI_FETCH_SIZE 20
1149 #define OCI_PREFETCH_SIZE 20
1150 #define OCI_LONG_EXPLICIT 1
1151 #define OCI_LONG_IMPLICIT 2
1152 
1153 /* unknown value */
1154 
1155 #define OCI_UNKNOWN 0
1156 
1157 /* C Data Type mapping */
1158 
1159 #define OCI_CDT_NUMERIC 1
1160 #define OCI_CDT_DATETIME 3
1161 #define OCI_CDT_TEXT 4
1162 #define OCI_CDT_LONG 5
1163 #define OCI_CDT_CURSOR 6
1164 #define OCI_CDT_LOB 7
1165 #define OCI_CDT_FILE 8
1166 #define OCI_CDT_TIMESTAMP 9
1167 #define OCI_CDT_INTERVAL 10
1168 #define OCI_CDT_RAW 11
1169 #define OCI_CDT_OBJECT 12
1170 #define OCI_CDT_COLLECTION 13
1171 #define OCI_CDT_REF 14
1172 #define OCI_CDT_BOOLEAN 15
1173 
1174 /* Data Type codes for OCI_ImmediateXXX() calls */
1175 
1176 #define OCI_ARG_SHORT 1
1177 #define OCI_ARG_USHORT 2
1178 #define OCI_ARG_INT 3
1179 #define OCI_ARG_UINT 4
1180 #define OCI_ARG_BIGINT 5
1181 #define OCI_ARG_BIGUINT 6
1182 #define OCI_ARG_DOUBLE 7
1183 #define OCI_ARG_DATETIME 8
1184 #define OCI_ARG_TEXT 9
1185 #define OCI_ARG_LOB 10
1186 #define OCI_ARG_FILE 11
1187 #define OCI_ARG_TIMESTAMP 12
1188 #define OCI_ARG_INTERVAL 13
1189 #define OCI_ARG_RAW 14
1190 #define OCI_ARG_OBJECT 15
1191 #define OCI_ARG_COLLECTION 16
1192 #define OCI_ARG_REF 17
1193 #define OCI_ARG_FLOAT 18
1194 #define OCI_ARG_NUMBER 19
1195 
1196 /* statement types */
1197 
1198 #define OCI_CST_SELECT 1
1199 #define OCI_CST_UPDATE 2
1200 #define OCI_CST_DELETE 3
1201 #define OCI_CST_INSERT 4
1202 #define OCI_CST_CREATE 5
1203 #define OCI_CST_DROP 6
1204 #define OCI_CST_ALTER 7
1205 #define OCI_CST_BEGIN 8
1206 #define OCI_CST_DECLARE 9
1207 #define OCI_CST_CALL 10
1208 
1209 /* environment modes */
1210 
1211 #define OCI_ENV_DEFAULT 0
1212 #define OCI_ENV_THREADED 1
1213 #define OCI_ENV_CONTEXT 2
1214 #define OCI_ENV_EVENTS 4
1215 
1216 /* sessions modes */
1217 
1218 #define OCI_SESSION_DEFAULT 0x00000000 /* any version */
1219 #define OCI_SESSION_SYSDBA 0x00000002 /* any version */
1220 #define OCI_SESSION_SYSOPER 0x00000004 /* any version */
1221 #define OCI_SESSION_SYSASM 0x00008000 /* From 11gR1 */
1222 #define OCI_SESSION_SYSBKP 0x00020000 /* From 12cR1 */
1223 #define OCI_SESSION_SYSDGD 0x00040000 /* From 12cR1 */
1224 #define OCI_SESSION_SYSKMT 0x00080000 /* From 12cR1 */
1225 #define OCI_SESSION_SYSRAC 0x00100000 /* From 12cR2 */
1226 
1227 #define OCI_SESSION_XA 0x00000001
1228 #define OCI_SESSION_PRELIM_AUTH 0x00000008
1229 
1230 /* change notification types */
1231 
1232 #define OCI_CNT_OBJECTS 1
1233 #define OCI_CNT_ROWS 2
1234 #define OCI_CNT_DATABASES 4
1235 #define OCI_CNT_ALL OCI_CNT_OBJECTS | OCI_CNT_ROWS | OCI_CNT_DATABASES
1236 
1237 /* event notification types */
1238 
1239 #define OCI_ENT_STARTUP 1
1240 #define OCI_ENT_SHUTDOWN 2
1241 #define OCI_ENT_SHUTDOWN_ANY 3
1242 #define OCI_ENT_DROP_DATABASE 4
1243 #define OCI_ENT_DEREGISTER 5
1244 #define OCI_ENT_OBJECT_CHANGED 6
1245 
1246 /* event object notification types */
1247 
1248 #define OCI_ONT_INSERT 0x2
1249 #define OCI_ONT_UPDATE 0x4
1250 #define OCI_ONT_DELETE 0x8
1251 #define OCI_ONT_ALTER 0x10
1252 #define OCI_ONT_DROP 0x20
1253 #define OCI_ONT_GENERIC 0x40
1254 
1255 /* database startup modes */
1256 
1257 #define OCI_DB_SPM_START 1
1258 #define OCI_DB_SPM_MOUNT 2
1259 #define OCI_DB_SPM_OPEN 4
1260 #define OCI_DB_SPM_FULL OCI_DB_SPM_START | OCI_DB_SPM_MOUNT | OCI_DB_SPM_OPEN
1261 
1262 /* database startup flags */
1263 
1264 #define OCI_DB_SPF_DEFAULT 0
1265 #define OCI_DB_SPF_FORCE 1
1266 #define OCI_DB_SPF_RESTRICT 2
1267 
1268 /* database shutdown modes */
1269 
1270 #define OCI_DB_SDM_SHUTDOWN 1
1271 #define OCI_DB_SDM_CLOSE 2
1272 #define OCI_DB_SDM_DISMOUNT 4
1273 #define OCI_DB_SDM_FULL OCI_DB_SDM_SHUTDOWN | OCI_DB_SDM_CLOSE | OCI_DB_SDM_DISMOUNT
1274 
1275 /* database shutdown flags */
1276 
1277 #define OCI_DB_SDF_DEFAULT 0
1278 #define OCI_DB_SDF_TRANS 1
1279 #define OCI_DB_SDF_TRANS_LOCAL 2
1280 #define OCI_DB_SDF_IMMEDIATE 3
1281 #define OCI_DB_SDF_ABORT 4
1282 
1283 /* charset form types */
1284 
1285 #define OCI_CSF_NONE 0
1286 #define OCI_CSF_DEFAULT 1
1287 #define OCI_CSF_NATIONAL 2
1288 
1289 /* statement fetch mode */
1290 
1291 #define OCI_SFM_DEFAULT 0
1292 #define OCI_SFM_SCROLLABLE 0x08
1293 
1294 /* statement fetch direction */
1295 
1296 #define OCI_SFD_ABSOLUTE 0x20
1297 #define OCI_SFD_RELATIVE 0x40
1298 
1299 /* bind allocation mode */
1300 
1301 #define OCI_BAM_EXTERNAL 1
1302 #define OCI_BAM_INTERNAL 2
1303 
1304 /* bind direction mode */
1305 
1306 #define OCI_BDM_IN 1
1307 #define OCI_BDM_OUT 2
1308 #define OCI_BDM_IN_OUT (OCI_BDM_IN | OCI_BDM_OUT)
1309 
1310 /* Column property flags */
1311 
1312 #define OCI_CPF_NONE 0
1313 #define OCI_CPF_IS_IDENTITY 1
1314 #define OCI_CPF_IS_GEN_ALWAYS 2
1315 #define OCI_CPF_IS_GEN_BY_DEFAULT_ON_NULL 4
1316 
1317 /* Column collation IDs */
1318 
1319 #define OCI_CCI_NONE 0x00000000
1320 #define OCI_CCI_NLS_COMP 0x00003FFE
1321 #define OCI_CCI_NLS_SORT 0x00003FFD
1322 #define OCI_CCI_NLS_SORT_CI 0x00003FFC
1323 #define OCI_CCI_NLS_SORT_AI 0x00003FFB
1324 #define OCI_CCI_NLS_SORT_CS 0x00003FFA
1325 #define OCI_CCI_NLS_SORT_VAR1 0x00003FF9
1326 #define OCI_CCI_NLS_SORT_VAR1_CI 0x00003FF8
1327 #define OCI_CCI_NLS_SORT_VAR1_AI 0x00003FF7
1328 #define OCI_CCI_NLS_SORT_VAR1_CS 0x00003FF6
1329 #define OCI_CCI_BINARY 0x00003FFF
1330 #define OCI_CCI_BINARY_CI 0x00023FFF
1331 #define OCI_CCI_BINARY_AI 0x00013FFF
1332 
1333 
1334 /* Integer sign flag */
1335 
1336 #define OCI_NUM_UNSIGNED 2
1337 
1338 /* External Integer types */
1339 
1340 #define OCI_NUM_SHORT 4
1341 #define OCI_NUM_INT 8
1342 #define OCI_NUM_BIGINT 16
1343 #define OCI_NUM_FLOAT 32
1344 #define OCI_NUM_DOUBLE 64
1345 #define OCI_NUM_NUMBER 128
1346 
1347 #define OCI_NUM_USHORT (OCI_NUM_SHORT | OCI_NUM_UNSIGNED)
1348 #define OCI_NUM_UINT (OCI_NUM_INT | OCI_NUM_UNSIGNED)
1349 #define OCI_NUM_BIGUINT (OCI_NUM_BIGINT | OCI_NUM_UNSIGNED)
1350 
1351 /* timestamp types */
1352 
1353 #define OCI_TIMESTAMP 1
1354 #define OCI_TIMESTAMP_TZ 2
1355 #define OCI_TIMESTAMP_LTZ 3
1356 
1357 /* interval types */
1358 
1359 #define OCI_INTERVAL_YM 1
1360 #define OCI_INTERVAL_DS 2
1361 
1362 /* long types */
1363 
1364 #define OCI_BLONG 1
1365 #define OCI_CLONG 2
1366 
1367 /* lob types */
1368 
1369 #define OCI_BLOB 1
1370 #define OCI_CLOB 2
1371 #define OCI_NCLOB 3
1372 
1373 /* lob opening mode */
1374 
1375 #define OCI_LOB_READONLY 1
1376 #define OCI_LOB_READWRITE 2
1377 
1378 /* file types */
1379 
1380 #define OCI_BFILE 1
1381 #define OCI_CFILE 2
1382 
1383 /* lob browsing mode */
1384 
1385 #define OCI_SEEK_SET 1
1386 #define OCI_SEEK_END 2
1387 #define OCI_SEEK_CUR 3
1388 
1389 /* type info types */
1390 
1391 #define OCI_TIF_TABLE 1
1392 #define OCI_TIF_VIEW 2
1393 #define OCI_TIF_TYPE 3
1394 
1395 /* object type */
1396 
1397 #define OCI_OBJ_PERSISTENT 1
1398 #define OCI_OBJ_TRANSIENT 2
1399 #define OCI_OBJ_VALUE 3
1400 
1401 /* collection types */
1402 
1403 #define OCI_COLL_VARRAY 1
1404 #define OCI_COLL_NESTED_TABLE 2
1405 #define OCI_COLL_INDEXED_TABLE 3
1406 
1407 /* pool types */
1408 
1409 #define OCI_POOL_CONNECTION 1
1410 #define OCI_POOL_SESSION 2
1411 
1412 /* AQ message state */
1413 
1414 #define OCI_AMS_READY 1
1415 #define OCI_AMS_WAITING 2
1416 #define OCI_AMS_PROCESSED 3
1417 #define OCI_AMS_EXPIRED 4
1418 
1419 /* AQ sequence deviation */
1420 
1421 #define OCI_ASD_BEFORE 2
1422 #define OCI_ASD_TOP 3
1423 
1424 /* AQ message visibility */
1425 
1426 #define OCI_AMV_IMMEDIATE 1
1427 #define OCI_AMV_ON_COMMIT 2
1428 
1429 /* AQ dequeue mode */
1430 
1431 #define OCI_ADM_BROWSE 1
1432 #define OCI_ADM_LOCKED 2
1433 #define OCI_ADM_REMOVE 3
1434 #define OCI_ADM_REMOVE_NODATA 4
1435 
1436 /* AQ dequeue navigation */
1437 
1438 #define OCI_ADN_FIRST_MSG 1
1439 #define OCI_ADN_NEXT_TRANSACTION 2
1440 #define OCI_ADN_NEXT_MSG 3
1441 
1442 /* AQ queue table purge mode */
1443 
1444 #define OCI_APM_BUFFERED 1
1445 #define OCI_APM_PERSISTENT 2
1446 #define OCI_APM_ALL (OCI_APM_BUFFERED | OCI_APM_PERSISTENT)
1447 
1448 /* AQ queue table grouping mode */
1449 
1450 #define OCI_AGM_NONE 0
1451 #define OCI_AGM_TRANSACTIONNAL 1
1452 
1453 /* AQ queue table type */
1454 
1455 #define OCI_AQT_NORMAL 0
1456 #define OCI_AQT_EXCEPTION 1
1457 #define OCI_AQT_NON_PERSISTENT 2
1458 
1459 /* direct path processing return status */
1460 
1461 #define OCI_DPR_COMPLETE 1
1462 #define OCI_DPR_ERROR 2
1463 #define OCI_DPR_FULL 3
1464 #define OCI_DPR_PARTIAL 4
1465 #define OCI_DPR_EMPTY 5
1466 
1467 /* direct path conversion modes */
1468 
1469 #define OCI_DCM_DEFAULT 1
1470 #define OCI_DCM_FORCE 2
1471 
1472 /* trace size constants */
1473 
1474 #define OCI_SIZE_TRACE_ID 64
1475 #define OCI_SIZE_TRACE_MODULE 48
1476 #define OCI_SIZE_TRACE_ACTION 32
1477 #define OCI_SIZE_TRACE_INFO 64
1478 
1479 /* trace types */
1480 
1481 #define OCI_TRC_IDENTITY 1
1482 #define OCI_TRC_MODULE 2
1483 #define OCI_TRC_ACTION 3
1484 #define OCI_TRC_DETAIL 4
1485 
1486 /* HA event type */
1487 
1488 #define OCI_HET_DOWN 0
1489 #define OCI_HET_UP 1
1490 
1491 /* HA event source */
1492 #define OCI_HES_INSTANCE 0
1493 #define OCI_HES_DATABASE 1
1494 #define OCI_HES_NODE 2
1495 #define OCI_HES_SERVICE 3
1496 #define OCI_HES_SERVICE_MEMBER 4
1497 #define OCI_HES_ASM_INSTANCE 5
1498 #define OCI_HES_PRECONNECT 6
1499 
1500 /* Fail over types */
1501 
1502 #define OCI_FOT_NONE 1
1503 #define OCI_FOT_SESSION 2
1504 #define OCI_FOT_SELECT 4
1505 
1506 /* fail over notifications */
1507 
1508 #define OCI_FOE_END 1
1509 #define OCI_FOE_ABORT 2
1510 #define OCI_FOE_REAUTH 4
1511 #define OCI_FOE_BEGIN 8
1512 #define OCI_FOE_ERROR 16
1513 
1514 /* fail over callback return code */
1515 
1516 #define OCI_FOC_OK 0
1517 #define OCI_FOC_RETRY 25410
1518 
1519 /* hash tables support */
1520 
1521 #define OCI_HASH_STRING 1
1522 #define OCI_HASH_INTEGER 2
1523 #define OCI_HASH_POINTER 3
1524 
1525 /* transaction types */
1526 
1527 #define OCI_TRS_NEW 0x00000001
1528 #define OCI_TRS_READONLY 0x00000100
1529 #define OCI_TRS_READWRITE 0x00000200
1530 #define OCI_TRS_SERIALIZABLE 0x00000400
1531 #define OCI_TRS_LOOSE 0x00010000
1532 #define OCI_TRS_TIGHT 0x00020000
1533 
1534 /* format types */
1535 
1536 #define OCI_FMT_DATE 1
1537 #define OCI_FMT_TIMESTAMP 2
1538 #define OCI_FMT_NUMERIC 3
1539 #define OCI_FMT_BINARY_DOUBLE 4
1540 #define OCI_FMT_BINARY_FLOAT 5
1541 
1542 /* sql function codes */
1543 
1544 #define OCI_SFC_CREATE_TABLE 1
1545 #define OCI_SFC_SET_ROLE 2
1546 #define OCI_SFC_INSERT 3
1547 #define OCI_SFC_SELECT 4
1548 #define OCI_SFC_UPDATE 5
1549 #define OCI_SFC_DROP_ROLE 6
1550 #define OCI_SFC_DROP_VIEW 7
1551 #define OCI_SFC_DROP_TABLE 8
1552 #define OCI_SFC_DELETE 9
1553 #define OCI_SFC_CREATE_VIEW 10
1554 #define OCI_SFC_DROP_USER 11
1555 #define OCI_SFC_CREATE_ROLE 12
1556 #define OCI_SFC_CREATE_SEQUENCE 13
1557 #define OCI_SFC_ALTER_SEQUENCE 14
1558 
1559 #define OCI_SFC_DROP_SEQUENCE 16
1560 #define OCI_SFC_CREATE_SCHEMA 17
1561 #define OCI_SFC_CREATE_CLUSTER 18
1562 #define OCI_SFC_CREATE_USER 19
1563 #define OCI_SFC_CREATE_INDEX 20
1564 #define OCI_SFC_DROP_INDEX 21
1565 #define OCI_SFC_DROP_CLUSTER 22
1566 #define OCI_SFC_VALIDATE_INDEX 23
1567 #define OCI_SFC_CREATE_PROCEDURE 24
1568 #define OCI_SFC_ALTER_PROCEDURE 25
1569 #define OCI_SFC_ALTER_TABLE 26
1570 #define OCI_SFC_EXPLAIN 27
1571 #define OCI_SFC_GRANT 28
1572 #define OCI_SFC_REVOKE 29
1573 #define OCI_SFC_CREATE_SYNONYM 30
1574 #define OCI_SFC_DROP_SYNONYM 31
1575 #define OCI_SFC_ALTER_SYSTEM_SWITCHLOG 32
1576 #define OCI_SFC_SET_TRANSACTION 33
1577 #define OCI_SFC_PLSQL_EXECUTE 34
1578 #define OCI_SFC_LOCK 35
1579 #define OCI_SFC_NOOP 36
1580 #define OCI_SFC_RENAME 37
1581 #define OCI_SFC_COMMENT 38
1582 #define OCI_SFC_AUDIT 39
1583 #define OCI_SFC_NO_AUDIT 40
1584 #define OCI_SFC_ALTER_INDEX 41
1585 #define OCI_SFC_CREATE_EXTERNAL_DATABASE 42
1586 #define OCI_SFC_DROP_EXTERNALDATABASE 43
1587 #define OCI_SFC_CREATE_DATABASE 44
1588 #define OCI_SFC_ALTER_DATABASE 45
1589 #define OCI_SFC_CREATE_ROLLBACK_SEGMENT 46
1590 #define OCI_SFC_ALTER_ROLLBACK_SEGMENT 47
1591 #define OCI_SFC_DROP_ROLLBACK_SEGMENT 48
1592 #define OCI_SFC_CREATE_TABLESPACE 49
1593 #define OCI_SFC_ALTER_TABLESPACE 50
1594 #define OCI_SFC_DROP_TABLESPACE 51
1595 #define OCI_SFC_ALTER_SESSION 52
1596 #define OCI_SFC_ALTER_USER 53
1597 #define OCI_SFC_COMMIT_WORK 54
1598 #define OCI_SFC_ROLLBACK 55
1599 #define OCI_SFC_SAVEPOINT 56
1600 #define OCI_SFC_CREATE_CONTROL_FILE 57
1601 #define OCI_SFC_ALTER_TRACING 58
1602 #define OCI_SFC_CREATE_TRIGGER 59
1603 #define OCI_SFC_ALTER_TRIGGER 60
1604 #define OCI_SFC_DROP_TRIGGER 61
1605 #define OCI_SFC_ANALYZE_TABLE 62
1606 #define OCI_SFC_ANALYZE_INDEX 63
1607 #define OCI_SFC_ANALYZE_CLUSTER 64
1608 #define OCI_SFC_CREATE_PROFILE 65
1609 #define OCI_SFC_DROP_PROFILE 66
1610 #define OCI_SFC_ALTER_PROFILE 67
1611 #define OCI_SFC_DROP_PROCEDURE 68
1612 
1613 #define OCI_SFC_ALTER_RESOURCE_COST 70
1614 #define OCI_SFC_CREATE_SNAPSHOT_LOG 71
1615 #define OCI_SFC_ALTER_SNAPSHOT_LOG 72
1616 #define OCI_SFC_DROP_SNAPSHOT_LOG 73
1617 #define OCI_SFC_DROP_SUMMARY 73
1618 #define OCI_SFC_CREATE_SNAPSHOT 74
1619 #define OCI_SFC_ALTER_SNAPSHOT 75
1620 #define OCI_SFC_DROP_SNAPSHOT 76
1621 #define OCI_SFC_CREATE_TYPE 77
1622 #define OCI_SFC_DROP_TYPE 78
1623 #define OCI_SFC_ALTER_ROLE 79
1624 #define OCI_SFC_ALTER_TYPE 80
1625 #define OCI_SFC_CREATE_TYPE_BODY 81
1626 #define OCI_SFC_ALTER_TYPE_BODY 82
1627 #define OCI_SFC_DROP_TYPE_BODY 83
1628 #define OCI_SFC_DROP_LIBRARY 84
1629 #define OCI_SFC_TRUNCATE_TABLE 85
1630 #define OCI_SFC_TRUNCATE_CLUSTER 86
1631 #define OCI_SFC_CREATE_BITMAPFILE 87
1632 #define OCI_SFC_ALTER_VIEW 88
1633 #define OCI_SFC_DROP_BITMAPFILE 89
1634 #define OCI_SFC_SET_CONSTRAINTS 90
1635 #define OCI_SFC_CREATE_FUNCTION 91
1636 #define OCI_SFC_ALTER_FUNCTION 92
1637 #define OCI_SFC_DROP_FUNCTION 93
1638 #define OCI_SFC_CREATE_PACKAGE 94
1639 #define OCI_SFC_ALTER_PACKAGE 95
1640 #define OCI_SFC_DROP_PACKAGE 96
1641 #define OCI_SFC_CREATE_PACKAGE_BODY 97
1642 #define OCI_SFC_ALTER_PACKAGE_BODY 98
1643 #define OCI_SFC_DROP_PACKAGE_BODY 99
1644 #define OCI_SFC_CREATE_DIRECTORY 157
1645 #define OCI_SFC_DROP_DIRECTORY 158
1646 #define OCI_SFC_CREATE_LIBRARY 159
1647 #define OCI_SFC_CREATE_JAVA 160
1648 #define OCI_SFC_ALTER_JAVA 161
1649 #define OCI_SFC_DROP_JAVA 162
1650 #define OCI_SFC_CREATE_OPERATOR 163
1651 #define OCI_SFC_CREATE_INDEXTYPE 164
1652 #define OCI_SFC_DROP_INDEXTYPE 165
1653 #define OCI_SFC_ALTER_INDEXTYPE 166
1654 #define OCI_SFC_DROP_OPERATOR 167
1655 #define OCI_SFC_ASSOCIATE_STATISTICS 168
1656 #define OCI_SFC_DISASSOCIATE_STATISTICS 169
1657 #define OCI_SFC_CALL_METHOD 170
1658 #define OCI_SFC_CREATE_SUMMARY 171
1659 #define OCI_SFC_ALTER_SUMMARY 172
1660 #define OCI_SFC_CREATE_DIMENSION 174
1661 #define OCI_SFC_ALTER_DIMENSION 175
1662 #define OCI_SFC_DROP_DIMENSION 176
1663 #define OCI_SFC_CREATE_CONTEXT 177
1664 #define OCI_SFC_DROP_CONTEXT 178
1665 #define OCI_SFC_ALTER_OUTLINE 179
1666 #define OCI_SFC_CREATE_OUTLINE 180
1667 #define OCI_SFC_DROP_OUTLINE 181
1668 #define OCI_SFC_UPDATE_INDEXES 182
1669 #define OCI_SFC_ALTER_OPERATOR 183
1670 
1671 /* size constants */
1672 
1673 #define OCI_SIZE_FORMAT 64
1674 #define OCI_SIZE_BUFFER 512
1675 #define OCI_SIZE_LONG (64*1024)-1
1676 #define OCI_SIZE_DATE 45
1677 #define OCI_SIZE_TIMESTAMP 54
1678 #define OCI_SIZE_FORMAT_TODATE 14
1679 #define OCI_SIZE_NULL 4
1680 #define OCI_SIZE_PRECISION 10
1681 #define OCI_SIZE_ROWID 23
1682 #define OCI_SIZE_DIRECTORY 30
1683 #define OCI_SIZE_FILENAME 255
1684 #define OCI_SIZE_FORMAT_NUMS 40
1685 #define OCI_SIZE_FORMAT_NUML 65
1686 #define OCI_SIZE_OBJ_NAME 128
1687 
1688 #define OCI_HASH_DEFAULT_SIZE 256
1689 
1690 /* string constants */
1691 
1692 #define OCILIB_DRIVER_NAME OTEXT("OCILIB")
1693 #define OCI_STRING_NULL OTEXT("NULL")
1694 #define OCI_STRING_EMPTY OTEXT("")
1695 #define OCI_STRING_FORMAT_DATE OTEXT("YYYY-MM-DD")
1696 #define OCI_STRING_FORMAT_TIME OTEXT("HH24:MI:SS")
1697 #define OCI_STRING_FORMAT_DATETIME OTEXT("YYYY-MM-DD HH24:MI:SS")
1698 #define OCI_STRING_FORMAT_TIMESTAMP OTEXT("YYYY-MM-DD HH24:MI:SS.FF")
1699 #define OCI_STRING_DEFAULT_PREC 3
1700 #define OCI_STRING_FORMAT_NUM \
1701  OTEXT("FM99999999999999999999999999999999999990.999999999999999999999999")
1702 #define OCI_STRING_FORMAT_NUM_BDOUBLE OTEXT("%lf")
1703 #define OCI_STRING_FORMAT_NUM_BFLOAT OTEXT("%f")
1704 #define OCI_STRING_FORMAT_NUM_SHORT OTEXT("%hd")
1705 #define OCI_STRING_FORMAT_NUM_INT OTEXT("%d")
1706 #define OCI_STRING_TRUE OTEXT("TRUE")
1707 #define OCI_STRING_FALSE OTEXT("FALSE")
1708 #define OCI_STRING_TRUE_SIZE 4
1709 #define OCI_STRING_FALSE_SIZE 5
1710 
1711 #ifdef _WINDOWS
1712  #define OCI_CHAR_SLASH '\\'
1713 #else
1714  #define OCI_CHAR_SLASH '/'
1715 #endif
1716 
1772 OCI_EXPORT boolean OCI_API OCI_Initialize
1773 (
1774  POCI_ERROR err_handler,
1775  const otext *lib_path,
1776  unsigned int mode
1777 );
1778 
1794 OCI_EXPORT boolean OCI_API OCI_Cleanup
1795 (
1796  void
1797 );
1798 
1810 OCI_EXPORT unsigned int OCI_API OCI_GetOCICompileVersion
1811 (
1812  void
1813 );
1814 
1827 OCI_EXPORT unsigned int OCI_API OCI_GetOCIRuntimeVersion
1828 (
1829  void
1830 );
1831 
1843 OCI_EXPORT unsigned int OCI_API OCI_GetImportMode
1844 (
1845  void
1846 );
1847 
1859 OCI_EXPORT unsigned int OCI_API OCI_GetCharset
1860 (
1861  void
1862 );
1863 
1878 OCI_EXPORT big_uint OCI_API OCI_GetAllocatedBytes
1879 (
1880  unsigned int mem_type
1881 );
1882 
1894 OCI_EXPORT boolean OCI_API OCI_EnableWarnings
1895 (
1896  boolean value
1897 );
1898 
1910 OCI_EXPORT boolean OCI_API OCI_SetErrorHandler
1911 (
1912  POCI_ERROR handler
1913 );
1914 
1937 OCI_EXPORT boolean OCI_API OCI_SetHAHandler
1938 (
1939  POCI_HA_HANDLER handler
1940 );
1941 
2010 OCI_EXPORT OCI_Error * OCI_API OCI_GetLastError
2011 (
2012  void
2013 );
2014 
2023 OCI_EXPORT const otext * OCI_API OCI_ErrorGetString
2024 (
2025  OCI_Error *err
2026 );
2027 
2046 OCI_EXPORT unsigned int OCI_API OCI_ErrorGetType
2047 (
2048  OCI_Error *err
2049 );
2050 
2059 OCI_EXPORT int OCI_API OCI_ErrorGetOCICode
2060 (
2061  OCI_Error *err
2062 );
2063 
2072 OCI_EXPORT int OCI_API OCI_ErrorGetInternalCode
2073 (
2074  OCI_Error *err
2075 );
2076 
2085 OCI_EXPORT OCI_Connection * OCI_API OCI_ErrorGetConnection
2086 (
2087  OCI_Error *err
2088 );
2089 
2101 OCI_EXPORT OCI_Statement * OCI_API OCI_ErrorGetStatement
2102 (
2103  OCI_Error *err
2104 );
2105 
2121 OCI_EXPORT unsigned int OCI_API OCI_ErrorGetRow
2122 (
2123  OCI_Error *err
2124 );
2125 
2203 OCI_EXPORT OCI_Connection * OCI_API OCI_ConnectionCreate
2204 (
2205  const otext *db,
2206  const otext *user,
2207  const otext *pwd,
2208  unsigned int mode
2209 );
2210 
2222 OCI_EXPORT boolean OCI_API OCI_ConnectionFree
2223 (
2224  OCI_Connection *con
2225 );
2226 
2235 OCI_EXPORT boolean OCI_API OCI_IsConnected
2236 (
2237  OCI_Connection *con
2238 );
2239 
2248 OCI_EXPORT void * OCI_API OCI_GetUserData
2249 (
2250  OCI_Connection *con
2251 );
2252 
2265 OCI_EXPORT boolean OCI_API OCI_SetUserData
2266 (
2267  OCI_Connection *con,
2268  void *data
2269 );
2270 
2294 OCI_EXPORT boolean OCI_API OCI_SetSessionTag
2295 (
2296  OCI_Connection *con,
2297  const otext *tag
2298 );
2299 
2308 OCI_EXPORT const otext * OCI_API OCI_GetSessionTag
2309 (
2310  OCI_Connection *con
2311 );
2312 
2321 OCI_EXPORT const otext * OCI_API OCI_GetDatabase
2322 (
2323  OCI_Connection *con
2324 );
2325 
2334 OCI_EXPORT const otext * OCI_API OCI_GetUserName
2335 (
2336  OCI_Connection *con
2337 );
2338 
2347 OCI_EXPORT const otext * OCI_API OCI_GetPassword
2348 (
2349  OCI_Connection *con
2350 );
2351 
2364 OCI_EXPORT boolean OCI_API OCI_SetPassword
2365 (
2366  OCI_Connection *con,
2367  const otext *password
2368 );
2369 
2384 OCI_EXPORT boolean OCI_API OCI_SetUserPassword
2385 (
2386  const otext *db,
2387  const otext *user,
2388  const otext *pwd,
2389  const otext *new_pwd
2390 );
2391 
2403 OCI_EXPORT unsigned int OCI_API OCI_GetSessionMode
2404 (
2405  OCI_Connection *con
2406 );
2407 
2416 OCI_EXPORT const otext * OCI_API OCI_GetVersionServer
2417 (
2418  OCI_Connection *con
2419 );
2420 
2432 OCI_EXPORT unsigned int OCI_API OCI_GetServerMajorVersion
2433 (
2434  OCI_Connection *con
2435 );
2436 
2448 OCI_EXPORT unsigned int OCI_API OCI_GetServerMinorVersion
2449 (
2450  OCI_Connection *con
2451 );
2452 
2464 OCI_EXPORT unsigned int OCI_API OCI_GetServerRevisionVersion
2465 (
2466  OCI_Connection *con
2467 );
2468 
2511 OCI_EXPORT boolean OCI_API OCI_SetFormat
2512 (
2513  OCI_Connection *con,
2514  unsigned int type,
2515  const otext *format
2516 );
2517 
2530 OCI_EXPORT const otext * OCI_API OCI_GetFormat
2531 (
2532  OCI_Connection *con,
2533  unsigned int type
2534 );
2535 
2547 OCI_EXPORT OCI_Transaction * OCI_API OCI_GetTransaction
2548 (
2549  OCI_Connection *con
2550 );
2551 
2568 OCI_EXPORT boolean OCI_API OCI_SetTransaction
2569 (
2570  OCI_Connection *con,
2571  OCI_Transaction *trans
2572 );
2573 
2599 OCI_EXPORT unsigned int OCI_API OCI_GetVersionConnection
2600 (
2601  OCI_Connection *con
2602 );
2603 
2648 OCI_EXPORT boolean OCI_API OCI_SetTrace
2649 (
2650  OCI_Connection *con,
2651  unsigned int trace,
2652  const otext *value
2653 );
2654 
2667 OCI_EXPORT const otext * OCI_API OCI_GetTrace
2668 (
2669  OCI_Connection *con,
2670  unsigned int trace
2671 );
2672 
2688 OCI_EXPORT boolean OCI_API OCI_Ping
2689 (
2690  OCI_Connection *con
2691 );
2692 
2705 OCI_EXPORT const otext * OCI_API OCI_GetDBName
2706 (
2707  OCI_Connection *con
2708 );
2709 
2722 OCI_EXPORT const otext * OCI_API OCI_GetInstanceName
2723 (
2724  OCI_Connection *con
2725 );
2726 
2727 
2740 OCI_EXPORT const otext * OCI_API OCI_GetServiceName
2741 (
2742  OCI_Connection *con
2743 );
2744 
2745 
2758 OCI_EXPORT const otext * OCI_API OCI_GetServerName
2759 (
2760  OCI_Connection *con
2761 );
2762 
2763 
2776 OCI_EXPORT const otext * OCI_API OCI_GetDomainName
2777 (
2778  OCI_Connection *con
2779 );
2780 
2781 
2795 OCI_EXPORT OCI_Timestamp * OCI_API OCI_GetInstanceStartTime
2796 (
2797  OCI_Connection *con
2798 );
2799 
2815 OCI_EXPORT boolean OCI_API OCI_IsTAFCapable
2816 (
2817  OCI_Connection *con
2818 );
2819 
2839 OCI_EXPORT boolean OCI_API OCI_SetTAFHandler
2840 (
2841  OCI_Connection *con,
2842  POCI_TAF_HANDLER handler
2843 );
2844 
2859 OCI_EXPORT unsigned int OCI_API OCI_GetStatementCacheSize
2860 (
2861  OCI_Connection *con
2862 );
2863 
2879 OCI_EXPORT boolean OCI_API OCI_SetStatementCacheSize
2880 (
2881  OCI_Connection *con,
2882  unsigned int value
2883 );
2884 
2904 OCI_EXPORT unsigned int OCI_API OCI_GetDefaultLobPrefetchSize
2905 (
2906  OCI_Connection *con
2907 );
2908 
2938 OCI_EXPORT boolean OCI_API OCI_SetDefaultLobPrefetchSize
2939 (
2940  OCI_Connection *con,
2941  unsigned int value
2942 );
2943 
2944 
2962 OCI_EXPORT unsigned int OCI_API OCI_GetMaxCursors
2963 (
2964  OCI_Connection *con
2965 );
2966 
3057 OCI_EXPORT OCI_Pool * OCI_API OCI_PoolCreate
3058 (
3059  const otext *db,
3060  const otext *user,
3061  const otext *pwd,
3062  unsigned int type,
3063  unsigned int mode,
3064  unsigned int min_con,
3065  unsigned int max_con,
3066  unsigned int incr_con
3067 );
3068 
3080 OCI_EXPORT boolean OCI_API OCI_PoolFree
3081 (
3082  OCI_Pool *pool
3083 );
3084 
3117 OCI_EXPORT OCI_Connection * OCI_API OCI_PoolGetConnection
3118 (
3119  OCI_Pool *pool,
3120  const otext *tag
3121 );
3122 
3137 OCI_EXPORT unsigned int OCI_API OCI_PoolGetTimeout
3138 (
3139  OCI_Pool *pool
3140 );
3141 
3157 OCI_EXPORT boolean OCI_API OCI_PoolSetTimeout
3158 (
3159  OCI_Pool *pool,
3160  unsigned int value
3161 );
3162 
3176 OCI_EXPORT boolean OCI_API OCI_PoolGetNoWait
3177 (
3178  OCI_Pool *pool
3179 );
3180 
3196 OCI_EXPORT boolean OCI_API OCI_PoolSetNoWait
3197 (
3198  OCI_Pool *pool,
3199  boolean value
3200 );
3201 
3210 OCI_EXPORT unsigned int OCI_API OCI_PoolGetBusyCount
3211 (
3212  OCI_Pool *pool
3213 );
3214 
3223 OCI_EXPORT unsigned int OCI_API OCI_PoolGetOpenedCount
3224 (
3225  OCI_Pool *pool
3226 );
3227 
3236 OCI_EXPORT unsigned int OCI_API OCI_PoolGetMin
3237 (
3238  OCI_Pool *pool
3239 );
3240 
3249 OCI_EXPORT unsigned int OCI_API OCI_PoolGetMax
3250 (
3251  OCI_Pool *pool
3252 );
3253 
3263 OCI_EXPORT unsigned int OCI_API OCI_PoolGetIncrement
3264 (
3265  OCI_Pool *pool
3266 );
3267 
3279 OCI_EXPORT unsigned int OCI_API OCI_PoolGetStatementCacheSize
3280 (
3281  OCI_Pool *pool
3282 );
3283 
3296 OCI_EXPORT boolean OCI_API OCI_PoolSetStatementCacheSize
3297 (
3298  OCI_Pool *pool,
3299  unsigned int value
3300 );
3301 
3349 OCI_EXPORT boolean OCI_API OCI_Commit
3350 (
3351  OCI_Connection *con
3352 );
3353 
3365 OCI_EXPORT boolean OCI_API OCI_Rollback
3366 (
3367  OCI_Connection *con
3368 );
3369 
3384 OCI_EXPORT boolean OCI_API OCI_SetAutoCommit
3385 (
3386  OCI_Connection *con,
3387  boolean enable
3388 );
3389 
3401 OCI_EXPORT boolean OCI_API OCI_GetAutoCommit
3402 (
3403  OCI_Connection *con
3404 );
3405 
3436 OCI_EXPORT OCI_Transaction * OCI_API OCI_TransactionCreate
3437 (
3438  OCI_Connection *con,
3439  unsigned int timeout,
3440  unsigned int mode,
3441  OCI_XID *pxid
3442 );
3443 
3455 OCI_EXPORT boolean OCI_API OCI_TransactionFree
3456 (
3457  OCI_Transaction *trans
3458 );
3459 
3471 OCI_EXPORT boolean OCI_API OCI_TransactionStart
3472 (
3473  OCI_Transaction *trans
3474 );
3475 
3487 OCI_EXPORT boolean OCI_API OCI_TransactionStop
3488 (
3489  OCI_Transaction *trans
3490 );
3491 
3502 OCI_EXPORT boolean OCI_API OCI_TransactionResume
3503 (
3504  OCI_Transaction *trans
3505 );
3506 
3518 OCI_EXPORT boolean OCI_API OCI_TransactionPrepare
3519 (
3520  OCI_Transaction *trans
3521 );
3522 
3534 OCI_EXPORT boolean OCI_API OCI_TransactionForget
3535 (
3536  OCI_Transaction *trans
3537 );
3538 
3553 OCI_EXPORT unsigned int OCI_API OCI_TransactionGetMode
3554 (
3555  OCI_Transaction *trans
3556 );
3557 
3569 OCI_EXPORT unsigned int OCI_API OCI_TransactionGetTimeout
3570 (
3571  OCI_Transaction *trans
3572 );
3573 
3627 OCI_EXPORT OCI_Statement * OCI_API OCI_StatementCreate
3628 (
3629  OCI_Connection *con
3630 );
3631 
3643 OCI_EXPORT boolean OCI_API OCI_StatementFree
3644 (
3645  OCI_Statement *stmt
3646 );
3647 
3662 OCI_EXPORT boolean OCI_API OCI_Prepare
3663 (
3664  OCI_Statement *stmt,
3665  const otext *sql
3666 );
3667 
3687 OCI_EXPORT boolean OCI_API OCI_Execute
3688 (
3689  OCI_Statement *stmt
3690 );
3691 
3712 OCI_EXPORT boolean OCI_API OCI_ExecuteStmt
3713 (
3714  OCI_Statement *stmt,
3715  const otext *sql
3716 );
3717 
3746 OCI_EXPORT boolean OCI_API OCI_Parse
3747 (
3748  OCI_Statement *stmt,
3749  const otext *sql
3750 );
3751 
3784 OCI_EXPORT boolean OCI_API OCI_Describe
3785 (
3786  OCI_Statement *stmt,
3787  const otext *sql
3788 );
3789 
3798 OCI_EXPORT const otext * OCI_API OCI_GetSql
3799 (
3800  OCI_Statement *stmt
3801 );
3802 
3815 OCI_EXPORT unsigned int OCI_API OCI_GetSqlErrorPos
3816 (
3817  OCI_Statement *stmt
3818 );
3819 
3842 OCI_EXPORT unsigned int OCI_API OCI_GetAffectedRows
3843 (
3844  OCI_Statement *stmt
3845 );
3846 
3861 OCI_EXPORT unsigned int OCI_API OCI_GetSQLCommand
3862 (
3863  OCI_Statement *stmt
3864 );
3865 
3883 OCI_EXPORT const otext * OCI_API OCI_GetSQLVerb
3884 (
3885  OCI_Statement *stmt
3886 );
3887 
4035 OCI_EXPORT boolean OCI_API OCI_BindArraySetSize
4036 (
4037  OCI_Statement *stmt,
4038  unsigned int size
4039 );
4040 
4052 OCI_EXPORT unsigned int OCI_API OCI_BindArrayGetSize
4053 (
4054  OCI_Statement *stmt
4055 );
4056 
4076 OCI_EXPORT boolean OCI_API OCI_AllowRebinding
4077 (
4078  OCI_Statement *stmt,
4079  boolean value
4080 );
4081 
4095 OCI_EXPORT boolean OCI_API OCI_IsRebindingAllowed
4096 (
4097  OCI_Statement *stmt
4098 );
4099 
4119 OCI_EXPORT boolean OCI_API OCI_BindBoolean
4120 (
4121  OCI_Statement *stmt,
4122  const otext *name,
4123  boolean *data
4124 );
4125 
4142 OCI_EXPORT boolean OCI_API OCI_BindNumber
4143 (
4144  OCI_Statement *stmt,
4145  const otext *name,
4146  OCI_Number *data
4147 );
4148 
4170 OCI_EXPORT boolean OCI_API OCI_BindArrayOfNumbers
4171 (
4172  OCI_Statement *stmt,
4173  const otext *name,
4174  OCI_Number **data,
4175  unsigned int nbelem
4176 );
4177 
4194 OCI_EXPORT boolean OCI_API OCI_BindShort
4195 (
4196  OCI_Statement *stmt,
4197  const otext *name,
4198  short *data
4199 );
4200 
4222 OCI_EXPORT boolean OCI_API OCI_BindArrayOfShorts
4223 (
4224  OCI_Statement *stmt,
4225  const otext *name,
4226  short *data,
4227  unsigned int nbelem
4228 );
4229 
4246 OCI_EXPORT boolean OCI_API OCI_BindUnsignedShort
4247 (
4248  OCI_Statement *stmt,
4249  const otext *name,
4250  unsigned short *data
4251 );
4252 
4274 OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedShorts
4275 (
4276  OCI_Statement *stmt,
4277  const otext *name,
4278  unsigned short *data,
4279  unsigned int nbelem
4280 );
4281 
4298 OCI_EXPORT boolean OCI_API OCI_BindInt
4299 (
4300  OCI_Statement *stmt,
4301  const otext *name,
4302  int *data
4303 );
4304 
4326 OCI_EXPORT boolean OCI_API OCI_BindArrayOfInts
4327 (
4328  OCI_Statement *stmt,
4329  const otext *name,
4330  int *data,
4331  unsigned int nbelem
4332 );
4333 
4350 OCI_EXPORT boolean OCI_API OCI_BindUnsignedInt
4351 (
4352  OCI_Statement *stmt,
4353  const otext *name,
4354  unsigned int *data
4355 );
4356 
4378 OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedInts
4379 (
4380  OCI_Statement *stmt,
4381  const otext *name,
4382  unsigned int *data,
4383  unsigned int nbelem
4384 );
4385 
4402 OCI_EXPORT boolean OCI_API OCI_BindBigInt
4403 (
4404  OCI_Statement *stmt,
4405  const otext *name,
4406  big_int *data
4407 );
4408 
4430 OCI_EXPORT boolean OCI_API OCI_BindArrayOfBigInts
4431 (
4432  OCI_Statement *stmt,
4433  const otext *name,
4434  big_int *data,
4435  unsigned int nbelem
4436 );
4437 
4454 OCI_EXPORT boolean OCI_API OCI_BindUnsignedBigInt
4455 (
4456  OCI_Statement *stmt,
4457  const otext *name,
4458  big_uint *data
4459 );
4460 
4482 OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedBigInts
4483 (
4484  OCI_Statement *stmt,
4485  const otext *name,
4486  big_uint *data,
4487  unsigned int nbelem
4488 );
4489 
4511 OCI_EXPORT boolean OCI_API OCI_BindString
4512 (
4513  OCI_Statement *stmt,
4514  const otext *name,
4515  otext *data,
4516  unsigned int len
4517 );
4518 
4545 OCI_EXPORT boolean OCI_API OCI_BindArrayOfStrings
4546 (
4547  OCI_Statement *stmt,
4548  const otext *name,
4549  otext *data,
4550  unsigned int len,
4551  unsigned int nbelem
4552 );
4553 
4574 OCI_EXPORT boolean OCI_API OCI_BindRaw
4575 (
4576  OCI_Statement *stmt,
4577  const otext *name,
4578  void *data,
4579  unsigned int len
4580 );
4581 
4610 OCI_EXPORT boolean OCI_API OCI_BindArrayOfRaws
4611 (
4612  OCI_Statement *stmt,
4613  const otext *name,
4614  void *data,
4615  unsigned int len,
4616  unsigned int nbelem
4617 );
4618 
4635 OCI_EXPORT boolean OCI_API OCI_BindDouble
4636 (
4637  OCI_Statement *stmt,
4638  const otext *name,
4639  double *data
4640 );
4641 
4663 OCI_EXPORT boolean OCI_API OCI_BindArrayOfDoubles
4664 (
4665  OCI_Statement *stmt,
4666  const otext *name,
4667  double *data,
4668  unsigned int nbelem
4669 );
4670 
4671 
4688 OCI_EXPORT boolean OCI_API OCI_BindFloat
4689 (
4690  OCI_Statement *stmt,
4691  const otext *name,
4692  float *data
4693 );
4694 
4716 OCI_EXPORT boolean OCI_API OCI_BindArrayOfFloats
4717 (
4718  OCI_Statement *stmt,
4719  const otext *name,
4720  float *data,
4721  unsigned int nbelem
4722 );
4723 
4740 OCI_EXPORT boolean OCI_API OCI_BindDate
4741 (
4742  OCI_Statement *stmt,
4743  const otext *name,
4744  OCI_Date *data
4745 );
4746 
4768 OCI_EXPORT boolean OCI_API OCI_BindArrayOfDates
4769 (
4770  OCI_Statement *stmt,
4771  const otext *name,
4772  OCI_Date **data,
4773  unsigned int nbelem
4774 );
4775 
4791 OCI_EXPORT boolean OCI_API OCI_BindTimestamp
4792 (
4793  OCI_Statement *stmt,
4794  const otext *name,
4795  OCI_Timestamp *data
4796 );
4797 
4823 OCI_EXPORT boolean OCI_API OCI_BindArrayOfTimestamps
4824 (
4825  OCI_Statement *stmt,
4826  const otext *name,
4827  OCI_Timestamp **data,
4828  unsigned int type,
4829  unsigned int nbelem
4830 );
4831 
4848 OCI_EXPORT boolean OCI_API OCI_BindInterval
4849 (
4850  OCI_Statement *stmt,
4851  const otext *name,
4852  OCI_Interval *data
4853 );
4854 
4881 OCI_EXPORT boolean OCI_API OCI_BindArrayOfIntervals
4882 (
4883  OCI_Statement *stmt,
4884  const otext *name,
4885  OCI_Interval **data,
4886  unsigned int type,
4887  unsigned int nbelem
4888 );
4889 
4905 OCI_EXPORT boolean OCI_API OCI_BindLob
4906 (
4907  OCI_Statement *stmt,
4908  const otext *name,
4909  OCI_Lob *data
4910 );
4911 
4937 OCI_EXPORT boolean OCI_API OCI_BindArrayOfLobs
4938 (
4939  OCI_Statement *stmt,
4940  const otext *name,
4941  OCI_Lob **data,
4942  unsigned int type,
4943  unsigned int nbelem
4944 );
4945 
4961 OCI_EXPORT boolean OCI_API OCI_BindFile
4962 (
4963  OCI_Statement *stmt,
4964  const otext *name,
4965  OCI_File *data
4966 );
4967 
4993 OCI_EXPORT boolean OCI_API OCI_BindArrayOfFiles
4994 (
4995  OCI_Statement *stmt,
4996  const otext *name,
4997  OCI_File **data,
4998  unsigned int type,
4999  unsigned int nbelem
5000 );
5001 
5018 OCI_EXPORT boolean OCI_API OCI_BindObject
5019 (
5020  OCI_Statement *stmt,
5021  const otext *name,
5022  OCI_Object *data
5023 );
5024 
5048 OCI_EXPORT boolean OCI_API OCI_BindArrayOfObjects
5049 (
5050  OCI_Statement *stmt,
5051  const otext *name,
5052  OCI_Object **data,
5053  OCI_TypeInfo *typinf,
5054  unsigned int nbelem
5055 );
5056 
5072 OCI_EXPORT boolean OCI_API OCI_BindColl
5073 (
5074  OCI_Statement *stmt,
5075  const otext *name,
5076  OCI_Coll *data
5077 );
5078 
5105 OCI_EXPORT boolean OCI_API OCI_BindArrayOfColls
5106 (
5107  OCI_Statement *stmt,
5108  const otext *name,
5109  OCI_Coll **data,
5110  OCI_TypeInfo *typinf,
5111  unsigned int nbelem
5112 );
5113 
5129 OCI_EXPORT boolean OCI_API OCI_BindRef
5130 (
5131  OCI_Statement *stmt,
5132  const otext *name,
5133  OCI_Ref *data
5134 );
5135 
5159 OCI_EXPORT boolean OCI_API OCI_BindArrayOfRefs
5160 (
5161  OCI_Statement *stmt,
5162  const otext *name,
5163  OCI_Ref **data,
5164  OCI_TypeInfo *typinf,
5165  unsigned int nbelem
5166 );
5167 
5183 OCI_EXPORT boolean OCI_API OCI_BindStatement
5184 (
5185  OCI_Statement *stmt,
5186  const otext *name,
5187  OCI_Statement *data
5188 );
5189 
5211 OCI_EXPORT boolean OCI_API OCI_BindLong
5212 (
5213  OCI_Statement *stmt,
5214  const otext *name,
5215  OCI_Long *data,
5216  unsigned int size
5217 );
5218 
5229 OCI_EXPORT OCI_Error * OCI_API OCI_GetBatchError
5230 (
5231  OCI_Statement *stmt
5232 );
5233 
5242 OCI_EXPORT unsigned int OCI_API OCI_GetBatchErrorCount
5243 (
5244  OCI_Statement *stmt
5245 );
5246 
5255 OCI_EXPORT unsigned int OCI_API OCI_GetBindCount
5256 (
5257  OCI_Statement *stmt
5258 );
5259 
5280 OCI_EXPORT OCI_Bind * OCI_API OCI_GetBind
5281 (
5282  OCI_Statement *stmt,
5283  unsigned int index
5284 );
5285 
5301 OCI_EXPORT OCI_Bind * OCI_API OCI_GetBind2
5302 (
5303  OCI_Statement *stmt,
5304  const otext *name
5305 );
5306 
5325 OCI_EXPORT unsigned int OCI_API OCI_GetBindIndex
5326 (
5327  OCI_Statement *stmt,
5328  const otext *name
5329 );
5330 
5339 OCI_EXPORT const otext * OCI_API OCI_BindGetName
5340 (
5341  OCI_Bind *bnd
5342 );
5343 
5344 
5366 OCI_EXPORT boolean OCI_API OCI_BindSetDirection
5367 (
5368  OCI_Bind *bnd,
5369  unsigned int direction
5370 );
5371 
5385 OCI_EXPORT unsigned int OCI_API OCI_BindGetDirection
5386 (
5387  OCI_Bind *bnd
5388 );
5389 
5419 OCI_EXPORT unsigned int OCI_API OCI_BindGetType
5420 (
5421  OCI_Bind *bnd
5422 );
5423 
5477 OCI_EXPORT unsigned int OCI_API OCI_BindGetSubtype
5478 (
5479  OCI_Bind *bnd
5480 );
5481 
5494 OCI_EXPORT unsigned int OCI_API OCI_BindGetDataCount
5495 (
5496  OCI_Bind *bnd
5497 );
5498 
5511 OCI_EXPORT void * OCI_API OCI_BindGetData
5512 (
5513  OCI_Bind *bnd
5514 );
5515 
5524 OCI_EXPORT OCI_Statement * OCI_API OCI_BindGetStatement
5525 (
5526  OCI_Bind *bnd
5527 );
5528 
5554 OCI_EXPORT boolean OCI_API OCI_BindSetDataSize
5555 (
5556  OCI_Bind *bnd,
5557  unsigned int size
5558 );
5559 
5586 OCI_EXPORT boolean OCI_API OCI_BindSetDataSizeAtPos
5587 (
5588  OCI_Bind *bnd,
5589  unsigned int position,
5590  unsigned int size
5591 );
5592 
5608 OCI_EXPORT unsigned int OCI_API OCI_BindGetDataSize
5609 (
5610  OCI_Bind *bnd
5611 );
5612 
5630 OCI_EXPORT unsigned int OCI_API OCI_BindGetDataSizeAtPos
5631 (
5632  OCI_Bind *bnd,
5633  unsigned int position
5634 );
5635 
5655 OCI_EXPORT boolean OCI_API OCI_BindSetNull
5656 (
5657  OCI_Bind *bnd
5658 );
5659 
5683 OCI_EXPORT boolean OCI_API OCI_BindSetNullAtPos
5684 (
5685  OCI_Bind *bnd,
5686  unsigned int position
5687 );
5688 
5708 OCI_EXPORT boolean OCI_API OCI_BindSetNotNull
5709 (
5710  OCI_Bind *bnd
5711 );
5712 
5736 OCI_EXPORT boolean OCI_API OCI_BindSetNotNullAtPos
5737 (
5738  OCI_Bind *bnd,
5739  unsigned int position
5740 );
5741 
5753 OCI_EXPORT boolean OCI_API OCI_BindIsNull
5754 (
5755  OCI_Bind *bnd
5756 );
5757 
5774 OCI_EXPORT boolean OCI_API OCI_BindIsNullAtPos
5775 (
5776  OCI_Bind *bnd,
5777  unsigned int position
5778 );
5779 
5806 boolean OCI_API OCI_BindSetCharsetForm
5807 (
5808  OCI_Bind *bnd,
5809  unsigned int csfrm
5810 );
5811 
5827 OCI_EXPORT unsigned int OCI_API OCI_BindGetAllocationMode
5828 (
5829  OCI_Bind *bnd
5830 );
5831 
6003 OCI_EXPORT OCI_Resultset * OCI_API OCI_GetResultset
6004 (
6005  OCI_Statement *stmt
6006 );
6007 
6028 OCI_EXPORT boolean OCI_API OCI_ReleaseResultsets
6029 (
6030  OCI_Statement *stmt
6031 );
6032 
6050 OCI_EXPORT boolean OCI_API OCI_FetchNext
6051 (
6052  OCI_Resultset *rs
6053 );
6054 
6072 OCI_EXPORT boolean OCI_API OCI_FetchPrev
6073 (
6074  OCI_Resultset *rs
6075 );
6076 
6093 OCI_EXPORT boolean OCI_API OCI_FetchFirst
6094 (
6095  OCI_Resultset *rs
6096 );
6097 
6114 OCI_EXPORT boolean OCI_API OCI_FetchLast
6115 (
6116  OCI_Resultset *rs
6117 );
6118 
6149 OCI_EXPORT boolean OCI_API OCI_FetchSeek
6150 (
6151  OCI_Resultset *rs,
6152  unsigned int mode,
6153  int offset
6154 );
6155 
6164 OCI_EXPORT unsigned int OCI_API OCI_GetRowCount
6165 (
6166  OCI_Resultset *rs
6167 );
6168 
6182 OCI_EXPORT unsigned int OCI_API OCI_GetCurrentRow
6183 (
6184  OCI_Resultset *rs
6185 );
6186 
6195 OCI_EXPORT unsigned int OCI_API OCI_GetColumnCount
6196 (
6197  OCI_Resultset *rs
6198 );
6199 
6213 OCI_EXPORT OCI_Column * OCI_API OCI_GetColumn
6214 (
6215  OCI_Resultset *rs,
6216  unsigned int index
6217 );
6218 
6235 OCI_EXPORT OCI_Column * OCI_API OCI_GetColumn2
6236 (
6237  OCI_Resultset *rs,
6238  const otext *name
6239 );
6240 
6259 OCI_EXPORT unsigned int OCI_API OCI_GetColumnIndex
6260 (
6261  OCI_Resultset *rs,
6262  const otext *name
6263 );
6264 
6273 OCI_EXPORT const otext * OCI_API OCI_ColumnGetName
6274 (
6275  OCI_Column *col
6276 );
6277 
6307 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetType
6308 (
6309  OCI_Column *col
6310 );
6311 
6326 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetCharsetForm
6327 (
6328  OCI_Column *col
6329 );
6330 
6342 OCI_EXPORT const otext * OCI_API OCI_ColumnGetSQLType
6343 (
6344  OCI_Column *col
6345 );
6346 
6364 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetFullSQLType
6365 (
6366  OCI_Column *col,
6367  otext *buffer,
6368  unsigned int len
6369 );
6370 
6383 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetSize
6384 (
6385  OCI_Column *col
6386 );
6387 
6396 OCI_EXPORT int OCI_API OCI_ColumnGetScale
6397 (
6398  OCI_Column *col
6399 );
6400 
6409 OCI_EXPORT int OCI_API OCI_ColumnGetPrecision
6410 (
6411  OCI_Column *col
6412 );
6413 
6422 OCI_EXPORT int OCI_API OCI_ColumnGetFractionalPrecision
6423 (
6424  OCI_Column *col
6425 );
6426 
6435 OCI_EXPORT int OCI_API OCI_ColumnGetLeadingPrecision
6436 (
6437  OCI_Column *col
6438 );
6439 
6451 OCI_EXPORT boolean OCI_API OCI_ColumnGetNullable
6452 (
6453  OCI_Column *col
6454 );
6455 
6469 OCI_EXPORT boolean OCI_API OCI_ColumnGetCharUsed
6470 (
6471  OCI_Column *col
6472 );
6473 
6498 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetPropertyFlags
6499 (
6500  OCI_Column *col
6501 );
6502 
6530 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetCollationID
6531 (
6532  OCI_Column *col
6533 );
6534 
6547 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_ColumnGetTypeInfo
6548 (
6549  OCI_Column *col
6550 );
6551 
6615 OCI_EXPORT unsigned int OCI_API OCI_ColumnGetSubType
6616 (
6617  OCI_Column *col
6618 );
6619 
6646 OCI_EXPORT boolean OCI_API OCI_SetStructNumericType
6647 (
6648  OCI_Resultset *rs,
6649  unsigned int index,
6650  unsigned int type
6651 );
6652 
6679 OCI_EXPORT boolean OCI_API OCI_SetStructNumericType2
6680 (
6681  OCI_Resultset *rs,
6682  const otext *name,
6683  unsigned int type
6684 );
6685 
6737 OCI_EXPORT boolean OCI_API OCI_GetStruct
6738 (
6739  OCI_Resultset *rs,
6740  void *row_struct,
6741  void *row_struct_ind
6742 );
6743 
6758 OCI_EXPORT OCI_Number * OCI_API OCI_GetNumber
6759 (
6760  OCI_Resultset *rs,
6761  unsigned int index
6762 );
6763 
6779 OCI_EXPORT OCI_Number * OCI_API OCI_GetNumber2
6780 (
6781  OCI_Resultset *rs,
6782  const otext *name
6783 );
6784 
6785 
6801 OCI_EXPORT short OCI_API OCI_GetShort
6802 (
6803  OCI_Resultset *rs,
6804  unsigned int index
6805 );
6806 
6822 OCI_EXPORT short OCI_API OCI_GetShort2
6823 (
6824  OCI_Resultset *rs,
6825  const otext *name
6826 );
6827 
6843 OCI_EXPORT unsigned short OCI_API OCI_GetUnsignedShort
6844 (
6845  OCI_Resultset *rs,
6846  unsigned int index
6847 );
6848 
6864 OCI_EXPORT unsigned short OCI_API OCI_GetUnsignedShort2
6865 (
6866  OCI_Resultset *rs,
6867  const otext *name
6868 );
6869 
6885 OCI_EXPORT int OCI_API OCI_GetInt
6886 (
6887  OCI_Resultset *rs,
6888  unsigned int index
6889 );
6890 
6906 OCI_EXPORT int OCI_API OCI_GetInt2
6907 (
6908  OCI_Resultset *rs,
6909  const otext *name
6910 );
6911 
6927 OCI_EXPORT unsigned int OCI_API OCI_GetUnsignedInt
6928 (
6929  OCI_Resultset *rs,
6930  unsigned int index
6931 );
6932 
6948 OCI_EXPORT unsigned int OCI_API OCI_GetUnsignedInt2
6949 (
6950  OCI_Resultset *rs,
6951  const otext *name
6952 );
6953 
6969 OCI_EXPORT big_int OCI_API OCI_GetBigInt
6970 (
6971  OCI_Resultset *rs,
6972  unsigned int index
6973 );
6974 
6990 OCI_EXPORT big_int OCI_API OCI_GetBigInt2
6991 (
6992  OCI_Resultset *rs,
6993  const otext *name
6994 );
6995 
7011 OCI_EXPORT big_uint OCI_API OCI_GetUnsignedBigInt
7012 (
7013  OCI_Resultset *rs,
7014  unsigned int index
7015 );
7016 
7032 OCI_EXPORT big_uint OCI_API OCI_GetUnsignedBigInt2
7033 (
7034  OCI_Resultset *rs,
7035  const otext *name
7036 );
7037 
7071 OCI_EXPORT const otext * OCI_API OCI_GetString
7072 (
7073  OCI_Resultset *rs,
7074  unsigned int index
7075 );
7076 
7092 OCI_EXPORT const otext * OCI_API OCI_GetString2
7093 (
7094  OCI_Resultset *rs,
7095  const otext *name
7096 );
7097 
7115 OCI_EXPORT unsigned int OCI_API OCI_GetRaw
7116 (
7117  OCI_Resultset *rs,
7118  unsigned int index,
7119  void *buffer,
7120  unsigned int len
7121 );
7122 
7140 OCI_EXPORT unsigned int OCI_API OCI_GetRaw2
7141 (
7142  OCI_Resultset *rs,
7143  const otext *name,
7144  void *buffer,
7145  unsigned int len
7146 );
7147 
7163 OCI_EXPORT double OCI_API OCI_GetDouble
7164 (
7165  OCI_Resultset *rs,
7166  unsigned int index
7167 );
7168 
7184 OCI_EXPORT double OCI_API OCI_GetDouble2
7185 (
7186  OCI_Resultset *rs,
7187  const otext *name
7188 );
7189 
7205 OCI_EXPORT float OCI_API OCI_GetFloat
7206 (
7207  OCI_Resultset *rs,
7208  unsigned int index
7209 );
7210 
7226 OCI_EXPORT float OCI_API OCI_GetFloat2
7227 (
7228  OCI_Resultset *rs,
7229  const otext *name
7230 );
7231 
7247 OCI_EXPORT OCI_Date * OCI_API OCI_GetDate
7248 (
7249  OCI_Resultset *rs,
7250  unsigned int index
7251 );
7252 
7265 OCI_EXPORT OCI_Date * OCI_API OCI_GetDate2
7266 (
7267  OCI_Resultset *rs,
7268  const otext *name
7269 );
7270 
7286 OCI_EXPORT OCI_Timestamp * OCI_API OCI_GetTimestamp
7287 (
7288  OCI_Resultset *rs,
7289  unsigned int index
7290 );
7291 
7304 OCI_EXPORT OCI_Timestamp * OCI_API OCI_GetTimestamp2
7305 (
7306  OCI_Resultset *rs,
7307  const otext *name
7308 );
7309 
7325 OCI_EXPORT OCI_Interval * OCI_API OCI_GetInterval
7326 (
7327  OCI_Resultset *rs,
7328  unsigned int index
7329 );
7330 
7343 OCI_EXPORT OCI_Interval * OCI_API OCI_GetInterval2
7344 (
7345  OCI_Resultset *rs,
7346  const otext *name
7347 );
7348 
7364 OCI_EXPORT OCI_Statement * OCI_API OCI_GetStatement
7365 (
7366  OCI_Resultset *rs,
7367  unsigned int index
7368 );
7369 
7382 OCI_EXPORT OCI_Statement * OCI_API OCI_GetStatement2
7383 (
7384  OCI_Resultset *rs,
7385  const otext *name
7386 );
7387 
7403 OCI_EXPORT OCI_Lob * OCI_API OCI_GetLob
7404 (
7405  OCI_Resultset *rs,
7406  unsigned int index
7407 );
7408 
7421 OCI_EXPORT OCI_Lob * OCI_API OCI_GetLob2
7422 (
7423  OCI_Resultset *rs,
7424  const otext *name
7425 );
7426 
7442 OCI_EXPORT OCI_File * OCI_API OCI_GetFile
7443 (
7444  OCI_Resultset *rs,
7445  unsigned int index
7446 );
7447 
7460 OCI_EXPORT OCI_File * OCI_API OCI_GetFile2
7461 (
7462  OCI_Resultset *rs,
7463  const otext *name
7464 );
7465 
7481 OCI_EXPORT OCI_Object * OCI_API OCI_GetObject
7482 (
7483  OCI_Resultset *rs,
7484  unsigned int index
7485 );
7486 
7499 OCI_EXPORT OCI_Object * OCI_API OCI_GetObject2
7500 (
7501  OCI_Resultset *rs,
7502  const otext *name
7503 );
7504 
7520 OCI_EXPORT OCI_Coll * OCI_API OCI_GetColl
7521 (
7522  OCI_Resultset *rs,
7523  unsigned int index
7524 );
7525 
7538 OCI_EXPORT OCI_Coll * OCI_API OCI_GetColl2
7539 (
7540  OCI_Resultset *rs,
7541  const otext *name
7542 );
7543 
7559 OCI_EXPORT OCI_Ref * OCI_API OCI_GetRef
7560 (
7561  OCI_Resultset *rs,
7562  unsigned int index
7563 );
7564 
7577 OCI_EXPORT OCI_Ref * OCI_API OCI_GetRef2
7578 (
7579  OCI_Resultset *rs,
7580  const otext *name
7581 );
7582 
7598 OCI_EXPORT OCI_Long * OCI_API OCI_GetLong
7599 (
7600  OCI_Resultset *rs,
7601  unsigned int index
7602 );
7603 
7616 OCI_EXPORT OCI_Long * OCI_API OCI_GetLong2
7617 (
7618  OCI_Resultset *rs,
7619  const otext *name
7620 );
7621 
7637 OCI_EXPORT boolean OCI_API OCI_IsNull
7638 (
7639  OCI_Resultset *rs,
7640  unsigned int index
7641 );
7642 
7661 OCI_EXPORT unsigned int OCI_API OCI_GetDataSize
7662 (
7663  OCI_Resultset *rs,
7664  unsigned int index
7665 );
7666 
7682 OCI_EXPORT unsigned int OCI_API OCI_GetDataSize2
7683 (
7684  OCI_Resultset *rs,
7685  const otext *name
7686 );
7687 
7700 OCI_EXPORT boolean OCI_API OCI_IsNull2
7701 (
7702  OCI_Resultset *rs,
7703  const otext *name
7704 );
7705 
7714 OCI_EXPORT OCI_Statement * OCI_API OCI_ResultsetGetStatement
7715 (
7716  OCI_Resultset *rs
7717 );
7718 
7734 OCI_EXPORT unsigned int OCI_API OCI_GetDataLength
7735 (
7736  OCI_Resultset *rs,
7737  unsigned int index
7738 );
7739 
7804 OCI_EXPORT boolean OCI_API OCI_ServerEnableOutput
7805 (
7806  OCI_Connection *con,
7807  unsigned int bufsize,
7808  unsigned int arrsize,
7809  unsigned int lnsize
7810 );
7811 
7826 OCI_EXPORT boolean OCI_API OCI_ServerDisableOutput
7827 (
7828  OCI_Connection *con
7829 );
7830 
7846 OCI_EXPORT const otext * OCI_API OCI_ServerGetOutput
7847 (
7848  OCI_Connection *con
7849 );
7850 
7902 OCI_EXPORT OCI_Coll * OCI_API OCI_CollCreate
7903 (
7904  OCI_TypeInfo *typinf
7905 );
7906 
7922 OCI_EXPORT boolean OCI_API OCI_CollFree
7923 (
7924  OCI_Coll *coll
7925 );
7926 
7943 OCI_EXPORT OCI_Coll ** OCI_API OCI_CollArrayCreate
7944 (
7945  OCI_Connection *con,
7946  OCI_TypeInfo *typinf,
7947  unsigned int nbelem
7948 );
7949 
7965 OCI_EXPORT boolean OCI_API OCI_CollArrayFree
7966 (
7967  OCI_Coll **colls
7968 );
7969 
7985 OCI_EXPORT boolean OCI_API OCI_CollAssign
7986 (
7987  OCI_Coll *coll,
7988  OCI_Coll *coll_src
7989 );
7990 
7999 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_CollGetTypeInfo
8000 (
8001  OCI_Coll *coll
8002 );
8003 
8021 OCI_EXPORT unsigned int OCI_API OCI_CollGetType
8022 (
8023  OCI_Coll *coll
8024 );
8025 
8034 OCI_EXPORT unsigned int OCI_API OCI_CollGetMax
8035 (
8036  OCI_Coll *coll
8037 );
8038 
8047 OCI_EXPORT unsigned int OCI_API OCI_CollGetSize
8048 (
8049  OCI_Coll *coll
8050 );
8051 
8065 OCI_EXPORT unsigned int OCI_API OCI_CollGetCount
8066 (
8067  OCI_Coll *coll
8068 );
8069 
8082 OCI_EXPORT boolean OCI_API OCI_CollTrim
8083 (
8084  OCI_Coll *coll,
8085  unsigned int nb_elem
8086 );
8087 
8099 OCI_EXPORT boolean OCI_API OCI_CollClear
8100 (
8101  OCI_Coll *coll
8102 );
8103 
8119 OCI_EXPORT OCI_Elem * OCI_API OCI_CollGetElem
8120 (
8121  OCI_Coll *coll,
8122  unsigned int index
8123 );
8124 
8141 OCI_EXPORT boolean OCI_API OCI_CollGetElem2
8142 (
8143  OCI_Coll *coll,
8144  unsigned int index,
8145  OCI_Elem *elem
8146 );
8147 
8165 OCI_EXPORT boolean OCI_API OCI_CollSetElem
8166 (
8167  OCI_Coll *coll,
8168  unsigned int index,
8169  OCI_Elem *elem
8170 );
8171 
8184 OCI_EXPORT boolean OCI_API OCI_CollAppend
8185 (
8186  OCI_Coll *coll,
8187  OCI_Elem *elem
8188 );
8189 
8215 OCI_EXPORT boolean OCI_API OCI_CollToText
8216 (
8217  OCI_Coll *coll,
8218  unsigned int *size,
8219  otext *str
8220 );
8221 
8242 OCI_EXPORT boolean OCI_API OCI_CollDeleteElem
8243 (
8244  OCI_Coll *coll,
8245  unsigned int index
8246 );
8247 
8259 OCI_EXPORT OCI_Iter * OCI_API OCI_IterCreate
8260 (
8261  OCI_Coll *coll
8262 );
8263 
8275 OCI_EXPORT boolean OCI_API OCI_IterFree
8276 (
8277  OCI_Iter *iter
8278 );
8279 
8294 OCI_EXPORT OCI_Elem * OCI_API OCI_IterGetNext
8295 (
8296  OCI_Iter *iter
8297 );
8298 
8313 OCI_EXPORT OCI_Elem * OCI_API OCI_IterGetPrev
8314 (
8315  OCI_Iter *iter
8316 );
8317 
8332 OCI_EXPORT OCI_Elem * OCI_API OCI_IterGetCurrent
8333 (
8334  OCI_Iter *iter
8335 );
8336 
8349 OCI_EXPORT OCI_Elem * OCI_API OCI_ElemCreate
8350 (
8351  OCI_TypeInfo *typinf
8352 );
8353 
8369 OCI_EXPORT boolean OCI_API OCI_ElemFree
8370 (
8371  OCI_Elem *elem
8372 );
8373 
8388 OCI_EXPORT boolean OCI_API OCI_ElemGetBoolean
8389 (
8390  OCI_Elem *elem
8391 );
8392 
8404 OCI_EXPORT OCI_Number* OCI_API OCI_ElemGetNumber
8405 (
8406  OCI_Elem *elem
8407 );
8408 
8420 OCI_EXPORT short OCI_API OCI_ElemGetShort
8421 (
8422  OCI_Elem *elem
8423 );
8424 
8436 OCI_EXPORT unsigned short OCI_API OCI_ElemGetUnsignedShort
8437 (
8438  OCI_Elem *elem
8439 );
8440 
8452 OCI_EXPORT int OCI_API OCI_ElemGetInt
8453 (
8454  OCI_Elem *elem
8455 );
8456 
8468 OCI_EXPORT unsigned int OCI_API OCI_ElemGetUnsignedInt
8469 (
8470  OCI_Elem *elem
8471 );
8472 
8484 OCI_EXPORT big_int OCI_API OCI_ElemGetBigInt
8485 (
8486  OCI_Elem *elem
8487 );
8488 
8500 OCI_EXPORT big_uint OCI_API OCI_ElemGetUnsignedBigInt
8501 (
8502  OCI_Elem *elem
8503 );
8504 
8516 OCI_EXPORT double OCI_API OCI_ElemGetDouble
8517 (
8518  OCI_Elem *elem
8519 );
8520 
8532 OCI_EXPORT float OCI_API OCI_ElemGetFloat
8533 (
8534  OCI_Elem *elem
8535 );
8536 
8548 OCI_EXPORT const otext * OCI_API OCI_ElemGetString
8549 (
8550  OCI_Elem *elem
8551 );
8552 
8566 OCI_EXPORT unsigned int OCI_API OCI_ElemGetRaw
8567 (
8568  OCI_Elem *elem,
8569  void *value,
8570  unsigned int len
8571 );
8572 
8584 OCI_EXPORT unsigned int OCI_API OCI_ElemGetRawSize
8585 (
8586  OCI_Elem *elem
8587 );
8588 
8600 OCI_EXPORT OCI_Date * OCI_API OCI_ElemGetDate
8601 (
8602  OCI_Elem *elem
8603 );
8604 
8616 OCI_EXPORT OCI_Timestamp * OCI_API OCI_ElemGetTimestamp
8617 (
8618  OCI_Elem *elem
8619 );
8620 
8632 OCI_EXPORT OCI_Interval * OCI_API OCI_ElemGetInterval
8633 (
8634  OCI_Elem *elem
8635 );
8636 
8648 OCI_EXPORT OCI_Lob * OCI_API OCI_ElemGetLob
8649 (
8650  OCI_Elem *elem
8651 );
8652 
8664 OCI_EXPORT OCI_File * OCI_API OCI_ElemGetFile
8665 (
8666  OCI_Elem *elem
8667 );
8668 
8680 OCI_EXPORT OCI_Object * OCI_API OCI_ElemGetObject
8681 (
8682  OCI_Elem *elem
8683 );
8684 
8696 OCI_EXPORT OCI_Coll * OCI_API OCI_ElemGetColl
8697 (
8698  OCI_Elem *elem
8699 );
8700 
8712 OCI_EXPORT OCI_Ref * OCI_API OCI_ElemGetRef
8713 (
8714  OCI_Elem *elem
8715 );
8716 
8732 OCI_EXPORT boolean OCI_API OCI_ElemSetBoolean
8733 (
8734  OCI_Elem *elem,
8735  boolean value
8736 );
8737 
8750 OCI_EXPORT boolean OCI_API OCI_ElemSetNumber
8751 (
8752  OCI_Elem *elem,
8753  OCI_Number *value
8754 );
8755 
8768 OCI_EXPORT boolean OCI_API OCI_ElemSetShort
8769 (
8770  OCI_Elem *elem,
8771  short value
8772 );
8773 
8786 OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedShort
8787 (
8788  OCI_Elem *elem,
8789  unsigned short value
8790 );
8791 
8804 OCI_EXPORT boolean OCI_API OCI_ElemSetInt
8805 (
8806  OCI_Elem *elem,
8807  int value
8808 );
8809 
8822 OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedInt
8823 (
8824  OCI_Elem *elem,
8825  unsigned int value
8826 );
8827 
8840 OCI_EXPORT boolean OCI_API OCI_ElemSetBigInt
8841 (
8842  OCI_Elem *elem,
8843  big_int value
8844 );
8845 
8858 OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedBigInt
8859 (
8860  OCI_Elem *elem,
8861  big_uint value
8862 );
8863 
8876 OCI_EXPORT boolean OCI_API OCI_ElemSetDouble
8877 (
8878  OCI_Elem *elem,
8879  double value
8880 );
8881 
8894 OCI_EXPORT boolean OCI_API OCI_ElemSetFloat
8895 (
8896  OCI_Elem *elem,
8897  float value
8898 );
8899 
8915 OCI_EXPORT boolean OCI_API OCI_ElemSetString
8916 (
8917  OCI_Elem *elem,
8918  const otext *value
8919 );
8920 
8937 OCI_EXPORT boolean OCI_API OCI_ElemSetRaw
8938 (
8939  OCI_Elem *elem,
8940  void *value,
8941  unsigned int len
8942 );
8943 
8959 OCI_EXPORT boolean OCI_API OCI_ElemSetDate
8960 (
8961  OCI_Elem *elem,
8962  OCI_Date *value
8963 );
8964 
8980 OCI_EXPORT boolean OCI_API OCI_ElemSetTimestamp
8981 (
8982  OCI_Elem *elem,
8983  OCI_Timestamp *value
8984 );
8985 
9001 OCI_EXPORT boolean OCI_API OCI_ElemSetInterval
9002 (
9003  OCI_Elem *elem,
9004  OCI_Interval *value
9005 );
9006 
9022 OCI_EXPORT boolean OCI_API OCI_ElemSetColl
9023 (
9024  OCI_Elem *elem,
9025  OCI_Coll *value
9026 );
9027 
9048 OCI_EXPORT boolean OCI_API OCI_ElemSetObject
9049 (
9050  OCI_Elem *elem,
9051  OCI_Object *value
9052 );
9053 
9069 OCI_EXPORT boolean OCI_API OCI_ElemSetLob
9070 (
9071  OCI_Elem *elem,
9072  OCI_Lob *value
9073 );
9074 
9090 OCI_EXPORT boolean OCI_API OCI_ElemSetFile
9091 (
9092  OCI_Elem *elem,
9093  OCI_File *value
9094 );
9095 
9111 OCI_EXPORT boolean OCI_API OCI_ElemSetRef
9112 (
9113  OCI_Elem *elem,
9114  OCI_Ref *value
9115 );
9116 
9128 OCI_EXPORT boolean OCI_API OCI_ElemIsNull
9129 (
9130  OCI_Elem *elem
9131 );
9132 
9144 OCI_EXPORT boolean OCI_API OCI_ElemSetNull
9145 (
9146  OCI_Elem *elem
9147 );
9148 
9228 OCI_EXPORT OCI_Resultset * OCI_API OCI_GetNextResultset
9229 (
9230  OCI_Statement *stmt
9231 );
9232 
9245 OCI_EXPORT boolean OCI_API OCI_RegisterNumber
9246 (
9247  OCI_Statement *stmt,
9248  const otext *name
9249 );
9250 
9263 OCI_EXPORT boolean OCI_API OCI_RegisterShort
9264 (
9265  OCI_Statement *stmt,
9266  const otext *name
9267 );
9268 
9281 OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedShort
9282 (
9283  OCI_Statement *stmt,
9284  const otext *name
9285 );
9286 
9299 OCI_EXPORT boolean OCI_API OCI_RegisterInt
9300 (
9301  OCI_Statement *stmt,
9302  const otext *name
9303 );
9304 
9317 OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedInt
9318 (
9319  OCI_Statement *stmt,
9320  const otext *name
9321 );
9322 
9335 OCI_EXPORT boolean OCI_API OCI_RegisterBigInt
9336 (
9337  OCI_Statement *stmt,
9338  const otext *name
9339 );
9340 
9353 OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedBigInt
9354 (
9355  OCI_Statement *stmt,
9356  const otext *name
9357 );
9358 
9372 OCI_EXPORT boolean OCI_API OCI_RegisterString
9373 (
9374  OCI_Statement *stmt,
9375  const otext *name,
9376  unsigned int len
9377 );
9378 
9391 OCI_EXPORT boolean OCI_API OCI_RegisterRaw
9392 (
9393  OCI_Statement *stmt,
9394  const otext *name,
9395  unsigned int len
9396 );
9397 
9409 OCI_EXPORT boolean OCI_API OCI_RegisterDouble
9410 (
9411  OCI_Statement *stmt,
9412  const otext *name
9413 );
9414 
9426 OCI_EXPORT boolean OCI_API OCI_RegisterFloat
9427 (
9428  OCI_Statement *stmt,
9429  const otext *name
9430 );
9431 
9443 OCI_EXPORT boolean OCI_API OCI_RegisterDate
9444 (
9445  OCI_Statement *stmt,
9446  const otext *name
9447 );
9448 
9464 OCI_EXPORT boolean OCI_API OCI_RegisterTimestamp
9465 (
9466  OCI_Statement *stmt,
9467  const otext *name,
9468  unsigned int type
9469 );
9470 
9486 OCI_EXPORT boolean OCI_API OCI_RegisterInterval
9487 (
9488  OCI_Statement *stmt,
9489  const otext *name,
9490  unsigned int type
9491 );
9492 
9505 OCI_EXPORT boolean OCI_API OCI_RegisterObject
9506 (
9507  OCI_Statement *stmt,
9508  const otext *name,
9509  OCI_TypeInfo *typinf
9510 );
9511 
9527 OCI_EXPORT boolean OCI_API OCI_RegisterLob
9528 (
9529  OCI_Statement *stmt,
9530  const otext *name,
9531  unsigned int type
9532 );
9533 
9549 OCI_EXPORT boolean OCI_API OCI_RegisterFile
9550 (
9551  OCI_Statement *stmt,
9552  const otext *name,
9553  unsigned int type
9554 );
9555 
9568 OCI_EXPORT boolean OCI_API OCI_RegisterRef
9569 (
9570  OCI_Statement *stmt,
9571  const otext *name,
9572  OCI_TypeInfo *typinf
9573 );
9574 
9629 OCI_EXPORT unsigned int OCI_API OCI_GetStatementType
9630 (
9631  OCI_Statement *stmt
9632 );
9633 
9651 OCI_EXPORT boolean OCI_API OCI_SetFetchMode
9652 (
9653  OCI_Statement *stmt,
9654  unsigned int mode
9655 );
9656 
9669 OCI_EXPORT unsigned int OCI_API OCI_GetFetchMode
9670 (
9671  OCI_Statement *stmt
9672 );
9673 
9688 OCI_EXPORT boolean OCI_API OCI_SetBindMode
9689 (
9690  OCI_Statement *stmt,
9691  unsigned int mode
9692 );
9693 
9709 OCI_EXPORT unsigned int OCI_API OCI_GetBindMode
9710 (
9711  OCI_Statement *stmt
9712 );
9713 
9737 OCI_EXPORT boolean OCI_API OCI_SetBindAllocation
9738 (
9739  OCI_Statement *stmt,
9740  unsigned int mode
9741 );
9742 
9761 OCI_EXPORT unsigned int OCI_API OCI_GetBindAllocation
9762 (
9763  OCI_Statement *stmt
9764 );
9765 
9778 OCI_EXPORT boolean OCI_API OCI_SetFetchSize
9779 (
9780  OCI_Statement *stmt,
9781  unsigned int size
9782 );
9783 
9795 OCI_EXPORT unsigned int OCI_API OCI_GetFetchSize
9796 (
9797  OCI_Statement *stmt
9798 );
9799 
9815 OCI_EXPORT boolean OCI_API OCI_SetPrefetchSize
9816 (
9817  OCI_Statement *stmt,
9818  unsigned int size
9819 );
9820 
9832 OCI_EXPORT unsigned int OCI_API OCI_GetPrefetchSize
9833 (
9834  OCI_Statement *stmt
9835 );
9836 
9860 OCI_EXPORT boolean OCI_API OCI_SetPrefetchMemory
9861 (
9862  OCI_Statement *stmt,
9863  unsigned int size
9864 );
9865 
9877 OCI_EXPORT unsigned int OCI_API OCI_GetPrefetchMemory
9878 (
9879  OCI_Statement *stmt
9880 );
9881 
9894 OCI_EXPORT boolean OCI_API OCI_SetLongMaxSize
9895 (
9896  OCI_Statement *stmt,
9897  unsigned int size
9898 );
9899 
9911 OCI_EXPORT unsigned int OCI_API OCI_GetLongMaxSize
9912 (
9913  OCI_Statement *stmt
9914 );
9915 
9933 OCI_EXPORT boolean OCI_API OCI_SetLongMode
9934 (
9935  OCI_Statement *stmt,
9936  unsigned int mode
9937 );
9938 
9950 OCI_EXPORT unsigned int OCI_API OCI_GetLongMode
9951 (
9952  OCI_Statement *stmt
9953 );
9954 
9963 OCI_EXPORT OCI_Connection * OCI_API OCI_StatementGetConnection
9964 (
9965  OCI_Statement *stmt
9966 );
9967 
10039 OCI_EXPORT OCI_Lob * OCI_API OCI_LobCreate
10040 (
10041  OCI_Connection *con,
10042  unsigned int type
10043 );
10044 
10059 OCI_EXPORT boolean OCI_API OCI_LobFree
10060 (
10061  OCI_Lob *lob
10062 );
10063 
10080 OCI_EXPORT OCI_Lob ** OCI_API OCI_LobArrayCreate
10081 (
10082  OCI_Connection *con,
10083  unsigned int type,
10084  unsigned int nbelem
10085 );
10086 
10102 OCI_EXPORT boolean OCI_API OCI_LobArrayFree
10103 (
10104  OCI_Lob **lobs
10105 );
10106 
10121 OCI_EXPORT unsigned int OCI_API OCI_LobGetType
10122 (
10123  OCI_Lob *lob
10124 );
10125 
10153 OCI_EXPORT boolean OCI_API OCI_LobSeek
10154 (
10155  OCI_Lob *lob,
10156  big_uint offset,
10157  unsigned int mode
10158 );
10159 
10170 OCI_EXPORT big_uint OCI_API OCI_LobGetOffset
10171 (
10172  OCI_Lob *lob
10173 );
10174 
10196 OCI_EXPORT unsigned int OCI_API OCI_LobRead
10197 (
10198  OCI_Lob *lob,
10199  void *buffer,
10200  unsigned int len
10201 );
10202 
10228 OCI_EXPORT boolean OCI_API OCI_LobRead2
10229 (
10230  OCI_Lob *lob,
10231  void *buffer,
10232  unsigned int *char_count,
10233  unsigned int *byte_count
10234 );
10235 
10257 OCI_EXPORT unsigned int OCI_API OCI_LobWrite
10258 (
10259  OCI_Lob *lob,
10260  void *buffer,
10261  unsigned int len
10262 );
10263 
10289 OCI_EXPORT boolean OCI_API OCI_LobWrite2
10290 (
10291  OCI_Lob *lob,
10292  void *buffer,
10293  unsigned int *char_count,
10294  unsigned int *byte_count
10295 );
10296 
10314 OCI_EXPORT boolean OCI_API OCI_LobTruncate
10315 (
10316  OCI_Lob *lob,
10317  big_uint size
10318 );
10319 
10331 OCI_EXPORT big_uint OCI_API OCI_LobGetLength
10332 (
10333  OCI_Lob *lob
10334 );
10335 
10353 OCI_EXPORT unsigned int OCI_API OCI_LobGetChunkSize
10354 (
10355  OCI_Lob *lob
10356 );
10357 
10376 OCI_EXPORT big_uint OCI_API OCI_LobErase
10377 (
10378  OCI_Lob *lob,
10379  big_uint offset,
10380  big_uint len
10381 );
10382 
10401 OCI_EXPORT unsigned int OCI_API OCI_LobAppend
10402 (
10403  OCI_Lob *lob,
10404  void *buffer,
10405  unsigned int len
10406 );
10407 
10433 OCI_EXPORT boolean OCI_API OCI_LobAppend2
10434 (
10435  OCI_Lob *lob,
10436  void *buffer,
10437  unsigned int *char_count,
10438  unsigned int *byte_count
10439 );
10440 
10453 OCI_EXPORT boolean OCI_API OCI_LobAppendLob
10454 (
10455  OCI_Lob *lob,
10456  OCI_Lob *lob_src
10457 );
10458 
10470 OCI_EXPORT boolean OCI_API OCI_LobIsTemporary
10471 (
10472  OCI_Lob *lob
10473 );
10474 
10494 OCI_EXPORT boolean OCI_API OCI_LobCopy
10495 (
10496  OCI_Lob *lob,
10497  OCI_Lob *lob_src,
10498  big_uint offset_dst,
10499  big_uint offset_src,
10500  big_uint count
10501 );
10502 
10523 OCI_EXPORT boolean OCI_API OCI_LobCopyFromFile
10524 (
10525  OCI_Lob *lob,
10526  OCI_File *file,
10527  big_uint offset_dst,
10528  big_uint offset_src,
10529  big_uint count
10530 );
10531 
10554 OCI_EXPORT boolean OCI_API OCI_LobOpen
10555 (
10556  OCI_Lob *lob,
10557  unsigned int mode
10558 );
10559 
10574 OCI_EXPORT boolean OCI_API OCI_LobClose
10575 (
10576  OCI_Lob *lob
10577 );
10578 
10591 OCI_EXPORT boolean OCI_API OCI_LobIsEqual
10592 (
10593  OCI_Lob *lob,
10594  OCI_Lob *lob2
10595 );
10596 
10609 OCI_EXPORT boolean OCI_API OCI_LobAssign
10610 (
10611  OCI_Lob *lob,
10612  OCI_Lob *lob_src
10613 );
10614 
10626 OCI_EXPORT big_uint OCI_API OCI_LobGetMaxSize
10627 (
10628  OCI_Lob *lob
10629 );
10630 
10642 OCI_EXPORT boolean OCI_API OCI_LobFlush
10643 (
10644  OCI_Lob *lob
10645 );
10646 
10671 OCI_EXPORT boolean OCI_API OCI_LobEnableBuffering
10672 (
10673  OCI_Lob *lob,
10674  boolean value
10675 );
10676 
10685 OCI_EXPORT OCI_Connection * OCI_API OCI_LobGetConnection
10686 (
10687  OCI_Lob *lob
10688 );
10689 
10749 OCI_EXPORT OCI_File * OCI_API OCI_FileCreate
10750 (
10751  OCI_Connection *con,
10752  unsigned int type
10753 );
10754 
10769 OCI_EXPORT boolean OCI_API OCI_FileFree
10770 (
10771  OCI_File *file
10772 );
10773 
10790 OCI_EXPORT OCI_File ** OCI_API OCI_FileArrayCreate
10791 (
10792  OCI_Connection *con,
10793  unsigned int type,
10794  unsigned int nbelem
10795 );
10796 
10811 OCI_EXPORT boolean OCI_API OCI_FileArrayFree
10812 (
10813  OCI_File **files
10814 );
10815 
10830 OCI_EXPORT unsigned int OCI_API OCI_FileGetType
10831 (
10832  OCI_File *file
10833 );
10834 
10858 OCI_EXPORT boolean OCI_API OCI_FileSeek
10859 (
10860  OCI_File *file,
10861  big_uint offset,
10862  unsigned int mode
10863 );
10864 
10875 OCI_EXPORT big_uint OCI_API OCI_FileGetOffset
10876 (
10877  OCI_File *file
10878 );
10879 
10893 OCI_EXPORT unsigned int OCI_API OCI_FileRead
10894 (
10895  OCI_File *file,
10896  void *buffer,
10897  unsigned int len
10898 );
10899 
10908 OCI_EXPORT big_uint OCI_API OCI_FileGetSize
10909 (
10910  OCI_File *file
10911 );
10912 
10927 OCI_EXPORT boolean OCI_API OCI_FileExists
10928 (
10929  OCI_File *file
10930 );
10931 
10949 OCI_EXPORT boolean OCI_API OCI_FileSetName
10950 (
10951  OCI_File *file,
10952  const otext *dir,
10953  const otext *name
10954 );
10955 
10964 OCI_EXPORT const otext * OCI_API OCI_FileGetDirectory
10965 (
10966  OCI_File *file
10967 );
10968 
10977 OCI_EXPORT const otext * OCI_API OCI_FileGetName
10978 (
10979  OCI_File *file
10980 );
10981 
10993 OCI_EXPORT boolean OCI_API OCI_FileOpen
10994 (
10995  OCI_File *file
10996 );
10997 
11009 OCI_EXPORT boolean OCI_API OCI_FileIsOpen
11010 (
11011  OCI_File *file
11012 );
11013 
11025 OCI_EXPORT boolean OCI_API OCI_FileClose
11026 (
11027  OCI_File *file
11028 );
11029 
11042 OCI_EXPORT boolean OCI_API OCI_FileIsEqual
11043 (
11044  OCI_File *file,
11045  OCI_File *file2
11046 );
11047 
11060 OCI_EXPORT boolean OCI_API OCI_FileAssign
11061 (
11062  OCI_File *file,
11063  OCI_File *file_src
11064 );
11065 
11074 OCI_EXPORT OCI_Connection * OCI_API OCI_FileGetConnection
11075 (
11076  OCI_File *file
11077 );
11078 
11131 OCI_EXPORT OCI_Long * OCI_API OCI_LongCreate
11132 (
11133  OCI_Statement *stmt,
11134  unsigned int type
11135 );
11136 
11151 OCI_EXPORT boolean OCI_API OCI_LongFree
11152 (
11153  OCI_Long *lg
11154 );
11155 
11170 OCI_EXPORT unsigned int OCI_API OCI_LongGetType
11171 (
11172  OCI_Long *lg
11173 );
11174 
11200 OCI_EXPORT unsigned int OCI_API OCI_LongRead
11201 (
11202  OCI_Long *lg,
11203  void *buffer,
11204  unsigned int len
11205 );
11206 
11221 OCI_EXPORT unsigned int OCI_API OCI_LongWrite
11222 (
11223  OCI_Long *lg,
11224  void *buffer,
11225  unsigned int len
11226 );
11227 
11236 OCI_EXPORT unsigned int OCI_API OCI_LongGetSize
11237 (
11238  OCI_Long *lg
11239 );
11240 
11249 OCI_EXPORT void * OCI_API OCI_LongGetBuffer
11250 (
11251  OCI_Long *lg
11252 );
11253 
11287 OCI_EXPORT OCI_Number * OCI_API OCI_NumberCreate
11288 (
11289  OCI_Connection *con
11290 );
11291 
11306 OCI_EXPORT boolean OCI_API OCI_NumberFree
11307 (
11308  OCI_Number *number
11309 );
11310 
11326 OCI_EXPORT OCI_Number ** OCI_API OCI_NumberArrayCreate
11327 (
11328  OCI_Connection *con,
11329  unsigned int nbelem
11330 );
11331 
11346 OCI_EXPORT boolean OCI_API OCI_NumberArrayFree
11347 (
11348  OCI_Number **numbers
11349 );
11350 
11363 OCI_EXPORT int OCI_API OCI_NumberAssign
11364 (
11365  OCI_Number *number,
11366  OCI_Number *number_src
11367 );
11368 
11388 OCI_EXPORT boolean OCI_API OCI_NumberToText
11389 (
11390  OCI_Number *number,
11391  const otext *fmt,
11392  int size,
11393  otext *str
11394 );
11395 
11414 OCI_EXPORT boolean OCI_API OCI_NumberFromText
11415 (
11416  OCI_Number *number,
11417  const otext *str,
11418  const otext *fmt
11419 );
11420 
11437 OCI_EXPORT unsigned char * OCI_API OCI_NumberGetContent
11438 (
11439  OCI_Number *number
11440 );
11441 
11457 OCI_EXPORT boolean OCI_API OCI_NumberSetContent
11458 (
11459  OCI_Number *number,
11460  unsigned char *content
11461 );
11462 
11489 OCI_EXPORT boolean OCI_API OCI_NumberSetValue
11490 (
11491  OCI_Number *number,
11492  unsigned int type,
11493  void *value
11494 );
11495 
11512 OCI_EXPORT boolean OCI_API OCI_NumberGetValue
11513 (
11514  OCI_Number *number,
11515  unsigned int type,
11516  void *value
11517 );
11518 
11535 OCI_EXPORT boolean OCI_API OCI_NumberAdd
11536 (
11537  OCI_Number *number,
11538  unsigned int type,
11539  void *value
11540 );
11541 
11558 OCI_EXPORT boolean OCI_API OCI_NumberSub
11559 (
11560  OCI_Number *number,
11561  unsigned int type,
11562  void *value
11563 );
11564 
11581 OCI_EXPORT boolean OCI_API OCI_NumberMultiply
11582 (
11583  OCI_Number *number,
11584  unsigned int type,
11585  void *value
11586 );
11587 
11604 OCI_EXPORT boolean OCI_API OCI_NumberDivide
11605 (
11606  OCI_Number *number,
11607  unsigned int type,
11608  void *value
11609 );
11610 
11625 OCI_EXPORT int OCI_API OCI_NumberCompare
11626 (
11627  OCI_Number *number1,
11628  OCI_Number *number2
11629 );
11630 
11667 OCI_EXPORT OCI_Date * OCI_API OCI_DateCreate
11668 (
11669  OCI_Connection *con
11670 );
11671 
11686 OCI_EXPORT boolean OCI_API OCI_DateFree
11687 (
11688  OCI_Date *date
11689 );
11690 
11706 OCI_EXPORT OCI_Date ** OCI_API OCI_DateArrayCreate
11707 (
11708  OCI_Connection *con,
11709  unsigned int nbelem
11710 );
11711 
11726 OCI_EXPORT boolean OCI_API OCI_DateArrayFree
11727 (
11728  OCI_Date **dates
11729 );
11730 
11743 OCI_EXPORT boolean OCI_API OCI_DateAddDays
11744 (
11745  OCI_Date *date,
11746  int nb
11747 );
11748 
11761 OCI_EXPORT boolean OCI_API OCI_DateAddMonths
11762 (
11763  OCI_Date *date,
11764  int nb
11765 );
11766 
11779 OCI_EXPORT int OCI_API OCI_DateAssign
11780 (
11781  OCI_Date *date,
11782  OCI_Date *date_src
11783 );
11784 
11797 OCI_EXPORT int OCI_API OCI_DateCheck
11798 (
11799  OCI_Date *date
11800 );
11801 
11816 OCI_EXPORT int OCI_API OCI_DateCompare
11817 (
11818  OCI_Date *date,
11819  OCI_Date *date2
11820 );
11821 
11834 OCI_EXPORT int OCI_API OCI_DateDaysBetween
11835 (
11836  OCI_Date *date,
11837  OCI_Date *date2
11838 );
11839 
11853 OCI_EXPORT boolean OCI_API OCI_DateFromText
11854 (
11855  OCI_Date *date,
11856  const otext *str,
11857  const otext *fmt
11858 );
11859 
11874 OCI_EXPORT boolean OCI_API OCI_DateToText
11875 (
11876  OCI_Date *date,
11877  const otext *fmt,
11878  int size,
11879  otext *str
11880 );
11881 
11896 OCI_EXPORT boolean OCI_API OCI_DateGetDate
11897 (
11898  OCI_Date *date,
11899  int *year,
11900  int *month,
11901  int *day
11902 );
11903 
11918 OCI_EXPORT boolean OCI_API OCI_DateGetTime
11919 (
11920  OCI_Date *date,
11921  int *hour,
11922  int *min,
11923  int *sec
11924 );
11925 
11943 OCI_EXPORT boolean OCI_API OCI_DateGetDateTime
11944 (
11945  OCI_Date *date,
11946  int *year,
11947  int *month,
11948  int *day,
11949  int *hour,
11950  int *min,
11951  int *sec
11952 );
11953 
11968 OCI_EXPORT boolean OCI_API OCI_DateSetDate
11969 (
11970  OCI_Date *date,
11971  int year,
11972  int month,
11973  int day
11974 );
11975 
11990 OCI_EXPORT boolean OCI_API OCI_DateSetTime
11991 (
11992  OCI_Date *date,
11993  int hour,
11994  int min,
11995  int sec
11996 );
11997 
12015 OCI_EXPORT boolean OCI_API OCI_DateSetDateTime
12016 (
12017  OCI_Date *date,
12018  int year,
12019  int month,
12020  int day,
12021  int hour,
12022  int min,
12023  int sec
12024 );
12025 
12037 OCI_EXPORT boolean OCI_API OCI_DateLastDay
12038 (
12039  OCI_Date *date
12040 );
12041 
12054 OCI_EXPORT boolean OCI_API OCI_DateNextDay
12055 (
12056  OCI_Date *date,
12057  const otext *day
12058 );
12059 
12071 OCI_EXPORT boolean OCI_API OCI_DateSysDate
12072 (
12073  OCI_Date *date
12074 );
12075 
12089 OCI_EXPORT boolean OCI_API OCI_DateZoneToZone
12090 (
12091  OCI_Date *date,
12092  const otext *zone1,
12093  const otext *zone2
12094 );
12095 
12112 OCI_EXPORT boolean OCI_API OCI_DateToCTime
12113 (
12114  OCI_Date *date,
12115  struct tm *ptm,
12116  time_t *pt
12117 );
12118 
12137 OCI_EXPORT boolean OCI_API OCI_DateFromCTime
12138 (
12139  OCI_Date *date,
12140  struct tm *ptm,
12141  time_t t
12142 );
12143 
12188 OCI_EXPORT OCI_Timestamp * OCI_API OCI_TimestampCreate
12189 (
12190  OCI_Connection *con,
12191  unsigned int type
12192 );
12193 
12208 OCI_EXPORT boolean OCI_API OCI_TimestampFree
12209 (
12210  OCI_Timestamp *tmsp
12211 );
12212 
12229 OCI_EXPORT OCI_Timestamp ** OCI_API OCI_TimestampArrayCreate
12230 (
12231  OCI_Connection *con,
12232  unsigned int type,
12233  unsigned int nbelem
12234 );
12235 
12251 OCI_EXPORT boolean OCI_API OCI_TimestampArrayFree
12252 (
12253  OCI_Timestamp **tmsps
12254 );
12255 
12270 OCI_EXPORT unsigned int OCI_API OCI_TimestampGetType
12271 (
12272  OCI_Timestamp *tmsp
12273 );
12274 
12287 OCI_EXPORT boolean OCI_API OCI_TimestampAssign
12288 (
12289  OCI_Timestamp *tmsp,
12290  OCI_Timestamp *tmsp_src
12291 );
12292 
12305 OCI_EXPORT int OCI_API OCI_TimestampCheck
12306 (
12307  OCI_Timestamp *tmsp
12308 );
12309 
12324 OCI_EXPORT int OCI_API OCI_TimestampCompare
12325 (
12326  OCI_Timestamp *tmsp,
12327  OCI_Timestamp *tmsp2
12328 );
12329 
12349 OCI_EXPORT boolean OCI_API OCI_TimestampConstruct
12350 (
12351  OCI_Timestamp *tmsp,
12352  int year,
12353  int month,
12354  int day,
12355  int hour,
12356  int min,
12357  int sec,
12358  int fsec,
12359  const otext *time_zone
12360 );
12361 
12374 OCI_EXPORT boolean OCI_API OCI_TimestampConvert
12375 (
12376  OCI_Timestamp *tmsp,
12377  OCI_Timestamp *tmsp_src
12378 );
12379 
12393 OCI_EXPORT boolean OCI_API OCI_TimestampFromText
12394 (
12395  OCI_Timestamp *tmsp,
12396  const otext *str,
12397  const otext *fmt
12398 );
12399 
12415 OCI_EXPORT boolean OCI_API OCI_TimestampToText
12416 (
12417  OCI_Timestamp *tmsp,
12418  const otext *fmt,
12419  int size,
12420  otext *str,
12421  int precision
12422 );
12423 
12438 OCI_EXPORT boolean OCI_API OCI_TimestampGetDate
12439 (
12440  OCI_Timestamp *tmsp,
12441  int *year,
12442  int *month,
12443  int *day
12444 );
12445 
12461 OCI_EXPORT boolean OCI_API OCI_TimestampGetTime
12462 (
12463  OCI_Timestamp *tmsp,
12464  int *hour,
12465  int *min,
12466  int *sec,
12467  int *fsec
12468 );
12469 
12488 OCI_EXPORT boolean OCI_API OCI_TimestampGetDateTime
12489 (
12490  OCI_Timestamp *tmsp,
12491  int *year,
12492  int *month,
12493  int *day,
12494  int *hour,
12495  int *min,
12496  int *sec,
12497  int *fsec
12498 );
12499 
12513 OCI_EXPORT boolean OCI_API OCI_TimestampGetTimeZoneName
12514 (
12515  OCI_Timestamp *tmsp,
12516  int size,
12517  otext *str
12518 );
12519 
12533 OCI_EXPORT boolean OCI_API OCI_TimestampGetTimeZoneOffset
12534 (
12535  OCI_Timestamp *tmsp,
12536  int *hour,
12537  int *min
12538 );
12539 
12552 OCI_EXPORT boolean OCI_API OCI_TimestampIntervalAdd
12553 (
12554  OCI_Timestamp *tmsp,
12555  OCI_Interval *itv
12556 );
12557 
12570 OCI_EXPORT boolean OCI_API OCI_TimestampIntervalSub
12571 (
12572  OCI_Timestamp *tmsp,
12573  OCI_Interval *itv
12574 );
12575 
12592 OCI_EXPORT boolean OCI_API OCI_TimestampSubtract
12593 (
12594  OCI_Timestamp *tmsp,
12595  OCI_Timestamp *tmsp2,
12596  OCI_Interval *itv
12597 );
12598 
12611 OCI_EXPORT boolean OCI_API OCI_TimestampSysTimestamp
12612 (
12613  OCI_Timestamp *tmsp
12614 );
12615 
12632 OCI_EXPORT boolean OCI_API OCI_TimestampToCTime
12633 (
12634  OCI_Timestamp *tmsp,
12635  struct tm *ptm,
12636  time_t *pt
12637 );
12638 
12657 OCI_EXPORT boolean OCI_API OCI_TimestampFromCTime
12658 (
12659  OCI_Timestamp *tmsp,
12660  struct tm *ptm,
12661  time_t t
12662 );
12663 
12685 OCI_EXPORT OCI_Interval * OCI_API OCI_IntervalCreate
12686 (
12687  OCI_Connection *con,
12688  unsigned int type
12689 );
12690 
12706 OCI_EXPORT boolean OCI_API OCI_IntervalFree
12707 (
12708  OCI_Interval *itv
12709 );
12710 
12727 OCI_EXPORT OCI_Interval ** OCI_API OCI_IntervalArrayCreate
12728 (
12729  OCI_Connection *con,
12730  unsigned int type,
12731  unsigned int nbelem
12732 );
12733 
12749 OCI_EXPORT boolean OCI_API OCI_IntervalArrayFree
12750 (
12751  OCI_Interval **itvs
12752 );
12753 
12768 OCI_EXPORT unsigned int OCI_API OCI_IntervalGetType
12769 (
12770  OCI_Interval *itv
12771 );
12772 
12785 OCI_EXPORT boolean OCI_API OCI_IntervalAssign
12786 (
12787  OCI_Interval *itv,
12788  OCI_Interval *itv_src
12789 );
12790 
12803 OCI_EXPORT int OCI_API OCI_IntervalCheck
12804 (
12805  OCI_Interval *itv
12806 );
12807 
12822 OCI_EXPORT int OCI_API OCI_IntervalCompare
12823 (
12824  OCI_Interval *itv,
12825  OCI_Interval *itv2
12826 );
12827 
12840 OCI_EXPORT boolean OCI_API OCI_IntervalFromText
12841 (
12842  OCI_Interval *itv,
12843  const otext *str
12844 );
12845 
12861 OCI_EXPORT boolean OCI_API OCI_IntervalToText
12862 (
12863  OCI_Interval *itv,
12864  int leading_prec,
12865  int fraction_prec,
12866  int size,
12867  otext *str
12868 );
12869 
12882 OCI_EXPORT boolean OCI_API OCI_IntervalFromTimeZone
12883 (
12884  OCI_Interval *itv,
12885  const otext *str
12886 );
12887 
12904 OCI_EXPORT boolean OCI_API OCI_IntervalGetDaySecond
12905 (
12906  OCI_Interval *itv,
12907  int *day,
12908  int *hour,
12909  int *min,
12910  int *sec,
12911  int *fsec
12912 );
12913 
12927 OCI_EXPORT boolean OCI_API OCI_IntervalGetYearMonth
12928 (
12929  OCI_Interval *itv,
12930  int *year,
12931  int *month
12932 );
12933 
12950 OCI_EXPORT boolean OCI_API OCI_IntervalSetDaySecond
12951 (
12952  OCI_Interval *itv,
12953  int day,
12954  int hour,
12955  int min,
12956  int sec,
12957  int fsec
12958 );
12959 
12973 OCI_EXPORT boolean OCI_API OCI_IntervalSetYearMonth
12974 (
12975  OCI_Interval *itv,
12976  int year,
12977  int month
12978 );
12979 
12992 OCI_EXPORT boolean OCI_API OCI_IntervalAdd
12993 (
12994  OCI_Interval *itv,
12995  OCI_Interval *itv2
12996 );
12997 
13010 OCI_EXPORT boolean OCI_API OCI_IntervalSubtract
13011 (
13012  OCI_Interval *itv,
13013  OCI_Interval *itv2
13014 );
13015 
13075 OCI_EXPORT OCI_Object * OCI_API OCI_ObjectCreate
13076 (
13077  OCI_Connection *con,
13078  OCI_TypeInfo *typinf
13079 );
13080 
13096 OCI_EXPORT boolean OCI_API OCI_ObjectFree
13097 (
13098  OCI_Object *obj
13099 );
13100 
13117 OCI_EXPORT OCI_Object ** OCI_API OCI_ObjectArrayCreate
13118 (
13119  OCI_Connection *con,
13120  OCI_TypeInfo *typinf,
13121  unsigned int nbelem
13122 );
13123 
13139 OCI_EXPORT boolean OCI_API OCI_ObjectArrayFree
13140 (
13141  OCI_Object **objs
13142 );
13143 
13162 OCI_EXPORT boolean OCI_API OCI_ObjectAssign
13163 (
13164  OCI_Object *obj,
13165  OCI_Object *obj_src
13166 );
13167 
13186 OCI_EXPORT unsigned int OCI_API OCI_ObjectGetType
13187 (
13188  OCI_Object *obj
13189 );
13190 
13208 OCI_EXPORT boolean OCI_API OCI_ObjectGetSelfRef
13209 (
13210  OCI_Object *obj,
13211  OCI_Ref *ref
13212 );
13213 
13222 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_ObjectGetTypeInfo
13223 (
13224  OCI_Object *obj
13225 );
13226 
13247 OCI_EXPORT boolean OCI_API OCI_ObjectGetBoolean
13248 (
13249  OCI_Object *obj,
13250  const otext *attr
13251 );
13252 
13270 OCI_EXPORT OCI_Number* OCI_API OCI_ObjectGetNumber
13271 (
13272  OCI_Object *obj,
13273  const otext *attr
13274 );
13275 
13293 OCI_EXPORT short OCI_API OCI_ObjectGetShort
13294 (
13295  OCI_Object *obj,
13296  const otext *attr
13297 );
13298 
13316 OCI_EXPORT unsigned short OCI_API OCI_ObjectGetUnsignedShort
13317 (
13318  OCI_Object *obj,
13319  const otext *attr
13320 );
13321 
13339 OCI_EXPORT int OCI_API OCI_ObjectGetInt
13340 (
13341  OCI_Object *obj,
13342  const otext *attr
13343 );
13344 
13362 OCI_EXPORT unsigned int OCI_API OCI_ObjectGetUnsignedInt
13363 (
13364  OCI_Object *obj,
13365  const otext *attr
13366 );
13367 
13385 OCI_EXPORT big_int OCI_API OCI_ObjectGetBigInt
13386 (
13387  OCI_Object *obj,
13388  const otext *attr
13389 );
13390 
13408 OCI_EXPORT big_uint OCI_API OCI_ObjectGetUnsignedBigInt
13409 (
13410  OCI_Object *obj,
13411  const otext *attr
13412 );
13413 
13431 OCI_EXPORT double OCI_API OCI_ObjectGetDouble
13432 (
13433  OCI_Object *obj,
13434  const otext *attr
13435 );
13436 
13454 OCI_EXPORT float OCI_API OCI_ObjectGetFloat
13455 (
13456  OCI_Object *obj,
13457  const otext *attr
13458 );
13459 
13477 OCI_EXPORT const otext * OCI_API OCI_ObjectGetString
13478 (
13479  OCI_Object *obj,
13480  const otext *attr
13481 );
13482 
13503 OCI_EXPORT int OCI_API OCI_ObjectGetRaw
13504 (
13505  OCI_Object *obj,
13506  const otext *attr,
13507  void *value,
13508  unsigned int len
13509 );
13510 
13528 OCI_EXPORT unsigned int OCI_API OCI_ObjectGetRawSize
13529 (
13530  OCI_Object *obj,
13531  const otext *attr
13532 );
13533 
13551 OCI_EXPORT OCI_Date * OCI_API OCI_ObjectGetDate
13552 (
13553  OCI_Object *obj,
13554  const otext *attr
13555 );
13556 
13574 OCI_EXPORT OCI_Timestamp * OCI_API OCI_ObjectGetTimestamp
13575 (
13576  OCI_Object *obj,
13577  const otext *attr
13578 );
13579 
13597 OCI_EXPORT OCI_Interval * OCI_API OCI_ObjectGetInterval
13598 (
13599  OCI_Object *obj,
13600  const otext *attr
13601 );
13602 
13620 OCI_EXPORT OCI_Coll * OCI_API OCI_ObjectGetColl
13621 (
13622  OCI_Object *obj,
13623  const otext *attr
13624 );
13625 
13643 OCI_EXPORT OCI_Ref * OCI_API OCI_ObjectGetRef
13644 (
13645  OCI_Object *obj,
13646  const otext *attr
13647 );
13648 
13666 OCI_EXPORT OCI_Object * OCI_API OCI_ObjectGetObject
13667 (
13668  OCI_Object *obj,
13669  const otext *attr
13670 );
13671 
13689 OCI_EXPORT OCI_Lob * OCI_API OCI_ObjectGetLob
13690 (
13691  OCI_Object *obj,
13692  const otext *attr
13693 );
13694 
13712 OCI_EXPORT OCI_File * OCI_API OCI_ObjectGetFile
13713 (
13714  OCI_Object *obj,
13715  const otext *attr
13716 );
13717 
13734 OCI_EXPORT boolean OCI_API OCI_ObjectSetBoolean
13735 (
13736  OCI_Object *obj,
13737  const otext *attr,
13738  boolean value
13739 );
13740 
13754 OCI_EXPORT boolean OCI_API OCI_ObjectSetNumber
13755 (
13756  OCI_Object *obj,
13757  const otext *attr,
13758  OCI_Number *value
13759 );
13760 
13774 OCI_EXPORT boolean OCI_API OCI_ObjectSetShort
13775 (
13776  OCI_Object *obj,
13777  const otext *attr,
13778  short value
13779 );
13780 
13794 OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedShort
13795 (
13796  OCI_Object *obj,
13797  const otext *attr,
13798  unsigned short value
13799 );
13800 
13814 OCI_EXPORT boolean OCI_API OCI_ObjectSetInt
13815 (
13816  OCI_Object *obj,
13817  const otext *attr,
13818  int value
13819 );
13820 
13834 OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedInt
13835 (
13836  OCI_Object *obj,
13837  const otext *attr,
13838  unsigned int value
13839 );
13840 
13854 OCI_EXPORT boolean OCI_API OCI_ObjectSetBigInt
13855 (
13856  OCI_Object *obj,
13857  const otext *attr,
13858  big_int value
13859 );
13860 
13874 OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedBigInt
13875 (
13876  OCI_Object *obj,
13877  const otext *attr,
13878  big_uint value
13879 );
13880 
13894 OCI_EXPORT boolean OCI_API OCI_ObjectSetDouble
13895 (
13896  OCI_Object *obj,
13897  const otext *attr,
13898  double value
13899 );
13900 
13914 OCI_EXPORT boolean OCI_API OCI_ObjectSetFloat
13915 (
13916  OCI_Object *obj,
13917  const otext *attr,
13918  float value
13919 );
13920 
13937 OCI_EXPORT boolean OCI_API OCI_ObjectSetString
13938 (
13939  OCI_Object *obj,
13940  const otext *attr,
13941  const otext *value
13942 );
13943 
13961 OCI_EXPORT boolean OCI_API OCI_ObjectSetRaw
13962 (
13963  OCI_Object *obj,
13964  const otext *attr,
13965  void *value,
13966  unsigned int len
13967 );
13968 
13985 OCI_EXPORT boolean OCI_API OCI_ObjectSetDate
13986 (
13987  OCI_Object *obj,
13988  const otext *attr,
13989  OCI_Date *value
13990 );
13991 
14008 OCI_EXPORT boolean OCI_API OCI_ObjectSetTimestamp
14009 (
14010  OCI_Object *obj,
14011  const otext *attr,
14012  OCI_Timestamp *value
14013 );
14014 
14031 OCI_EXPORT boolean OCI_API OCI_ObjectSetInterval
14032 (
14033  OCI_Object *obj,
14034  const otext *attr,
14035  OCI_Interval *value
14036 );
14037 
14054 OCI_EXPORT boolean OCI_API OCI_ObjectSetColl
14055 (
14056  OCI_Object *obj,
14057  const otext *attr,
14058  OCI_Coll *value
14059 );
14060 
14082 OCI_EXPORT boolean OCI_API OCI_ObjectSetObject
14083 (
14084  OCI_Object *obj,
14085  const otext *attr,
14086  OCI_Object *value
14087 );
14088 
14105 OCI_EXPORT boolean OCI_API OCI_ObjectSetLob
14106 (
14107  OCI_Object *obj,
14108  const otext *attr,
14109  OCI_Lob *value
14110 );
14111 
14128 OCI_EXPORT boolean OCI_API OCI_ObjectSetFile
14129 (
14130  OCI_Object *obj,
14131  const otext *attr,
14132  OCI_File *value
14133 );
14134 
14151 OCI_EXPORT boolean OCI_API OCI_ObjectSetRef
14152 (
14153  OCI_Object *obj,
14154  const otext *attr,
14155  OCI_Ref *value
14156 );
14157 
14170 OCI_EXPORT boolean OCI_API OCI_ObjectIsNull
14171 (
14172  OCI_Object *obj,
14173  const otext *attr
14174 );
14175 
14188 OCI_EXPORT boolean OCI_API OCI_ObjectSetNull
14189 (
14190  OCI_Object *obj,
14191  const otext *attr
14192 );
14193 
14213 OCI_EXPORT boolean OCI_API OCI_ObjectGetStruct
14214 (
14215  OCI_Object *obj,
14216  void **pp_struct,
14217  void **pp_ind
14218 );
14219 
14245 OCI_EXPORT boolean OCI_API OCI_ObjectToText
14246 (
14247  OCI_Object *obj,
14248  unsigned int *size,
14249  otext *str
14250 );
14251 
14264 OCI_EXPORT OCI_Ref * OCI_API OCI_RefCreate
14265 (
14266  OCI_Connection *con,
14267  OCI_TypeInfo *typinf
14268 );
14269 
14285 OCI_EXPORT boolean OCI_API OCI_RefFree
14286 (
14287  OCI_Ref *ref
14288 );
14289 
14306 OCI_EXPORT OCI_Ref ** OCI_API OCI_RefArrayCreate
14307 (
14308  OCI_Connection *con,
14309  OCI_TypeInfo *typinf,
14310  unsigned int nbelem
14311 );
14312 
14328 OCI_EXPORT boolean OCI_API OCI_RefArrayFree
14329 (
14330  OCI_Ref **refs
14331 );
14332 
14348 OCI_EXPORT boolean OCI_API OCI_RefAssign
14349 (
14350  OCI_Ref *ref,
14351  OCI_Ref *ref_src
14352 );
14353 
14362 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_RefGetTypeInfo
14363 (
14364  OCI_Ref *ref
14365 );
14366 
14378 OCI_EXPORT OCI_Object * OCI_API OCI_RefGetObject
14379 (
14380  OCI_Ref *ref
14381 );
14382 
14394 OCI_EXPORT boolean OCI_API OCI_RefIsNull
14395 (
14396  OCI_Ref *ref
14397 );
14398 
14412 OCI_EXPORT boolean OCI_API OCI_RefSetNull
14413 (
14414  OCI_Ref *ref
14415 );
14416 
14429 OCI_EXPORT unsigned int OCI_API OCI_RefGetHexSize
14430 (
14431  OCI_Ref *ref
14432 );
14433 
14447 OCI_EXPORT boolean OCI_API OCI_RefToText
14448 (
14449  OCI_Ref *ref,
14450  unsigned int size,
14451  otext *str
14452 );
14453 
14499 OCI_EXPORT boolean OCI_API OCI_Break
14500 (
14501  OCI_Connection *con
14502 );
14503 
14541 OCI_EXPORT OCI_TypeInfo * OCI_API OCI_TypeInfoGet
14542 (
14543  OCI_Connection *con,
14544  const otext *name,
14545  unsigned int type
14546 );
14547 
14567 OCI_EXPORT unsigned int OCI_API OCI_TypeInfoGetType
14568 (
14569  OCI_TypeInfo *typinf
14570 );
14571 
14580 OCI_EXPORT OCI_Connection * OCI_API OCI_TypeInfoGetConnection
14581 (
14582  OCI_TypeInfo *typinf
14583 );
14584 
14601 OCI_EXPORT boolean OCI_API OCI_TypeInfoFree
14602 (
14603  OCI_TypeInfo *typinf
14604 );
14605 
14614 OCI_EXPORT unsigned int OCI_API OCI_TypeInfoGetColumnCount
14615 (
14616  OCI_TypeInfo *typinf
14617 );
14618 
14632 OCI_EXPORT OCI_Column * OCI_API OCI_TypeInfoGetColumn
14633 (
14634  OCI_TypeInfo *typinf,
14635  unsigned int index
14636 );
14637 
14646 OCI_EXPORT const otext * OCI_API OCI_TypeInfoGetName
14647 (
14648  OCI_TypeInfo *typinf
14649 );
14650 
14750 OCI_EXPORT boolean OCI_Immediate
14751 (
14752  OCI_Connection *con,
14753  const otext *sql,
14754  ...
14755 );
14756 
14770 OCI_EXPORT boolean OCI_ImmediateFmt
14771 (
14772  OCI_Connection *con,
14773  const otext *sql,
14774  ...
14775 );
14776 
14789 OCI_EXPORT boolean OCI_PrepareFmt
14790 (
14791  OCI_Statement *stmt,
14792  const otext *sql,
14793  ...
14794 );
14795 
14817 OCI_EXPORT boolean OCI_ExecuteStmtFmt
14818 (
14819  OCI_Statement *stmt,
14820  const otext *sql,
14821  ...
14822 );
14823 
14853 OCI_EXPORT boolean OCI_ParseFmt
14854 (
14855  OCI_Statement *stmt,
14856  const otext *sql,
14857  ...
14858 );
14859 
14892 OCI_EXPORT boolean OCI_DescribeFmt
14893 (
14894  OCI_Statement *stmt,
14895  const otext *sql,
14896  ...
14897 );
14898 
14960 OCI_EXPORT OCI_HashTable * OCI_API OCI_HashCreate
14961 (
14962  unsigned int size,
14963  unsigned int type
14964 );
14965 
14977 OCI_EXPORT boolean OCI_API OCI_HashFree
14978 (
14979  OCI_HashTable *table
14980 );
14981 
14990 OCI_EXPORT unsigned int OCI_API OCI_HashGetSize
14991 (
14992  OCI_HashTable *table
14993 );
14994 
15013 OCI_EXPORT unsigned int OCI_API OCI_HashGetType
15014 (
15015  OCI_HashTable *table
15016 );
15017 
15031 OCI_EXPORT boolean OCI_API OCI_HashAddString
15032 (
15033  OCI_HashTable *table,
15034  const otext *key,
15035  const otext *value
15036 );
15037 
15050 OCI_EXPORT const otext * OCI_API OCI_HashGetString
15051 (
15052  OCI_HashTable *table,
15053  const otext *key
15054 );
15055 
15069 OCI_EXPORT boolean OCI_API OCI_HashAddInt
15070 (
15071  OCI_HashTable *table,
15072  const otext *key,
15073  int value
15074 );
15075 
15088 OCI_EXPORT int OCI_API OCI_HashGetInt
15089 (
15090  OCI_HashTable *table,
15091  const otext *key
15092 );
15093 
15107 OCI_EXPORT boolean OCI_API OCI_HashAddPointer
15108 (
15109  OCI_HashTable *table,
15110  const otext *key,
15111  void *value
15112 );
15113 
15126 OCI_EXPORT void * OCI_API OCI_HashGetPointer
15127 (
15128  OCI_HashTable *table,
15129  const otext *key
15130 );
15131 
15145 OCI_EXPORT OCI_HashEntry * OCI_API OCI_HashLookup
15146 (
15147  OCI_HashTable *table,
15148  const otext *key,
15149  boolean create
15150 );
15151 
15164 OCI_EXPORT OCI_HashValue * OCI_API OCI_HashGetValue
15165 (
15166  OCI_HashTable *table,
15167  const otext *key
15168 );
15169 
15185 OCI_EXPORT OCI_HashEntry * OCI_API OCI_HashGetEntry
15186 (
15187  OCI_HashTable *table,
15188  unsigned int index
15189 );
15190 
15241 OCI_EXPORT OCI_Mutex * OCI_API OCI_MutexCreate
15242 (
15243  void
15244 );
15245 
15257 OCI_EXPORT boolean OCI_API OCI_MutexFree
15258 (
15259  OCI_Mutex *mutex
15260 );
15261 
15273 OCI_EXPORT boolean OCI_API OCI_MutexAcquire
15274 (
15275  OCI_Mutex *mutex
15276 );
15277 
15289 OCI_EXPORT boolean OCI_API OCI_MutexRelease
15290 (
15291  OCI_Mutex *mutex
15292 );
15293 
15303 OCI_EXPORT OCI_Thread * OCI_API OCI_ThreadCreate
15304 (
15305  void
15306 );
15307 
15319 OCI_EXPORT boolean OCI_API OCI_ThreadFree
15320 (
15321  OCI_Thread *thread
15322 );
15323 
15337 OCI_EXPORT boolean OCI_API OCI_ThreadRun
15338 (
15339  OCI_Thread *thread,
15340  POCI_THREAD proc,
15341  void *arg
15342 );
15343 
15358 OCI_EXPORT boolean OCI_API OCI_ThreadJoin
15359 (
15360  OCI_Thread *thread
15361 );
15362 
15379 OCI_EXPORT boolean OCI_API OCI_ThreadKeyCreate
15380 (
15381  const otext *name,
15382  POCI_THREADKEYDEST destfunc
15383 );
15384 
15397 OCI_EXPORT boolean OCI_API OCI_ThreadKeySetValue
15398 (
15399  const otext *name,
15400  void *value
15401 );
15402 
15414 OCI_EXPORT void * OCI_API OCI_ThreadKeyGetValue
15415 (
15416  const otext *name
15417 );
15418 
15513 OCI_EXPORT OCI_DirPath * OCI_API OCI_DirPathCreate
15514 (
15515  OCI_TypeInfo *typinf,
15516  const otext *partition,
15517  unsigned int nb_cols,
15518  unsigned int nb_rows
15519 );
15520 
15531 OCI_EXPORT boolean OCI_API OCI_DirPathFree
15532 (
15533  OCI_DirPath *dp
15534 );
15535 
15557 OCI_EXPORT boolean OCI_API OCI_DirPathSetColumn
15558 (
15559  OCI_DirPath *dp,
15560  unsigned int index,
15561  const otext *name,
15562  unsigned int maxsize,
15563  const otext *format
15564 );
15565 
15578 OCI_EXPORT boolean OCI_API OCI_DirPathPrepare
15579 (
15580  OCI_DirPath *dp
15581 );
15582 
15623 OCI_EXPORT boolean OCI_API OCI_DirPathSetEntry
15624 (
15625  OCI_DirPath *dp,
15626  unsigned int row,
15627  unsigned int index,
15628  void *value,
15629  unsigned size,
15630  boolean complete
15631 );
15632 
15663 OCI_EXPORT unsigned int OCI_API OCI_DirPathConvert
15664 (
15665  OCI_DirPath *dp
15666 );
15667 
15690 OCI_EXPORT unsigned int OCI_API OCI_DirPathLoad
15691 (
15692  OCI_DirPath *dp
15693 );
15694 
15711 OCI_EXPORT boolean OCI_API OCI_DirPathReset
15712 (
15713  OCI_DirPath *dp
15714 );
15715 
15735 OCI_EXPORT boolean OCI_API OCI_DirPathFinish
15736 (
15737  OCI_DirPath *dp
15738 );
15739 
15759 OCI_EXPORT boolean OCI_API OCI_DirPathAbort
15760 (
15761  OCI_DirPath *dp
15762 );
15763 
15778 OCI_EXPORT boolean OCI_API OCI_DirPathSave
15779 (
15780  OCI_DirPath *dp
15781 );
15782 
15794 OCI_EXPORT boolean OCI_API OCI_DirPathFlushRow
15795 (
15796  OCI_DirPath *dp
15797 );
15798 
15815 OCI_EXPORT boolean OCI_API OCI_DirPathSetCurrentRows
15816 (
15817  OCI_DirPath *dp,
15818  unsigned int nb_rows
15819 );
15820 
15833 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetCurrentRows
15834 (
15835  OCI_DirPath *dp
15836 );
15837 
15850 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetMaxRows
15851 (
15852  OCI_DirPath *dp
15853 );
15854 
15873 OCI_EXPORT boolean OCI_API OCI_DirPathSetDateFormat
15874 (
15875  OCI_DirPath *dp,
15876  const otext *format
15877 );
15878 
15910 OCI_EXPORT boolean OCI_API OCI_DirPathSetParallel
15911 (
15912  OCI_DirPath *dp,
15913  boolean value
15914 );
15915 
15935 OCI_EXPORT boolean OCI_API OCI_DirPathSetNoLog
15936 (
15937  OCI_DirPath *dp,
15938  boolean value
15939 );
15940 
15960 OCI_EXPORT boolean OCI_API OCI_DirPathSetCacheSize
15961 (
15962  OCI_DirPath *dp,
15963  unsigned int size
15964 );
15965 
15981 OCI_EXPORT boolean OCI_API OCI_DirPathSetBufferSize
15982 (
15983  OCI_DirPath *dp,
15984  unsigned int size
15985 );
15986 
16010 OCI_EXPORT boolean OCI_API OCI_DirPathSetConvertMode
16011 (
16012  OCI_DirPath *dp,
16013  unsigned int mode
16014 );
16015 
16027 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetRowCount
16028 (
16029  OCI_DirPath *dp
16030 );
16031 
16047 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetAffectedRows
16048 (
16049  OCI_DirPath *dp
16050 );
16051 
16081 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetErrorColumn
16082 (
16083  OCI_DirPath *dp
16084 );
16085 
16123 OCI_EXPORT unsigned int OCI_API OCI_DirPathGetErrorRow
16124 (
16125  OCI_DirPath *dp
16126 );
16127 
16224 OCI_EXPORT OCI_Msg * OCI_API OCI_MsgCreate
16225 (
16226  OCI_TypeInfo *typinf
16227 );
16228 
16243 OCI_EXPORT boolean OCI_API OCI_MsgFree
16244 (
16245  OCI_Msg *msg
16246 );
16247 
16267 OCI_EXPORT boolean OCI_API OCI_MsgReset
16268 (
16269  OCI_Msg *msg
16270 );
16271 
16283 OCI_EXPORT OCI_Object * OCI_API OCI_MsgGetObject
16284 (
16285  OCI_Msg *msg
16286 );
16287 
16300 OCI_EXPORT boolean OCI_API OCI_MsgSetObject
16301 (
16302  OCI_Msg *msg,
16303  OCI_Object *obj
16304 );
16305 
16322 OCI_EXPORT boolean OCI_API OCI_MsgGetRaw
16323 (
16324  OCI_Msg *msg,
16325  void *raw,
16326  unsigned int *size
16327 );
16328 
16342 OCI_EXPORT boolean OCI_API OCI_MsgSetRaw
16343 (
16344  OCI_Msg *msg,
16345  const void *raw,
16346  unsigned int size
16347 );
16348 
16357 OCI_EXPORT int OCI_API OCI_MsgGetAttemptCount
16358 (
16359  OCI_Msg *msg
16360 );
16361 
16373 OCI_EXPORT int OCI_API OCI_MsgGetEnqueueDelay
16374 (
16375  OCI_Msg *msg
16376 );
16377 
16405 OCI_EXPORT boolean OCI_API OCI_MsgSetEnqueueDelay
16406 (
16407  OCI_Msg *msg,
16408  int value
16409 );
16410 
16422 OCI_EXPORT OCI_Date * OCI_API OCI_MsgGetEnqueueTime
16423 (
16424  OCI_Msg *msg
16425 );
16426 
16438 OCI_EXPORT int OCI_API OCI_MsgGetExpiration
16439 (
16440  OCI_Msg *msg
16441 );
16442 
16467 OCI_EXPORT boolean OCI_API OCI_MsgSetExpiration
16468 (
16469  OCI_Msg *msg,
16470  int value
16471 );
16472 
16488 OCI_EXPORT unsigned int OCI_API OCI_MsgGetState
16489 (
16490  OCI_Msg *msg
16491 );
16492 
16504 OCI_EXPORT int OCI_API OCI_MsgGetPriority
16505 (
16506  OCI_Msg *msg
16507 );
16508 
16526 OCI_EXPORT boolean OCI_API OCI_MsgSetPriority
16527 (
16528  OCI_Msg *msg,
16529  int value
16530 );
16531 
16553 OCI_EXPORT boolean OCI_API OCI_MsgGetID
16554 (
16555  OCI_Msg *msg,
16556  void *id,
16557  unsigned int *len
16558 );
16559 
16580 OCI_EXPORT boolean OCI_API OCI_MsgGetOriginalID
16581 (
16582  OCI_Msg *msg,
16583  void *id,
16584  unsigned int *len
16585 );
16586 
16604 OCI_EXPORT boolean OCI_API OCI_MsgSetOriginalID
16605 (
16606  OCI_Msg *msg,
16607  const void *id,
16608  unsigned int len
16609 );
16610 
16622 OCI_EXPORT OCI_Agent * OCI_API OCI_MsgGetSender
16623 (
16624  OCI_Msg *msg
16625 );
16626 
16639 OCI_EXPORT boolean OCI_API OCI_MsgSetSender
16640 (
16641  OCI_Msg *msg,
16642  OCI_Agent *sender
16643 );
16644 
16662 OCI_EXPORT boolean OCI_API OCI_MsgSetConsumers
16663 (
16664  OCI_Msg *msg,
16665  OCI_Agent **consumers,
16666  unsigned int count
16667 );
16668 
16680 OCI_EXPORT const otext * OCI_API OCI_MsgGetCorrelation
16681 (
16682  OCI_Msg *msg
16683 );
16684 
16700 OCI_EXPORT boolean OCI_API OCI_MsgSetCorrelation
16701 (
16702  OCI_Msg *msg,
16703  const otext *correlation
16704 );
16705 
16721 OCI_EXPORT const otext * OCI_API OCI_MsgGetExceptionQueue
16722 (
16723  OCI_Msg *msg
16724 );
16725 
16757 OCI_EXPORT boolean OCI_API OCI_MsgSetExceptionQueue
16758 (
16759  OCI_Msg *msg,
16760  const otext *queue
16761 );
16762 
16790 OCI_EXPORT OCI_Enqueue * OCI_API OCI_EnqueueCreate
16791 (
16792  OCI_TypeInfo *typinf,
16793  const otext *name
16794 );
16795 
16807 OCI_EXPORT boolean OCI_API OCI_EnqueueFree
16808 (
16809  OCI_Enqueue *enqueue
16810 );
16811 
16824 OCI_EXPORT boolean OCI_API OCI_EnqueuePut
16825 (
16826  OCI_Enqueue *enqueue,
16827  OCI_Msg *msg
16828 );
16829 
16858 OCI_EXPORT boolean OCI_API OCI_EnqueueSetSequenceDeviation
16859 (
16860  OCI_Enqueue *enqueue,
16861  unsigned int sequence
16862 );
16863 
16875 OCI_EXPORT unsigned int OCI_API OCI_EnqueueGetSequenceDeviation
16876 (
16877  OCI_Enqueue *enqueue
16878 );
16879 
16900 OCI_EXPORT boolean OCI_API OCI_EnqueueSetVisibility
16901 (
16902  OCI_Enqueue *enqueue,
16903  unsigned int visibility
16904 );
16905 
16917 OCI_EXPORT unsigned int OCI_API OCI_EnqueueGetVisibility
16918 (
16919  OCI_Enqueue *enqueue
16920 );
16921 
16945 OCI_EXPORT boolean OCI_API OCI_EnqueueSetRelativeMsgID
16946 (
16947  OCI_Enqueue *enqueue,
16948  const void *id,
16949  unsigned int len
16950 );
16951 
16972 OCI_EXPORT boolean OCI_API OCI_EnqueueGetRelativeMsgID
16973 (
16974  OCI_Enqueue *enqueue,
16975  void *id,
16976  unsigned int *len
16977 );
16978 
17006 OCI_EXPORT OCI_Dequeue * OCI_API OCI_DequeueCreate
17007 (
17008  OCI_TypeInfo *typinf,
17009  const otext *name
17010 );
17011 
17023 OCI_EXPORT boolean OCI_API OCI_DequeueFree
17024 (
17025  OCI_Dequeue *dequeue
17026 );
17027 
17048 OCI_EXPORT OCI_Msg * OCI_API OCI_DequeueGet
17049 (
17050  OCI_Dequeue *dequeue
17051 );
17052 
17074 OCI_EXPORT boolean OCI_API OCI_DequeueSubscribe
17075 (
17076  OCI_Dequeue *dequeue,
17077  unsigned int port,
17078  unsigned int timeout,
17079  POCI_NOTIFY_AQ callback
17080 );
17081 
17093 OCI_EXPORT boolean OCI_API OCI_DequeueUnsubscribe
17094 (
17095  OCI_Dequeue *dequeue
17096 );
17097 
17114 OCI_EXPORT boolean OCI_API OCI_DequeueSetConsumer
17115 (
17116  OCI_Dequeue *dequeue,
17117  const otext *consumer
17118 );
17119 
17131 OCI_EXPORT const otext * OCI_API OCI_DequeueGetConsumer
17132 (
17133  OCI_Dequeue *dequeue
17134 );
17135 
17152 OCI_EXPORT boolean OCI_API OCI_DequeueSetCorrelation
17153 (
17154  OCI_Dequeue *dequeue,
17155  const otext *pattern
17156 );
17157 
17169 OCI_EXPORT const otext * OCI_API OCI_DequeueGetCorrelation
17170 (
17171  OCI_Dequeue *dequeue
17172 );
17173 
17190 OCI_EXPORT boolean OCI_API OCI_DequeueSetRelativeMsgID
17191 (
17192  OCI_Dequeue *dequeue,
17193  const void *id,
17194  unsigned int len
17195 );
17196 
17213 OCI_EXPORT boolean OCI_API OCI_DequeueGetRelativeMsgID
17214 (
17215  OCI_Dequeue *dequeue,
17216  void *id,
17217  unsigned int *len
17218 );
17219 
17244 OCI_EXPORT boolean OCI_API OCI_DequeueSetVisibility
17245 (
17246  OCI_Dequeue *dequeue,
17247  unsigned int visibility
17248 );
17249 
17261 OCI_EXPORT unsigned int OCI_API OCI_DequeueGetVisibility
17262 (
17263  OCI_Dequeue *dequeue
17264 );
17265 
17289 OCI_EXPORT boolean OCI_API OCI_DequeueSetMode
17290 (
17291  OCI_Dequeue *dequeue,
17292  unsigned int mode
17293 );
17294 
17306 OCI_EXPORT unsigned int OCI_API OCI_DequeueGetMode
17307 (
17308  OCI_Dequeue *dequeue
17309 );
17310 
17343 OCI_EXPORT boolean OCI_API OCI_DequeueSetNavigation
17344 (
17345  OCI_Dequeue *dequeue,
17346  unsigned int position
17347 );
17348 
17360 OCI_EXPORT unsigned int OCI_API OCI_DequeueGetNavigation
17361 (
17362  OCI_Dequeue *dequeue
17363 );
17364 
17388 OCI_EXPORT boolean OCI_API OCI_DequeueSetWaitTime
17389 (
17390  OCI_Dequeue *dequeue,
17391  int timeout
17392 );
17393 
17405 OCI_EXPORT int OCI_API OCI_DequeueGetWaitTime
17406 (
17407  OCI_Dequeue *dequeue
17408 );
17409 
17422 OCI_EXPORT boolean OCI_API OCI_DequeueSetAgentList
17423 (
17424  OCI_Dequeue *dequeue,
17425  OCI_Agent **consumers,
17426  unsigned int count
17427 );
17428 
17452 OCI_EXPORT OCI_Agent * OCI_API OCI_DequeueListen
17453 (
17454  OCI_Dequeue *dequeue,
17455  int timeout
17456 );
17457 
17481 OCI_EXPORT OCI_Agent * OCI_API OCI_AgentCreate
17482 (
17483  OCI_Connection *con,
17484  const otext *name,
17485  const otext *address
17486 );
17487 
17502 OCI_EXPORT boolean OCI_API OCI_AgentFree
17503 (
17504  OCI_Agent *agent
17505 );
17506 
17526 OCI_EXPORT boolean OCI_API OCI_AgentSetName
17527 (
17528  OCI_Agent *agent,
17529  const otext *name
17530 );
17531 
17543 OCI_EXPORT const otext * OCI_API OCI_AgentGetName
17544 (
17545  OCI_Agent *agent
17546 );
17547 
17566 OCI_EXPORT boolean OCI_API OCI_AgentSetAddress
17567 (
17568  OCI_Agent *agent,
17569  const otext *address
17570 );
17571 
17586 OCI_EXPORT const otext * OCI_API OCI_AgentGetAddress
17587 (
17588  OCI_Agent *agent
17589 );
17590 
17632 OCI_EXPORT boolean OCI_API OCI_QueueCreate
17633 (
17634  OCI_Connection *con,
17635  const otext *queue_name,
17636  const otext *queue_table,
17637  unsigned int queue_type,
17638  unsigned int max_retries,
17639  unsigned int retry_delay,
17640  unsigned int retention_time,
17641  boolean dependency_tracking,
17642  const otext *comment
17643 );
17644 
17672 OCI_EXPORT boolean OCI_API OCI_QueueAlter
17673 (
17674  OCI_Connection *con,
17675  const otext *queue_name,
17676  unsigned int max_retries,
17677  unsigned int retry_delay,
17678  unsigned int retention_time,
17679  const otext *comment
17680 );
17681 
17701 OCI_EXPORT boolean OCI_API OCI_QueueDrop
17702 (
17703  OCI_Connection *con,
17704  const otext *queue_name
17705 );
17706 
17728 OCI_EXPORT boolean OCI_API OCI_QueueStart
17729 (
17730  OCI_Connection *con,
17731  const otext *queue_name,
17732  boolean enqueue,
17733  boolean dequeue
17734 );
17735 
17758 OCI_EXPORT boolean OCI_API OCI_QueueStop
17759 (
17760  OCI_Connection *con,
17761  const otext *queue_name,
17762  boolean enqueue,
17763  boolean dequeue,
17764  boolean wait
17765 );
17766 
17820 OCI_EXPORT boolean OCI_API OCI_QueueTableCreate
17821 (
17822  OCI_Connection *con,
17823  const otext *queue_table,
17824  const otext *queue_payload_type,
17825  const otext *storage_clause,
17826  const otext *sort_list,
17827  boolean multiple_consumers,
17828  unsigned int message_grouping,
17829  const otext *comment,
17830  unsigned int primary_instance,
17831  unsigned int secondary_instance,
17832  const otext *compatible
17833 );
17834 
17857 OCI_EXPORT boolean OCI_API OCI_QueueTableAlter
17858 (
17859  OCI_Connection *con,
17860  const otext *queue_table,
17861  const otext *comment,
17862  unsigned int primary_instance,
17863  unsigned int secondary_instance
17864 );
17865 
17890 OCI_EXPORT boolean OCI_API OCI_QueueTableDrop
17891 (
17892  OCI_Connection *con,
17893  const otext *queue_table,
17894  boolean force
17895 );
17896 
17930 OCI_EXPORT boolean OCI_API OCI_QueueTablePurge
17931 (
17932  OCI_Connection *con,
17933  const otext *queue_table,
17934  const otext *purge_condition,
17935  boolean block,
17936  unsigned int delivery_mode
17937 );
17938 
17960 OCI_EXPORT boolean OCI_API OCI_QueueTableMigrate
17961 (
17962  OCI_Connection *con,
17963  const otext *queue_table,
17964  const otext *compatible
17965 );
17966 
18067 OCI_EXPORT OCI_Subscription * OCI_API OCI_SubscriptionRegister
18068 (
18069  OCI_Connection *con,
18070  const otext *name,
18071  unsigned int type,
18072  POCI_NOTIFY handler,
18073  unsigned int port,
18074  unsigned int timeout
18075 );
18076 
18101 OCI_EXPORT boolean OCI_API OCI_SubscriptionUnregister
18102 (
18103  OCI_Subscription *sub
18104 );
18105 
18129 OCI_EXPORT boolean OCI_API OCI_SubscriptionAddStatement
18130 (
18131  OCI_Subscription *sub,
18132  OCI_Statement *stmt
18133 );
18134 
18147 OCI_EXPORT const otext * OCI_API OCI_SubscriptionGetName
18148 (
18149  OCI_Subscription *sub
18150 );
18151 
18164 OCI_EXPORT unsigned int OCI_API OCI_SubscriptionGetPort
18165 (
18166  OCI_Subscription *sub
18167 );
18168 
18181 OCI_EXPORT unsigned int OCI_API OCI_SubscriptionGetTimeout
18182 (
18183  OCI_Subscription *sub
18184 );
18185 
18197 OCI_EXPORT OCI_Connection * OCI_API OCI_SubscriptionGetConnection
18198 (
18199 OCI_Subscription *sub
18200 );
18201 
18231 OCI_EXPORT unsigned int OCI_API OCI_EventGetType
18232 (
18233  OCI_Event *event
18234 );
18235 
18272 OCI_EXPORT unsigned int OCI_API OCI_EventGetOperation
18273 (
18274  OCI_Event *event
18275 );
18276 
18289 OCI_EXPORT const otext * OCI_API OCI_EventGetDatabase
18290 (
18291  OCI_Event *event
18292 );
18293 
18306 OCI_EXPORT const otext * OCI_API OCI_EventGetObject
18307 (
18308  OCI_Event *event
18309 );
18310 
18323 OCI_EXPORT const otext * OCI_API OCI_EventGetRowid
18324 (
18325  OCI_Event *event
18326 );
18327 
18340 OCI_EXPORT OCI_Subscription * OCI_API OCI_EventGetSubscription
18341 (
18342  OCI_Event *event
18343 );
18344 
18408 OCI_EXPORT boolean OCI_API OCI_DatabaseStartup
18409 (
18410  const otext *db,
18411  const otext *user,
18412  const otext *pwd,
18413  unsigned int sess_mode,
18414  unsigned int start_mode,
18415  unsigned int start_flag,
18416  const otext *spfile
18417 );
18418 
18473 OCI_EXPORT boolean OCI_API OCI_DatabaseShutdown
18474 (
18475  const otext *db,
18476  const otext *user,
18477  const otext *pwd,
18478  unsigned int sess_mode,
18479  unsigned int shut_mode,
18480  unsigned int shut_flag
18481 );
18482 
18527 OCI_EXPORT const void * OCI_API OCI_HandleGetEnvironment
18528 (
18529  void
18530 );
18531 
18543 OCI_EXPORT const void * OCI_API OCI_HandleGetContext
18544 (
18545  OCI_Connection *con
18546 );
18547 
18559 OCI_EXPORT const void * OCI_API OCI_HandleGetServer
18560 (
18561  OCI_Connection *con
18562 );
18563 
18575 OCI_EXPORT const void * OCI_API OCI_HandleGetError
18576 (
18577  OCI_Connection *con
18578 );
18579 
18591 OCI_EXPORT const void * OCI_API OCI_HandleGetSession
18592 (
18593  OCI_Connection *con
18594 );
18595 
18607 OCI_EXPORT const void * OCI_API OCI_HandleGetTransaction
18608 (
18609  OCI_Transaction *trans
18610 );
18611 
18623 OCI_EXPORT const void * OCI_API OCI_HandleGetStatement
18624 (
18625  OCI_Statement *stmt
18626 );
18627 
18639 OCI_EXPORT const void * OCI_API OCI_HandleGetLob
18640 (
18641  OCI_Lob *lob
18642 );
18643 
18655 OCI_EXPORT const void * OCI_API OCI_HandleGetFile
18656 (
18657  OCI_File *file
18658 );
18659 
18671 OCI_EXPORT const void * OCI_API OCI_HandleGetDate
18672 (
18673  OCI_Date *date
18674 );
18675 
18687 OCI_EXPORT const void * OCI_API OCI_HandleGetTimestamp
18688 (
18689  OCI_Timestamp *tmsp
18690 );
18691 
18703 OCI_EXPORT const void * OCI_API OCI_HandleGetInterval
18704 (
18705  OCI_Interval *itv
18706 );
18707 
18719 OCI_EXPORT const void * OCI_API OCI_HandleGetObject
18720 (
18721  OCI_Object *obj
18722 );
18723 
18735 OCI_EXPORT const void * OCI_API OCI_HandleGetColl
18736 (
18737  OCI_Coll *coll
18738 );
18739 
18751 OCI_EXPORT const void * OCI_API OCI_HandleGetRef
18752 (
18753  OCI_Ref *ref
18754 );
18755 
18767 OCI_EXPORT const void * OCI_API OCI_HandleGetMutex
18768 (
18769  OCI_Mutex *mutex
18770 );
18771 
18783 OCI_EXPORT const void * OCI_API OCI_HandleGetThreadID
18784 (
18785  OCI_Thread *thread
18786 );
18787 
18799 OCI_EXPORT const void * OCI_API OCI_HandleGetThread
18800 (
18801  OCI_Thread *thread
18802 );
18803 
18815 OCI_EXPORT const void * OCI_API OCI_HandleGetDirPathCtx
18816 (
18817  OCI_DirPath *dp
18818 );
18819 
18831 OCI_EXPORT const void * OCI_API OCI_HandleGetDirPathColArray
18832 (
18833  OCI_DirPath *dp
18834 );
18835 
18847 OCI_EXPORT const void * OCI_API OCI_HandleGetDirPathStream
18848 (
18849  OCI_DirPath *dp
18850 );
18851 
18863 OCI_EXPORT const void * OCI_API OCI_HandleGetSubscription
18864 (
18865  OCI_Subscription *sub
18866 );
18867 
18872 #ifdef __cplusplus
18873 }
18874 #endif
18875 
18892 #define VAR_OCILIB_WORKAROUND_UTF16_COLUMN_NAME "OCILIB_WORKAROUND_UTF16_COLUMN_NAME"
18893 
18911 /* Compatibility with sources built with older versions of OCILIB */
18912 
18913 /* macros added in version 2.3.0 */
18914 
18915 #define OCI_CreateConnection OCI_ConnectionCreate
18916 #define OCI_FreeConnection OCI_ConnectionFree
18917 #define OCI_CreateStatement OCI_StatementCreate
18918 #define OCI_FreeStatement OCI_StatementFree
18919 
18920 /* macros added in version 2.4.0 */
18921 
18922 #define OCI_CreateTransaction OCI_TransactionCreate
18923 #define OCI_FreeTransaction OCI_TransactionFree
18924 #define OCI_CreateHashTable OCI_HashCreate
18925 #define OCI_FreeHashTable OCI_HashFree
18926 
18927 /* macros added in version 3.0.0 */
18928 
18929 #define OCI_GetColumnName OCI_ColumnGetName
18930 #define OCI_GetColumnType OCI_ColumnGetType
18931 #define OCI_GetColumnCharsetForm OCI_ColumnGetCharsetForm
18932 #define OCI_GetColumnSQLType OCI_ColumnGetSQLType
18933 #define OCI_GetColumnFullSQLType OCI_ColumnGetFullSQLType
18934 #define OCI_GetColumnSize OCI_ColumnGetSize
18935 #define OCI_GetColumnScale OCI_ColumnGetScale
18936 #define OCI_GetColumnPrecision OCI_ColumnGetPrecision
18937 #define OCI_GetColumnFractionnalPrecision OCI_ColumnGetFractionnalPrecision
18938 #define OCI_GetColumnLeadingPrecision OCI_ColumnGetLeadingPrecision
18939 #define OCI_GetColumnNullable OCI_ColumnGetNullable
18940 #define OCI_GetColumnCharUsed OCI_ColumnGetCharUsed
18941 
18942 #define OCI_GetFormatDate(s) OCI_GetDefaultFormatDate(OCI_StatementGetConnection(s))
18943 #define OCI_SetFormatDate(s, f) OCI_SetDefaultFormatDate(OCI_StatementGetConnection(s), f)
18944 
18945 #define OCI_ERR_API OCI_ERR_ORACLE
18946 
18947 /* macros added in version 3.2.0 */
18948 
18949 #define OCI_ERR_NOT_SUPPORTED OCI_ERR_DATATYPE_NOT_SUPPORTED
18950 #define OCI_SCHEMA_TABLE OCI_TIF_TABLE
18951 #define OCI_SCHEMA_VIEW OCI_TIF_VIEW
18952 #define OCI_SCHEMA_TYPE OCI_TIF_TYPE
18953 
18954 #define OCI_Schema OCI_TypeInfo
18955 
18956 #define OCI_SchemaGet OCI_TypeInfoGet
18957 #define OCI_SchemaFree OCI_TypeInfoFree
18958 #define OCI_SchemaGetColumnCount OCI_TypeInfoGetColumnCount
18959 #define OCI_SchemaGetColumn OCI_TypeInfoGetColumn
18960 #define OCI_SchemaGetName OCI_TypeInfoGetName
18961 
18962 #define OCI_ColumnGetFractionnalPrecision OCI_ColumnGetFractionalPrecision
18963 
18964 /* macro added in version 3.3.0 */
18965 
18992 #define OCI_SetNull(stmt, index) \
18993  OCI_BindSetNull(OCI_GetBind(stmt, index))
18994 
19018 #define OCI_SetNull2(stmt, name) \
19019  OCI_BindSetNull(OCI_GetBind2(stmt, name))
19020 
19049 #define OCI_SetNullAtPos(stmt, index, position) \
19050  OCI_BindSetNullAtPos(OCI_GetBind(stmt, index), position)
19051 
19080 #define OCI_SetNullAtPos2(stmt, name, position) \
19081  OCI_BindSetNullAtPos(OCI_GetBind2(stmt, name), position)
19082 
19083 /* macro added in version 3.4.0 */
19084 
19085 #define OCI_8 OCI_8_1
19086 #define OCI_9 OCI_9_0
19087 #define OCI_10 OCI_10_1
19088 #define OCI_11 OCI_11_1
19089 
19090 /* macro added in version 3.6.0 */
19091 
19092 #define OCI_CHAR_UNICODE OCI_CHAR_WIDE
19093 #define OCI_CSF_CHARSET OCI_CSF_DEFAULT
19094 
19095 /* macro added in version 3.7.0 */
19096 
19097 #define OCI_ConnPool OCI_Pool
19098 
19099 #define OCI_ConnPoolCreate(db, us, pw, mo, mi, ma, in) \
19100  OCI_PoolCreate(db, us, pw, OCI_POOL_CONNECTION, mo, mi, ma, in)
19101 
19102 #define OCI_ConnPoolGetConnection(p) \
19103  OCI_PoolGetConnection(p, NULL)
19104 
19105 #define OCI_ConnPoolFree OCI_PoolFree
19106 #define OCI_ConnPoolGetTimeout OCI_PoolGetConnection
19107 #define OCI_ConnPoolSetTimeout OCI_PoolSetTimeout
19108 #define OCI_ConnPoolGetNoWait OCI_PoolGetNoWait
19109 #define OCI_ConnPoolSetNoWait OCI_PoolSetNoWait
19110 #define OCI_ConnPoolGetBusyCount OCI_PoolGetBusyCount
19111 #define OCI_ConnPoolGetOpenedCount OCI_PoolGetOpenedCount
19112 #define OCI_ConnPoolGetMin OCI_PoolGetMin
19113 #define OCI_ConnPoolGetMax OCI_PoolGetMax
19114 #define OCI_ConnPoolGetIncrement OCI_PoolGetIncrement
19115 
19116 /* macro added in version 3.8.0 */
19117 
19118 #define OCI_ObjectGetTimeStamp OCI_ObjectGetTimestamp
19119 #define OCI_ElemGetTimeStamp OCI_ElemGetTimestamp
19120 #define OCI_TimestampSysTimeStamp OCI_TimestampSysTimestamp
19121 
19122 /* macro added in version 4.0.0 */
19123 
19124 #define OCI_CollSetAt OCI_CollSetElem
19125 #define OCI_CollGetAt OCI_CollGetElem
19126 #define OCI_CollGetAt2 OCI_CollGetElem2
19127 
19128 #define OCI_GetCharsetMetaData OCI_GetCharset
19129 #define OCI_GetCharsetUserData OCI_GetCharset
19130 #define OCI_SIZE_TRACE_INF0 OCI_SIZE_TRACE_INFO
19131 
19132 #define MT(x) OTEXT(x)
19133 #define mtext otext
19134 #define DT(x) OTEXT(x)
19135 #define dtext otext
19136 
19137 #define mtsdup ostrdup
19138 #define mtscpy ostrcpy
19139 #define mtsncpy ostrncpy
19140 #define mtscat ostrcat
19141 #define mtsncat ostrncat
19142 #define mtslen ostrlen
19143 #define mtscmp ostrcmp
19144 #define mtscasecmp ostrcasecmp
19145 #define mtsprintf osprintf
19146 #define mtstol ostrtol
19147 #define mtsscanf osscanf
19148 
19149 #define dtsdup ostrdup
19150 #define dtscpy ostrcpy
19151 #define dtsncpy ostrncpy
19152 #define dtscat ostrcat
19153 #define dtsncat ostrncat
19154 #define dtslen ostrlen
19155 #define dtscmp ostrcmp
19156 #define dtscasecmp ostrcasecmp
19157 #define dtsprintf osprintf
19158 #define dtstol ostrtol
19159 #define dtsscanf osscanf
19160 
19161 /* macro added in version 4.1.0 */
19162 
19163 #define OCI_SetDefaultFormatDate(con, fmt) OCI_SetFormat(con, OCI_FMT_DATE, fmt)
19164 #define OCI_SetDefaultFormatNumeric(con, fmt) OCI_SetFormat(con, OCI_FMT_NUMERIC, fmt)
19165 
19166 #define OCI_GetDefaultFormatDate(con) OCI_GetFormat(con, OCI_FMT_DATE)
19167 #define OCI_GetDefaultFormatNumeric(con) OCI_GetFormat(con, OCI_FMT_NUMERIC)
19168 
19169 #define OCI_STRING_FORMAT_NUM_BIN OCI_STRING_FORMAT_NUM_BDOUBLE
19170 
19175 #endif /* OCILIB_H_INCLUDED */
19176 
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 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 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 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_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_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 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.