ocilib.h
/*
* OCILIB - C Driver for Oracle (C Wrapper for Oracle OCI)
*
* Website: http://www.ocilib.net
*
* Copyright (c) 2007-2017 Vincent ROGIER <vince.rogier@ocilib.net>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* IMPORTANT NOTICE
*
* This file contains explanations about Oracle and OCI technologies.
* OCILIB is a wrapper around OCI and thus exposes OCI features.
* The OCILIB documentation intends to explain Oracle / OCI concepts
* and is naturally based on the official Oracle OCI documentation.
*
* Some parts of OCILIB documentation may include some informations
* taken and adapted from the following Oracle documentations :
* - Oracle Call Interface Programmer's Guide
* - Oracle Streams - Advanced Queuing User's Guide
*/
#ifndef OCILIB_H_INCLUDED
#define OCILIB_H_INCLUDED
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/* --------------------------------------------------------------------------------------------- *
* Platform configuration
* --------------------------------------------------------------------------------------------- */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* --------------------------------------------------------------------------------------------- *
* C headers
* --------------------------------------------------------------------------------------------- */
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <ctype.h>
#include <wctype.h>
#include <string.h>
#include <time.h>
#include <limits.h>
/* --------------------------------------------------------------------------------------------- *
* MS Windows platform detection
* --------------------------------------------------------------------------------------------- */
#ifndef _WINDOWS
#if defined(_WIN32)|| defined(WIN32) || defined(_WIN64) || defined(WIN64) || defined(_WIN32_WINNT)
#define _WINDOWS
#endif
#endif
#ifdef _WINDOWS
#ifdef boolean
#undef boolean
#endif
#include <windows.h>
#ifdef boolean
#undef boolean
#endif
#endif
/* --------------------------------------------------------------------------------------------- *
* OCILIB version information
* --------------------------------------------------------------------------------------------- */
#define OCILIB_MAJOR_VERSION 4
#define OCILIB_MINOR_VERSION 4
#define OCILIB_REVISION_VERSION 0
/* Import mode */
#define OCI_IMPORT_MODE_LINKAGE 1
#define OCI_IMPORT_MODE_RUNTIME 2
#ifdef OCI_IMPORT_RUNTIME
#undef OCI_IMPORT_LINKAGE
#endif
#ifdef OCI_IMPORT_LINKAGE
#undef OCI_IMPORT_RUNTIME
#endif
#if !defined(OCI_IMPORT_RUNTIME) && !defined(OCI_IMPORT_LINKAGE)
#define OCI_IMPORT_LINKAGE
#endif
#ifdef OCI_IMPORT_RUNTIME
#define OCI_IMPORT_MODE OCI_IMPORT_MODE_RUNTIME
#else
#define OCI_IMPORT_MODE OCI_IMPORT_MODE_LINKAGE
#endif
/* Charset modes */
#ifdef OCI_CHARSET_UNICODE
#define OCI_CHARSET_WIDE
#endif
#ifdef OCI_CHARSET_WIDE
#undef OCI_CHARSET_ANSI
#endif
#ifdef OCI_CHARSET_ANSI
#undef OCI_CHARSET_ANSI
#endif
#if !defined(OCI_CHARSET_ANSI) && !defined(OCI_CHARSET_WIDE)
#define OCI_CHARSET_ANSI
#endif
/* Calling convention */
#ifndef OCI_API
#ifdef _MSC_VER
#define OCI_API __stdcall
#else
#define OCI_API
#endif
#endif
/* Build mode */
#ifndef OCI_EXPORT
#define OCI_EXPORT
#endif
#if defined(__cplusplus) && defined(_MSC_VER) && (_MSC_VER < 1300)
extern "C++" {
#endif
#include <wchar.h>
#if defined(__cplusplus) && defined(_MSC_VER) && (_MSC_VER < 1300)
}
#endif
/* Charset macros */
#define OCI_CHAR_ANSI 1
#define OCI_CHAR_WIDE 2
#ifdef OCI_CHARSET_ANSI
typedef char otext;
#define OTEXT(x) x
#define OCI_CHAR_TEXT OCI_CHAR_ANSI
#else
typedef wchar_t otext;
#define OTEXT(x) L ## x
#define OCI_CHAR_TEXT OCI_CHAR_WIDE
#endif
/*
For ISO conformance, strdup/wcsdup/stricmp/strncasecmp are not used.
All wide char routines are part of the 1995 Normative Addendum 1 to the ISO C90 standard.
OCILIB also needs an ANSI equivalent to swprintf => ocisprintf
Thus OCILIB exports the following helper functions
*/
OCI_EXPORT int ocisprintf
(
char *str,
int size,
const char *format,
...
);
OCI_EXPORT char * ocistrdup
(
const char * src
);
OCI_EXPORT int ocistrcasecmp
(
const char *str1,
const char *str2
);
OCI_EXPORT wchar_t * ociwcsdup
(
const wchar_t * src
);
OCI_EXPORT int ociwcscasecmp
(
const wchar_t *str1,
const wchar_t *str2
);
/* special defines for Microsoft C runtime that is not C ISO compliant */
#ifdef _WINDOWS
#define vsnprintf _vsnprintf
#define swprintf _snwprintf
#endif
/* helpers mapping macros */
#ifdef OCI_CHARSET_ANSI
#define ostrdup ocistrdup
#define ostrcpy strcpy
#define ostrncpy strncpy
#define ostrcat strcat
#define ostrncat strncat
#define ostrlen strlen
#define ostrcmp strcmp
#define ostrcasecmp ocistrcasecmp
#define osprintf ocisprintf
#define ostrtol strtol
#define osscanf sscanf
#define otoupper toupper
#define oisdigit isdigit
#else
#define ostrdup ociwcsdup
#define ostrcpy wcscpy
#define ostrncpy wcsncpy
#define ostrcat wcscat
#define ostrncat wcsncat
#define ostrlen wcslen
#define ostrcmp wcscmp
#define ostrcasecmp ociwcscasecmp
#define osprintf swprintf
#define ostrtol wcstol
#define osscanf swscanf
#define otoupper towupper
#define oisdigit iswdigit
#endif
/* string size macros */
#define otextsize(s) (ostrlen(s) * sizeof(otext))
typedef struct OCI_Pool OCI_Pool;
typedef struct OCI_Connection OCI_Connection;
typedef struct OCI_Statement OCI_Statement;
typedef struct OCI_Bind OCI_Bind;
typedef struct OCI_Resultset OCI_Resultset;
typedef struct OCI_Column OCI_Column;
typedef struct OCI_Lob OCI_Lob;
typedef struct OCI_File OCI_File;
typedef struct OCI_Transaction OCI_Transaction;
typedef struct OCI_Long OCI_Long;
typedef struct OCI_Number OCI_Number;
typedef struct OCI_Date OCI_Date;
typedef struct OCI_Timestamp OCI_Timestamp;
typedef struct OCI_Interval OCI_Interval;
typedef struct OCI_Object OCI_Object;
typedef struct OCI_Coll OCI_Coll;
typedef struct OCI_Elem OCI_Elem;
typedef struct OCI_Iter OCI_Iter;
typedef struct OCI_Ref OCI_Ref;
typedef struct OCI_TypeInfo OCI_TypeInfo;
typedef struct OCI_HashTable OCI_HashTable;
typedef struct OCI_Error OCI_Error;
typedef struct OCI_Mutex OCI_Mutex;
typedef struct OCI_Thread OCI_Thread;
typedef struct OCI_DirPath OCI_DirPath;
typedef struct OCI_Subscription OCI_Subscription;
typedef struct OCI_Event OCI_Event;
typedef struct OCI_Msg OCI_Msg;
typedef struct OCI_Agent OCI_Agent;
typedef struct OCI_Dequeue OCI_Dequeue;
typedef struct OCI_Enqueue OCI_Enqueue;
typedef void (*POCI_ERROR)
(
OCI_Error *err
);
typedef void (*POCI_THREAD)
(
OCI_Thread *thread,
void *arg
);
typedef void (*POCI_THREADKEYDEST)
(
void *data
);
typedef void (*POCI_NOTIFY)
(
OCI_Event *event
);
typedef void (*POCI_NOTIFY_AQ)
(
OCI_Dequeue *dequeue
);
typedef unsigned int (*POCI_TAF_HANDLER)
(
OCI_Connection *con,
unsigned int type,
unsigned int event
);
typedef void (*POCI_HA_HANDLER)
(
OCI_Connection *con,
unsigned int source,
unsigned int event,
OCI_Timestamp *time
);
/* public structures */
typedef struct OCI_XID {
long formatID;
long gtrid_length;
long bqual_length;
char data[128];
} OCI_XID;
typedef union OCI_Variant {
/* integers */
int num;
/* raw data */
unsigned char *p_bytes;
/* pointer to c natives types */
void *p_void;
int *p_int;
float *p_float;
double *p_double;
otext *p_text;
/* ocilib object types */
OCI_Date *p_date;
OCI_Interval *p_interval;
OCI_Timestamp *p_timestamp;
OCI_Long *p_long;
OCI_Lob *p_lob;
OCI_File *p_file;
OCI_Statement *p_stmt;
OCI_Column *p_col;
OCI_Object *p_obj;
OCI_Coll *p_coll;
OCI_Iter *p_iter;
OCI_Elem *p_elem;
} OCI_Variant;
typedef struct OCI_HashValue {
OCI_Variant value;
struct OCI_HashValue *next;
} OCI_HashValue;
typedef struct OCI_HashEntry {
otext *key;
struct OCI_HashValue *values;
struct OCI_HashEntry *next;
} OCI_HashEntry;
/* check for long long support */
#if defined(_LONGLONG) || defined(LONG_LONG_MAX) || defined(LLONG_MAX) || defined(__LONG_LONG_MAX__)
/* C99 long long supported */
typedef long long big_int;
typedef unsigned long long big_uint;
#define OCI_BIG_UINT_ENABLED
#elif defined(_WINDOWS)
/* Microsoft extension supported */
typedef __int64 big_int;
typedef unsigned __int64 big_uint;
#define OCI_BIG_UINT_ENABLED
#else
typedef int big_int;
typedef unsigned int big_uint;
#endif
/* boolean values */
#ifndef TRUE
#define TRUE 1
#define FALSE 0
#endif
#ifndef boolean
#define boolean int
#endif
/* oracle OCI key versions*/
#define OCI_8_0 800
#define OCI_8_1 810
#define OCI_9_0 900
#define OCI_9_2 920
#define OCI_10_1 1010
#define OCI_10_2 1020
#define OCI_11_1 1110
#define OCI_11_2 1120
#define OCI_12_1 1210
#define OCI_12_2 1220
/* versions extract macros */
#define OCI_VER_MAJ(v) (unsigned int) (v/100)
#define OCI_VER_MIN(v) (unsigned int) ((v/10) - ((v/100)*10))
#define OCI_VER_REV(v) (unsigned int) ((v) - ((v/10)*10))
/* OCILIB Error types */
#define OCI_ERR_ORACLE 1
#define OCI_ERR_OCILIB 2
#define OCI_ERR_WARNING 3
/* OCILIB Error codes */
#define OCI_ERR_NONE 0
#define OCI_ERR_NOT_INITIALIZED 1
#define OCI_ERR_LOADING_SHARED_LIB 2
#define OCI_ERR_LOADING_SYMBOLS 3
#define OCI_ERR_MULTITHREADED 4
#define OCI_ERR_MEMORY 5
#define OCI_ERR_NOT_AVAILABLE 6
#define OCI_ERR_NULL_POINTER 7
#define OCI_ERR_DATATYPE_NOT_SUPPORTED 8
#define OCI_ERR_PARSE_TOKEN 9
#define OCI_ERR_MAP_ARGUMENT 10
#define OCI_ERR_OUT_OF_BOUNDS 11
#define OCI_ERR_UNFREED_DATA 12
#define OCI_ERR_MAX_BIND 13
#define OCI_ERR_ATTR_NOT_FOUND 14
#define OCI_ERR_MIN_VALUE 15
#define OCI_ERR_NOT_COMPATIBLE 16
#define OCI_ERR_STMT_STATE 17
#define OCI_ERR_STMT_NOT_SCROLLABLE 18
#define OCI_ERR_BIND_ALREADY_USED 19
#define OCI_ERR_BIND_ARRAY_SIZE 20
#define OCI_ERR_COLUMN_NOT_FOUND 21
#define OCI_ERR_DIRPATH_STATE 22
#define OCI_ERR_CREATE_OCI_ENVIRONMENT 23
#define OCI_ERR_REBIND_BAD_DATATYPE 24
#define OCI_ERR_TYPEINFO_DATATYPE 25
#define OCI_ERR_ITEM_NOT_FOUND 26
#define OCI_ERR_ARG_INVALID_VALUE 27
#define OCI_ERR_XA_ENV_FROM_STRING 28
#define OCI_ERR_XA_CONN_FROM_STRING 29
#define OCI_ERR_COUNT 30
/* allocated bytes types */
#define OCI_MEM_ORACLE 1
#define OCI_MEM_OCILIB 2
#define OCI_MEM_ALL OCI_MEM_ORACLE | OCI_MEM_OCILIB
/* binding */
#define OCI_BIND_BY_POS 0
#define OCI_BIND_BY_NAME 1
#define OCI_BIND_SIZE 6
#define OCI_BIND_MAX 65535
/* fetching */
#define OCI_FETCH_SIZE 20
#define OCI_PREFETCH_SIZE 20
#define OCI_LONG_EXPLICIT 1
#define OCI_LONG_IMPLICIT 2
/* unknown value */
#define OCI_UNKNOWN 0
/* C Data Type mapping */
#define OCI_CDT_NUMERIC 1
#define OCI_CDT_DATETIME 3
#define OCI_CDT_TEXT 4
#define OCI_CDT_LONG 5
#define OCI_CDT_CURSOR 6
#define OCI_CDT_LOB 7
#define OCI_CDT_FILE 8
#define OCI_CDT_TIMESTAMP 9
#define OCI_CDT_INTERVAL 10
#define OCI_CDT_RAW 11
#define OCI_CDT_OBJECT 12
#define OCI_CDT_COLLECTION 13
#define OCI_CDT_REF 14
#define OCI_CDT_BOOLEAN 15
/* Data Type codes for OCI_ImmediateXXX() calls */
#define OCI_ARG_SHORT 1
#define OCI_ARG_USHORT 2
#define OCI_ARG_INT 3
#define OCI_ARG_UINT 4
#define OCI_ARG_BIGINT 5
#define OCI_ARG_BIGUINT 6
#define OCI_ARG_DOUBLE 7
#define OCI_ARG_DATETIME 8
#define OCI_ARG_TEXT 9
#define OCI_ARG_LOB 10
#define OCI_ARG_FILE 11
#define OCI_ARG_TIMESTAMP 12
#define OCI_ARG_INTERVAL 13
#define OCI_ARG_RAW 14
#define OCI_ARG_OBJECT 15
#define OCI_ARG_COLLECTION 16
#define OCI_ARG_REF 17
#define OCI_ARG_FLOAT 18
#define OCI_ARG_NUMBER 19
/* statement types */
#define OCI_CST_SELECT 1
#define OCI_CST_UPDATE 2
#define OCI_CST_DELETE 3
#define OCI_CST_INSERT 4
#define OCI_CST_CREATE 5
#define OCI_CST_DROP 6
#define OCI_CST_ALTER 7
#define OCI_CST_BEGIN 8
#define OCI_CST_DECLARE 9
#define OCI_CST_CALL 10
/* environment modes */
#define OCI_ENV_DEFAULT 0
#define OCI_ENV_THREADED 1
#define OCI_ENV_CONTEXT 2
#define OCI_ENV_EVENTS 4
/* sessions modes */
#define OCI_SESSION_DEFAULT 0x00000000 /* any version */
#define OCI_SESSION_SYSDBA 0x00000002 /* any version */
#define OCI_SESSION_SYSOPER 0x00000004 /* any version */
#define OCI_SESSION_SYSASM 0x00008000 /* From 11gR1 */
#define OCI_SESSION_SYSBKP 0x00020000 /* From 12cR1 */
#define OCI_SESSION_SYSDGD 0x00040000 /* From 12cR1 */
#define OCI_SESSION_SYSKMT 0x00080000 /* From 12cR1 */
#define OCI_SESSION_SYSRAC 0x00100000 /* From 12cR2 */
#define OCI_SESSION_XA 0x00000001
#define OCI_SESSION_PRELIM_AUTH 0x00000008
/* change notification types */
#define OCI_CNT_OBJECTS 1
#define OCI_CNT_ROWS 2
#define OCI_CNT_DATABASES 4
#define OCI_CNT_ALL OCI_CNT_OBJECTS | OCI_CNT_ROWS | OCI_CNT_DATABASES
/* event notification types */
#define OCI_ENT_STARTUP 1
#define OCI_ENT_SHUTDOWN 2
#define OCI_ENT_SHUTDOWN_ANY 3
#define OCI_ENT_DROP_DATABASE 4
#define OCI_ENT_DEREGISTER 5
#define OCI_ENT_OBJECT_CHANGED 6
/* event object notification types */
#define OCI_ONT_INSERT 0x2
#define OCI_ONT_UPDATE 0x4
#define OCI_ONT_DELETE 0x8
#define OCI_ONT_ALTER 0x10
#define OCI_ONT_DROP 0x20
#define OCI_ONT_GENERIC 0x40
/* database startup modes */
#define OCI_DB_SPM_START 1
#define OCI_DB_SPM_MOUNT 2
#define OCI_DB_SPM_OPEN 4
#define OCI_DB_SPM_FULL OCI_DB_SPM_START | OCI_DB_SPM_MOUNT | OCI_DB_SPM_OPEN
/* database startup flags */
#define OCI_DB_SPF_DEFAULT 0
#define OCI_DB_SPF_FORCE 1
#define OCI_DB_SPF_RESTRICT 2
/* database shutdown modes */
#define OCI_DB_SDM_SHUTDOWN 1
#define OCI_DB_SDM_CLOSE 2
#define OCI_DB_SDM_DISMOUNT 4
#define OCI_DB_SDM_FULL OCI_DB_SDM_SHUTDOWN | OCI_DB_SDM_CLOSE | OCI_DB_SDM_DISMOUNT
/* database shutdown flags */
#define OCI_DB_SDF_DEFAULT 0
#define OCI_DB_SDF_TRANS 1
#define OCI_DB_SDF_TRANS_LOCAL 2
#define OCI_DB_SDF_IMMEDIATE 3
#define OCI_DB_SDF_ABORT 4
/* charset form types */
#define OCI_CSF_NONE 0
#define OCI_CSF_DEFAULT 1
#define OCI_CSF_NATIONAL 2
/* statement fetch mode */
#define OCI_SFM_DEFAULT 0
#define OCI_SFM_SCROLLABLE 0x08
/* statement fetch direction */
#define OCI_SFD_ABSOLUTE 0x20
#define OCI_SFD_RELATIVE 0x40
/* bind allocation mode */
#define OCI_BAM_EXTERNAL 1
#define OCI_BAM_INTERNAL 2
/* bind direction mode */
#define OCI_BDM_IN 1
#define OCI_BDM_OUT 2
#define OCI_BDM_IN_OUT (OCI_BDM_IN | OCI_BDM_OUT)
/* Column property flags */
#define OCI_CPF_NONE 0
#define OCI_CPF_IS_IDENTITY 1
#define OCI_CPF_IS_GEN_ALWAYS 2
#define OCI_CPF_IS_GEN_BY_DEFAULT_ON_NULL 4
/* Column collation IDs */
#define OCI_CCI_NONE 0x00000000
#define OCI_CCI_NLS_COMP 0x00003FFE
#define OCI_CCI_NLS_SORT 0x00003FFD
#define OCI_CCI_NLS_SORT_CI 0x00003FFC
#define OCI_CCI_NLS_SORT_AI 0x00003FFB
#define OCI_CCI_NLS_SORT_CS 0x00003FFA
#define OCI_CCI_NLS_SORT_VAR1 0x00003FF9
#define OCI_CCI_NLS_SORT_VAR1_CI 0x00003FF8
#define OCI_CCI_NLS_SORT_VAR1_AI 0x00003FF7
#define OCI_CCI_NLS_SORT_VAR1_CS 0x00003FF6
#define OCI_CCI_BINARY 0x00003FFF
#define OCI_CCI_BINARY_CI 0x00023FFF
#define OCI_CCI_BINARY_AI 0x00013FFF
/* Integer sign flag */
#define OCI_NUM_UNSIGNED 2
/* External Integer types */
#define OCI_NUM_SHORT 4
#define OCI_NUM_INT 8
#define OCI_NUM_BIGINT 16
#define OCI_NUM_FLOAT 32
#define OCI_NUM_DOUBLE 64
#define OCI_NUM_NUMBER 128
#define OCI_NUM_USHORT (OCI_NUM_SHORT | OCI_NUM_UNSIGNED)
#define OCI_NUM_UINT (OCI_NUM_INT | OCI_NUM_UNSIGNED)
#define OCI_NUM_BIGUINT (OCI_NUM_BIGINT | OCI_NUM_UNSIGNED)
/* timestamp types */
#define OCI_TIMESTAMP 1
#define OCI_TIMESTAMP_TZ 2
#define OCI_TIMESTAMP_LTZ 3
/* interval types */
#define OCI_INTERVAL_YM 1
#define OCI_INTERVAL_DS 2
/* long types */
#define OCI_BLONG 1
#define OCI_CLONG 2
/* lob types */
#define OCI_BLOB 1
#define OCI_CLOB 2
#define OCI_NCLOB 3
/* lob opening mode */
#define OCI_LOB_READONLY 1
#define OCI_LOB_READWRITE 2
/* file types */
#define OCI_BFILE 1
#define OCI_CFILE 2
/* lob browsing mode */
#define OCI_SEEK_SET 1
#define OCI_SEEK_END 2
#define OCI_SEEK_CUR 3
/* type info types */
#define OCI_TIF_TABLE 1
#define OCI_TIF_VIEW 2
#define OCI_TIF_TYPE 3
/* object type */
#define OCI_OBJ_PERSISTENT 1
#define OCI_OBJ_TRANSIENT 2
#define OCI_OBJ_VALUE 3
/* collection types */
#define OCI_COLL_VARRAY 1
#define OCI_COLL_NESTED_TABLE 2
#define OCI_COLL_INDEXED_TABLE 3
/* pool types */
#define OCI_POOL_CONNECTION 1
#define OCI_POOL_SESSION 2
/* AQ message state */
#define OCI_AMS_READY 1
#define OCI_AMS_WAITING 2
#define OCI_AMS_PROCESSED 3
#define OCI_AMS_EXPIRED 4
/* AQ sequence deviation */
#define OCI_ASD_BEFORE 2
#define OCI_ASD_TOP 3
/* AQ message visibility */
#define OCI_AMV_IMMEDIATE 1
#define OCI_AMV_ON_COMMIT 2
/* AQ dequeue mode */
#define OCI_ADM_BROWSE 1
#define OCI_ADM_LOCKED 2
#define OCI_ADM_REMOVE 3
#define OCI_ADM_REMOVE_NODATA 4
/* AQ dequeue navigation */
#define OCI_ADN_FIRST_MSG 1
#define OCI_ADN_NEXT_TRANSACTION 2
#define OCI_ADN_NEXT_MSG 3
/* AQ queue table purge mode */
#define OCI_APM_BUFFERED 1
#define OCI_APM_PERSISTENT 2
#define OCI_APM_ALL (OCI_APM_BUFFERED | OCI_APM_PERSISTENT)
/* AQ queue table grouping mode */
#define OCI_AGM_NONE 0
#define OCI_AGM_TRANSACTIONNAL 1
/* AQ queue table type */
#define OCI_AQT_NORMAL 0
#define OCI_AQT_EXCEPTION 1
#define OCI_AQT_NON_PERSISTENT 2
/* direct path processing return status */
#define OCI_DPR_COMPLETE 1
#define OCI_DPR_ERROR 2
#define OCI_DPR_FULL 3
#define OCI_DPR_PARTIAL 4
#define OCI_DPR_EMPTY 5
/* direct path conversion modes */
#define OCI_DCM_DEFAULT 1
#define OCI_DCM_FORCE 2
/* trace size constants */
#define OCI_SIZE_TRACE_ID 64
#define OCI_SIZE_TRACE_MODULE 48
#define OCI_SIZE_TRACE_ACTION 32
#define OCI_SIZE_TRACE_INFO 64
/* trace types */
#define OCI_TRC_IDENTITY 1
#define OCI_TRC_MODULE 2
#define OCI_TRC_ACTION 3
#define OCI_TRC_DETAIL 4
/* HA event type */
#define OCI_HET_DOWN 0
#define OCI_HET_UP 1
/* HA event source */
#define OCI_HES_INSTANCE 0
#define OCI_HES_DATABASE 1
#define OCI_HES_NODE 2
#define OCI_HES_SERVICE 3
#define OCI_HES_SERVICE_MEMBER 4
#define OCI_HES_ASM_INSTANCE 5
#define OCI_HES_PRECONNECT 6
/* Fail over types */
#define OCI_FOT_NONE 1
#define OCI_FOT_SESSION 2
#define OCI_FOT_SELECT 4
/* fail over notifications */
#define OCI_FOE_END 1
#define OCI_FOE_ABORT 2
#define OCI_FOE_REAUTH 4
#define OCI_FOE_BEGIN 8
#define OCI_FOE_ERROR 16
/* fail over callback return code */
#define OCI_FOC_OK 0
#define OCI_FOC_RETRY 25410
/* hash tables support */
#define OCI_HASH_STRING 1
#define OCI_HASH_INTEGER 2
#define OCI_HASH_POINTER 3
/* transaction types */
#define OCI_TRS_NEW 0x00000001
#define OCI_TRS_READONLY 0x00000100
#define OCI_TRS_READWRITE 0x00000200
#define OCI_TRS_SERIALIZABLE 0x00000400
#define OCI_TRS_LOOSE 0x00010000
#define OCI_TRS_TIGHT 0x00020000
/* format types */
#define OCI_FMT_DATE 1
#define OCI_FMT_TIMESTAMP 2
#define OCI_FMT_NUMERIC 3
#define OCI_FMT_BINARY_DOUBLE 4
#define OCI_FMT_BINARY_FLOAT 5
/* sql function codes */
#define OCI_SFC_CREATE_TABLE 1
#define OCI_SFC_SET_ROLE 2
#define OCI_SFC_INSERT 3
#define OCI_SFC_SELECT 4
#define OCI_SFC_UPDATE 5
#define OCI_SFC_DROP_ROLE 6
#define OCI_SFC_DROP_VIEW 7
#define OCI_SFC_DROP_TABLE 8
#define OCI_SFC_DELETE 9
#define OCI_SFC_CREATE_VIEW 10
#define OCI_SFC_DROP_USER 11
#define OCI_SFC_CREATE_ROLE 12
#define OCI_SFC_CREATE_SEQUENCE 13
#define OCI_SFC_ALTER_SEQUENCE 14
#define OCI_SFC_DROP_SEQUENCE 16
#define OCI_SFC_CREATE_SCHEMA 17
#define OCI_SFC_CREATE_CLUSTER 18
#define OCI_SFC_CREATE_USER 19
#define OCI_SFC_CREATE_INDEX 20
#define OCI_SFC_DROP_INDEX 21
#define OCI_SFC_DROP_CLUSTER 22
#define OCI_SFC_VALIDATE_INDEX 23
#define OCI_SFC_CREATE_PROCEDURE 24
#define OCI_SFC_ALTER_PROCEDURE 25
#define OCI_SFC_ALTER_TABLE 26
#define OCI_SFC_EXPLAIN 27
#define OCI_SFC_GRANT 28
#define OCI_SFC_REVOKE 29
#define OCI_SFC_CREATE_SYNONYM 30
#define OCI_SFC_DROP_SYNONYM 31
#define OCI_SFC_ALTER_SYSTEM_SWITCHLOG 32
#define OCI_SFC_SET_TRANSACTION 33
#define OCI_SFC_PLSQL_EXECUTE 34
#define OCI_SFC_LOCK 35
#define OCI_SFC_NOOP 36
#define OCI_SFC_RENAME 37
#define OCI_SFC_COMMENT 38
#define OCI_SFC_AUDIT 39
#define OCI_SFC_NO_AUDIT 40
#define OCI_SFC_ALTER_INDEX 41
#define OCI_SFC_CREATE_EXTERNAL_DATABASE 42
#define OCI_SFC_DROP_EXTERNALDATABASE 43
#define OCI_SFC_CREATE_DATABASE 44
#define OCI_SFC_ALTER_DATABASE 45
#define OCI_SFC_CREATE_ROLLBACK_SEGMENT 46
#define OCI_SFC_ALTER_ROLLBACK_SEGMENT 47
#define OCI_SFC_DROP_ROLLBACK_SEGMENT 48
#define OCI_SFC_CREATE_TABLESPACE 49
#define OCI_SFC_ALTER_TABLESPACE 50
#define OCI_SFC_DROP_TABLESPACE 51
#define OCI_SFC_ALTER_SESSION 52
#define OCI_SFC_ALTER_USER 53
#define OCI_SFC_COMMIT_WORK 54
#define OCI_SFC_ROLLBACK 55
#define OCI_SFC_SAVEPOINT 56
#define OCI_SFC_CREATE_CONTROL_FILE 57
#define OCI_SFC_ALTER_TRACING 58
#define OCI_SFC_CREATE_TRIGGER 59
#define OCI_SFC_ALTER_TRIGGER 60
#define OCI_SFC_DROP_TRIGGER 61
#define OCI_SFC_ANALYZE_TABLE 62
#define OCI_SFC_ANALYZE_INDEX 63
#define OCI_SFC_ANALYZE_CLUSTER 64
#define OCI_SFC_CREATE_PROFILE 65
#define OCI_SFC_DROP_PROFILE 66
#define OCI_SFC_ALTER_PROFILE 67
#define OCI_SFC_DROP_PROCEDURE 68
#define OCI_SFC_ALTER_RESOURCE_COST 70
#define OCI_SFC_CREATE_SNAPSHOT_LOG 71
#define OCI_SFC_ALTER_SNAPSHOT_LOG 72
#define OCI_SFC_DROP_SNAPSHOT_LOG 73
#define OCI_SFC_DROP_SUMMARY 73
#define OCI_SFC_CREATE_SNAPSHOT 74
#define OCI_SFC_ALTER_SNAPSHOT 75
#define OCI_SFC_DROP_SNAPSHOT 76
#define OCI_SFC_CREATE_TYPE 77
#define OCI_SFC_DROP_TYPE 78
#define OCI_SFC_ALTER_ROLE 79
#define OCI_SFC_ALTER_TYPE 80
#define OCI_SFC_CREATE_TYPE_BODY 81
#define OCI_SFC_ALTER_TYPE_BODY 82
#define OCI_SFC_DROP_TYPE_BODY 83
#define OCI_SFC_DROP_LIBRARY 84
#define OCI_SFC_TRUNCATE_TABLE 85
#define OCI_SFC_TRUNCATE_CLUSTER 86
#define OCI_SFC_CREATE_BITMAPFILE 87
#define OCI_SFC_ALTER_VIEW 88
#define OCI_SFC_DROP_BITMAPFILE 89
#define OCI_SFC_SET_CONSTRAINTS 90
#define OCI_SFC_CREATE_FUNCTION 91
#define OCI_SFC_ALTER_FUNCTION 92
#define OCI_SFC_DROP_FUNCTION 93
#define OCI_SFC_CREATE_PACKAGE 94
#define OCI_SFC_ALTER_PACKAGE 95
#define OCI_SFC_DROP_PACKAGE 96
#define OCI_SFC_CREATE_PACKAGE_BODY 97
#define OCI_SFC_ALTER_PACKAGE_BODY 98
#define OCI_SFC_DROP_PACKAGE_BODY 99
#define OCI_SFC_CREATE_DIRECTORY 157
#define OCI_SFC_DROP_DIRECTORY 158
#define OCI_SFC_CREATE_LIBRARY 159
#define OCI_SFC_CREATE_JAVA 160
#define OCI_SFC_ALTER_JAVA 161
#define OCI_SFC_DROP_JAVA 162
#define OCI_SFC_CREATE_OPERATOR 163
#define OCI_SFC_CREATE_INDEXTYPE 164
#define OCI_SFC_DROP_INDEXTYPE 165
#define OCI_SFC_ALTER_INDEXTYPE 166
#define OCI_SFC_DROP_OPERATOR 167
#define OCI_SFC_ASSOCIATE_STATISTICS 168
#define OCI_SFC_DISASSOCIATE_STATISTICS 169
#define OCI_SFC_CALL_METHOD 170
#define OCI_SFC_CREATE_SUMMARY 171
#define OCI_SFC_ALTER_SUMMARY 172
#define OCI_SFC_CREATE_DIMENSION 174
#define OCI_SFC_ALTER_DIMENSION 175
#define OCI_SFC_DROP_DIMENSION 176
#define OCI_SFC_CREATE_CONTEXT 177
#define OCI_SFC_DROP_CONTEXT 178
#define OCI_SFC_ALTER_OUTLINE 179
#define OCI_SFC_CREATE_OUTLINE 180
#define OCI_SFC_DROP_OUTLINE 181
#define OCI_SFC_UPDATE_INDEXES 182
#define OCI_SFC_ALTER_OPERATOR 183
/* size constants */
#define OCI_SIZE_FORMAT 64
#define OCI_SIZE_BUFFER 512
#define OCI_SIZE_LONG (64*1024)-1
#define OCI_SIZE_DATE 45
#define OCI_SIZE_TIMESTAMP 54
#define OCI_SIZE_FORMAT_TODATE 14
#define OCI_SIZE_NULL 4
#define OCI_SIZE_PRECISION 10
#define OCI_SIZE_ROWID 23
#define OCI_SIZE_DIRECTORY 30
#define OCI_SIZE_FILENAME 255
#define OCI_SIZE_FORMAT_NUMS 40
#define OCI_SIZE_FORMAT_NUML 65
#define OCI_SIZE_OBJ_NAME 128
#define OCI_HASH_DEFAULT_SIZE 256
/* string constants */
#define OCILIB_DRIVER_NAME OTEXT("OCILIB")
#define OCI_STRING_NULL OTEXT("NULL")
#define OCI_STRING_EMPTY OTEXT("")
#define OCI_STRING_FORMAT_DATE OTEXT("YYYY-MM-DD")
#define OCI_STRING_FORMAT_TIME OTEXT("HH24:MI:SS")
#define OCI_STRING_FORMAT_DATETIME OTEXT("YYYY-MM-DD HH24:MI:SS")
#define OCI_STRING_FORMAT_TIMESTAMP OTEXT("YYYY-MM-DD HH24:MI:SS.FF")
#define OCI_STRING_DEFAULT_PREC 3
#define OCI_STRING_FORMAT_NUM \
OTEXT("FM99999999999999999999999999999999999990.999999999999999999999999")
#define OCI_STRING_FORMAT_NUM_BDOUBLE OTEXT("%lf")
#define OCI_STRING_FORMAT_NUM_BFLOAT OTEXT("%f")
#define OCI_STRING_FORMAT_NUM_SHORT OTEXT("%hd")
#define OCI_STRING_FORMAT_NUM_INT OTEXT("%d")
#define OCI_STRING_TRUE OTEXT("TRUE")
#define OCI_STRING_FALSE OTEXT("FALSE")
#define OCI_STRING_TRUE_SIZE 4
#define OCI_STRING_FALSE_SIZE 5
#ifdef _WINDOWS
#define OCI_CHAR_SLASH '\\'
#else
#define OCI_CHAR_SLASH '/'
#endif
OCI_EXPORT boolean OCI_API OCI_Initialize
(
POCI_ERROR err_handler,
const otext *lib_path,
unsigned int mode
);
OCI_EXPORT boolean OCI_API OCI_Cleanup
(
void
);
OCI_EXPORT unsigned int OCI_API OCI_GetOCICompileVersion
(
void
);
OCI_EXPORT unsigned int OCI_API OCI_GetOCIRuntimeVersion
(
void
);
OCI_EXPORT unsigned int OCI_API OCI_GetImportMode
(
void
);
OCI_EXPORT unsigned int OCI_API OCI_GetCharset
(
void
);
OCI_EXPORT big_uint OCI_API OCI_GetAllocatedBytes
(
unsigned int mem_type
);
OCI_EXPORT boolean OCI_API OCI_EnableWarnings
(
boolean value
);
OCI_EXPORT boolean OCI_API OCI_SetErrorHandler
(
POCI_ERROR handler
);
OCI_EXPORT boolean OCI_API OCI_SetHAHandler
(
POCI_HA_HANDLER handler
);
OCI_EXPORT OCI_Error * OCI_API OCI_GetLastError
(
void
);
OCI_EXPORT const otext * OCI_API OCI_ErrorGetString
(
OCI_Error *err
);
OCI_EXPORT unsigned int OCI_API OCI_ErrorGetType
(
OCI_Error *err
);
OCI_EXPORT int OCI_API OCI_ErrorGetOCICode
(
OCI_Error *err
);
OCI_EXPORT int OCI_API OCI_ErrorGetInternalCode
(
OCI_Error *err
);
OCI_EXPORT OCI_Connection * OCI_API OCI_ErrorGetConnection
(
OCI_Error *err
);
OCI_EXPORT OCI_Statement * OCI_API OCI_ErrorGetStatement
(
OCI_Error *err
);
OCI_EXPORT unsigned int OCI_API OCI_ErrorGetRow
(
OCI_Error *err
);
OCI_EXPORT OCI_Connection * OCI_API OCI_ConnectionCreate
(
const otext *db,
const otext *user,
const otext *pwd,
unsigned int mode
);
OCI_EXPORT boolean OCI_API OCI_ConnectionFree
(
OCI_Connection *con
);
OCI_EXPORT boolean OCI_API OCI_IsConnected
(
OCI_Connection *con
);
OCI_EXPORT void * OCI_API OCI_GetUserData
(
OCI_Connection *con
);
OCI_EXPORT boolean OCI_API OCI_SetUserData
(
OCI_Connection *con,
void *data
);
OCI_EXPORT boolean OCI_API OCI_SetSessionTag
(
OCI_Connection *con,
const otext *tag
);
OCI_EXPORT const otext * OCI_API OCI_GetSessionTag
(
OCI_Connection *con
);
OCI_EXPORT const otext * OCI_API OCI_GetDatabase
(
OCI_Connection *con
);
OCI_EXPORT const otext * OCI_API OCI_GetUserName
(
OCI_Connection *con
);
OCI_EXPORT const otext * OCI_API OCI_GetPassword
(
OCI_Connection *con
);
OCI_EXPORT boolean OCI_API OCI_SetPassword
(
OCI_Connection *con,
const otext *password
);
OCI_EXPORT boolean OCI_API OCI_SetUserPassword
(
const otext *db,
const otext *user,
const otext *pwd,
const otext *new_pwd
);
OCI_EXPORT unsigned int OCI_API OCI_GetSessionMode
(
OCI_Connection *con
);
OCI_EXPORT const otext * OCI_API OCI_GetVersionServer
(
OCI_Connection *con
);
OCI_EXPORT unsigned int OCI_API OCI_GetServerMajorVersion
(
OCI_Connection *con
);
OCI_EXPORT unsigned int OCI_API OCI_GetServerMinorVersion
(
OCI_Connection *con
);
OCI_EXPORT unsigned int OCI_API OCI_GetServerRevisionVersion
(
OCI_Connection *con
);
OCI_EXPORT boolean OCI_API OCI_SetFormat
(
OCI_Connection *con,
unsigned int type,
const otext *format
);
OCI_EXPORT const otext * OCI_API OCI_GetFormat
(
OCI_Connection *con,
unsigned int type
);
OCI_EXPORT OCI_Transaction * OCI_API OCI_GetTransaction
(
OCI_Connection *con
);
OCI_EXPORT boolean OCI_API OCI_SetTransaction
(
OCI_Connection *con,
OCI_Transaction *trans
);
OCI_EXPORT unsigned int OCI_API OCI_GetVersionConnection
(
OCI_Connection *con
);
OCI_EXPORT boolean OCI_API OCI_SetTrace
(
OCI_Connection *con,
unsigned int trace,
const otext *value
);
OCI_EXPORT const otext * OCI_API OCI_GetTrace
(
OCI_Connection *con,
unsigned int trace
);
OCI_EXPORT boolean OCI_API OCI_Ping
(
OCI_Connection *con
);
OCI_EXPORT const otext * OCI_API OCI_GetDBName
(
OCI_Connection *con
);
OCI_EXPORT const otext * OCI_API OCI_GetInstanceName
(
OCI_Connection *con
);
OCI_EXPORT const otext * OCI_API OCI_GetServiceName
(
OCI_Connection *con
);
OCI_EXPORT const otext * OCI_API OCI_GetServerName
(
OCI_Connection *con
);
OCI_EXPORT const otext * OCI_API OCI_GetDomainName
(
OCI_Connection *con
);
OCI_EXPORT OCI_Timestamp * OCI_API OCI_GetInstanceStartTime
(
OCI_Connection *con
);
OCI_EXPORT boolean OCI_API OCI_IsTAFCapable
(
OCI_Connection *con
);
OCI_EXPORT boolean OCI_API OCI_SetTAFHandler
(
OCI_Connection *con,
POCI_TAF_HANDLER handler
);
OCI_EXPORT unsigned int OCI_API OCI_GetStatementCacheSize
(
OCI_Connection *con
);
OCI_EXPORT boolean OCI_API OCI_SetStatementCacheSize
(
OCI_Connection *con,
unsigned int value
);
OCI_EXPORT unsigned int OCI_API OCI_GetDefaultLobPrefetchSize
(
OCI_Connection *con
);
OCI_EXPORT boolean OCI_API OCI_SetDefaultLobPrefetchSize
(
OCI_Connection *con,
unsigned int value
);
OCI_EXPORT unsigned int OCI_API OCI_GetMaxCursors
(
OCI_Connection *con
);
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
);
OCI_EXPORT boolean OCI_API OCI_PoolFree
(
OCI_Pool *pool
);
OCI_EXPORT OCI_Connection * OCI_API OCI_PoolGetConnection
(
OCI_Pool *pool,
const otext *tag
);
OCI_EXPORT unsigned int OCI_API OCI_PoolGetTimeout
(
OCI_Pool *pool
);
OCI_EXPORT boolean OCI_API OCI_PoolSetTimeout
(
OCI_Pool *pool,
unsigned int value
);
OCI_EXPORT boolean OCI_API OCI_PoolGetNoWait
(
OCI_Pool *pool
);
OCI_EXPORT boolean OCI_API OCI_PoolSetNoWait
(
OCI_Pool *pool,
boolean value
);
OCI_EXPORT unsigned int OCI_API OCI_PoolGetBusyCount
(
OCI_Pool *pool
);
OCI_EXPORT unsigned int OCI_API OCI_PoolGetOpenedCount
(
OCI_Pool *pool
);
OCI_EXPORT unsigned int OCI_API OCI_PoolGetMin
(
OCI_Pool *pool
);
OCI_EXPORT unsigned int OCI_API OCI_PoolGetMax
(
OCI_Pool *pool
);
OCI_EXPORT unsigned int OCI_API OCI_PoolGetIncrement
(
OCI_Pool *pool
);
OCI_EXPORT unsigned int OCI_API OCI_PoolGetStatementCacheSize
(
OCI_Pool *pool
);
OCI_EXPORT boolean OCI_API OCI_PoolSetStatementCacheSize
(
OCI_Pool *pool,
unsigned int value
);
OCI_EXPORT boolean OCI_API OCI_Commit
(
OCI_Connection *con
);
OCI_EXPORT boolean OCI_API OCI_Rollback
(
OCI_Connection *con
);
OCI_EXPORT boolean OCI_API OCI_SetAutoCommit
(
OCI_Connection *con,
boolean enable
);
OCI_EXPORT boolean OCI_API OCI_GetAutoCommit
(
OCI_Connection *con
);
OCI_EXPORT OCI_Transaction * OCI_API OCI_TransactionCreate
(
OCI_Connection *con,
unsigned int timeout,
unsigned int mode,
OCI_XID *pxid
);
OCI_EXPORT boolean OCI_API OCI_TransactionFree
(
OCI_Transaction *trans
);
OCI_EXPORT boolean OCI_API OCI_TransactionStart
(
OCI_Transaction *trans
);
OCI_EXPORT boolean OCI_API OCI_TransactionStop
(
OCI_Transaction *trans
);
OCI_EXPORT boolean OCI_API OCI_TransactionResume
(
OCI_Transaction *trans
);
OCI_EXPORT boolean OCI_API OCI_TransactionPrepare
(
OCI_Transaction *trans
);
OCI_EXPORT boolean OCI_API OCI_TransactionForget
(
OCI_Transaction *trans
);
OCI_EXPORT unsigned int OCI_API OCI_TransactionGetMode
(
OCI_Transaction *trans
);
OCI_EXPORT unsigned int OCI_API OCI_TransactionGetTimeout
(
OCI_Transaction *trans
);
OCI_EXPORT OCI_Statement * OCI_API OCI_StatementCreate
(
OCI_Connection *con
);
OCI_EXPORT boolean OCI_API OCI_StatementFree
(
OCI_Statement *stmt
);
OCI_EXPORT boolean OCI_API OCI_Prepare
(
OCI_Statement *stmt,
const otext *sql
);
OCI_EXPORT boolean OCI_API OCI_Execute
(
OCI_Statement *stmt
);
OCI_EXPORT boolean OCI_API OCI_ExecuteStmt
(
OCI_Statement *stmt,
const otext *sql
);
OCI_EXPORT boolean OCI_API OCI_Parse
(
OCI_Statement *stmt,
const otext *sql
);
OCI_EXPORT boolean OCI_API OCI_Describe
(
OCI_Statement *stmt,
const otext *sql
);
OCI_EXPORT const otext * OCI_API OCI_GetSql
(
OCI_Statement *stmt
);
OCI_EXPORT unsigned int OCI_API OCI_GetSqlErrorPos
(
OCI_Statement *stmt
);
OCI_EXPORT unsigned int OCI_API OCI_GetAffectedRows
(
OCI_Statement *stmt
);
OCI_EXPORT unsigned int OCI_API OCI_GetSQLCommand
(
OCI_Statement *stmt
);
OCI_EXPORT const otext * OCI_API OCI_GetSQLVerb
(
OCI_Statement *stmt
);
OCI_EXPORT boolean OCI_API OCI_BindArraySetSize
(
OCI_Statement *stmt,
unsigned int size
);
OCI_EXPORT unsigned int OCI_API OCI_BindArrayGetSize
(
OCI_Statement *stmt
);
OCI_EXPORT boolean OCI_API OCI_AllowRebinding
(
OCI_Statement *stmt,
boolean value
);
OCI_EXPORT boolean OCI_API OCI_IsRebindingAllowed
(
OCI_Statement *stmt
);
OCI_EXPORT boolean OCI_API OCI_BindBoolean
(
OCI_Statement *stmt,
const otext *name,
boolean *data
);
OCI_EXPORT boolean OCI_API OCI_BindNumber
(
OCI_Statement *stmt,
const otext *name,
OCI_Number *data
);
OCI_EXPORT boolean OCI_API OCI_BindArrayOfNumbers
(
OCI_Statement *stmt,
const otext *name,
OCI_Number **data,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_BindShort
(
OCI_Statement *stmt,
const otext *name,
short *data
);
OCI_EXPORT boolean OCI_API OCI_BindArrayOfShorts
(
OCI_Statement *stmt,
const otext *name,
short *data,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_BindUnsignedShort
(
OCI_Statement *stmt,
const otext *name,
unsigned short *data
);
OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedShorts
(
OCI_Statement *stmt,
const otext *name,
unsigned short *data,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_BindInt
(
OCI_Statement *stmt,
const otext *name,
int *data
);
OCI_EXPORT boolean OCI_API OCI_BindArrayOfInts
(
OCI_Statement *stmt,
const otext *name,
int *data,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_BindUnsignedInt
(
OCI_Statement *stmt,
const otext *name,
unsigned int *data
);
OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedInts
(
OCI_Statement *stmt,
const otext *name,
unsigned int *data,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_BindBigInt
(
OCI_Statement *stmt,
const otext *name,
big_int *data
);
OCI_EXPORT boolean OCI_API OCI_BindArrayOfBigInts
(
OCI_Statement *stmt,
const otext *name,
big_int *data,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_BindUnsignedBigInt
(
OCI_Statement *stmt,
const otext *name,
big_uint *data
);
OCI_EXPORT boolean OCI_API OCI_BindArrayOfUnsignedBigInts
(
OCI_Statement *stmt,
const otext *name,
big_uint *data,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_BindString
(
OCI_Statement *stmt,
const otext *name,
otext *data,
unsigned int len
);
OCI_EXPORT boolean OCI_API OCI_BindArrayOfStrings
(
OCI_Statement *stmt,
const otext *name,
otext *data,
unsigned int len,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_BindRaw
(
OCI_Statement *stmt,
const otext *name,
void *data,
unsigned int len
);
OCI_EXPORT boolean OCI_API OCI_BindArrayOfRaws
(
OCI_Statement *stmt,
const otext *name,
void *data,
unsigned int len,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_BindDouble
(
OCI_Statement *stmt,
const otext *name,
double *data
);
OCI_EXPORT boolean OCI_API OCI_BindArrayOfDoubles
(
OCI_Statement *stmt,
const otext *name,
double *data,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_BindFloat
(
OCI_Statement *stmt,
const otext *name,
float *data
);
OCI_EXPORT boolean OCI_API OCI_BindArrayOfFloats
(
OCI_Statement *stmt,
const otext *name,
float *data,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_BindDate
(
OCI_Statement *stmt,
const otext *name,
OCI_Date *data
);
OCI_EXPORT boolean OCI_API OCI_BindArrayOfDates
(
OCI_Statement *stmt,
const otext *name,
OCI_Date **data,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_BindTimestamp
(
OCI_Statement *stmt,
const otext *name,
OCI_Timestamp *data
);
OCI_EXPORT boolean OCI_API OCI_BindArrayOfTimestamps
(
OCI_Statement *stmt,
const otext *name,
OCI_Timestamp **data,
unsigned int type,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_BindInterval
(
OCI_Statement *stmt,
const otext *name,
OCI_Interval *data
);
OCI_EXPORT boolean OCI_API OCI_BindArrayOfIntervals
(
OCI_Statement *stmt,
const otext *name,
OCI_Interval **data,
unsigned int type,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_BindLob
(
OCI_Statement *stmt,
const otext *name,
OCI_Lob *data
);
OCI_EXPORT boolean OCI_API OCI_BindArrayOfLobs
(
OCI_Statement *stmt,
const otext *name,
OCI_Lob **data,
unsigned int type,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_BindFile
(
OCI_Statement *stmt,
const otext *name,
OCI_File *data
);
OCI_EXPORT boolean OCI_API OCI_BindArrayOfFiles
(
OCI_Statement *stmt,
const otext *name,
OCI_File **data,
unsigned int type,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_BindObject
(
OCI_Statement *stmt,
const otext *name,
OCI_Object *data
);
OCI_EXPORT boolean OCI_API OCI_BindArrayOfObjects
(
OCI_Statement *stmt,
const otext *name,
OCI_Object **data,
OCI_TypeInfo *typinf,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_BindColl
(
OCI_Statement *stmt,
const otext *name,
OCI_Coll *data
);
OCI_EXPORT boolean OCI_API OCI_BindArrayOfColls
(
OCI_Statement *stmt,
const otext *name,
OCI_Coll **data,
OCI_TypeInfo *typinf,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_BindRef
(
OCI_Statement *stmt,
const otext *name,
OCI_Ref *data
);
OCI_EXPORT boolean OCI_API OCI_BindArrayOfRefs
(
OCI_Statement *stmt,
const otext *name,
OCI_Ref **data,
OCI_TypeInfo *typinf,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_BindStatement
(
OCI_Statement *stmt,
const otext *name,
OCI_Statement *data
);
OCI_EXPORT boolean OCI_API OCI_BindLong
(
OCI_Statement *stmt,
const otext *name,
OCI_Long *data,
unsigned int size
);
OCI_EXPORT OCI_Error * OCI_API OCI_GetBatchError
(
OCI_Statement *stmt
);
OCI_EXPORT unsigned int OCI_API OCI_GetBatchErrorCount
(
OCI_Statement *stmt
);
OCI_EXPORT unsigned int OCI_API OCI_GetBindCount
(
OCI_Statement *stmt
);
OCI_EXPORT OCI_Bind * OCI_API OCI_GetBind
(
OCI_Statement *stmt,
unsigned int index
);
OCI_EXPORT OCI_Bind * OCI_API OCI_GetBind2
(
OCI_Statement *stmt,
const otext *name
);
OCI_EXPORT unsigned int OCI_API OCI_GetBindIndex
(
OCI_Statement *stmt,
const otext *name
);
OCI_EXPORT const otext * OCI_API OCI_BindGetName
(
OCI_Bind *bnd
);
OCI_EXPORT boolean OCI_API OCI_BindSetDirection
(
OCI_Bind *bnd,
unsigned int direction
);
OCI_EXPORT unsigned int OCI_API OCI_BindGetDirection
(
OCI_Bind *bnd
);
OCI_EXPORT unsigned int OCI_API OCI_BindGetType
(
OCI_Bind *bnd
);
OCI_EXPORT unsigned int OCI_API OCI_BindGetSubtype
(
OCI_Bind *bnd
);
OCI_EXPORT unsigned int OCI_API OCI_BindGetDataCount
(
OCI_Bind *bnd
);
OCI_EXPORT void * OCI_API OCI_BindGetData
(
OCI_Bind *bnd
);
OCI_EXPORT OCI_Statement * OCI_API OCI_BindGetStatement
(
OCI_Bind *bnd
);
OCI_EXPORT boolean OCI_API OCI_BindSetDataSize
(
OCI_Bind *bnd,
unsigned int size
);
OCI_EXPORT boolean OCI_API OCI_BindSetDataSizeAtPos
(
OCI_Bind *bnd,
unsigned int position,
unsigned int size
);
OCI_EXPORT unsigned int OCI_API OCI_BindGetDataSize
(
OCI_Bind *bnd
);
OCI_EXPORT unsigned int OCI_API OCI_BindGetDataSizeAtPos
(
OCI_Bind *bnd,
unsigned int position
);
OCI_EXPORT boolean OCI_API OCI_BindSetNull
(
OCI_Bind *bnd
);
OCI_EXPORT boolean OCI_API OCI_BindSetNullAtPos
(
OCI_Bind *bnd,
unsigned int position
);
OCI_EXPORT boolean OCI_API OCI_BindSetNotNull
(
OCI_Bind *bnd
);
OCI_EXPORT boolean OCI_API OCI_BindSetNotNullAtPos
(
OCI_Bind *bnd,
unsigned int position
);
OCI_EXPORT boolean OCI_API OCI_BindIsNull
(
OCI_Bind *bnd
);
OCI_EXPORT boolean OCI_API OCI_BindIsNullAtPos
(
OCI_Bind *bnd,
unsigned int position
);
boolean OCI_API OCI_BindSetCharsetForm
(
OCI_Bind *bnd,
unsigned int csfrm
);
OCI_EXPORT unsigned int OCI_API OCI_BindGetAllocationMode
(
OCI_Bind *bnd
);
OCI_EXPORT OCI_Resultset * OCI_API OCI_GetResultset
(
OCI_Statement *stmt
);
OCI_EXPORT boolean OCI_API OCI_ReleaseResultsets
(
OCI_Statement *stmt
);
OCI_EXPORT boolean OCI_API OCI_FetchNext
(
OCI_Resultset *rs
);
OCI_EXPORT boolean OCI_API OCI_FetchPrev
(
OCI_Resultset *rs
);
OCI_EXPORT boolean OCI_API OCI_FetchFirst
(
OCI_Resultset *rs
);
OCI_EXPORT boolean OCI_API OCI_FetchLast
(
OCI_Resultset *rs
);
OCI_EXPORT boolean OCI_API OCI_FetchSeek
(
OCI_Resultset *rs,
unsigned int mode,
int offset
);
OCI_EXPORT unsigned int OCI_API OCI_GetRowCount
(
OCI_Resultset *rs
);
OCI_EXPORT unsigned int OCI_API OCI_GetCurrentRow
(
OCI_Resultset *rs
);
OCI_EXPORT unsigned int OCI_API OCI_GetColumnCount
(
OCI_Resultset *rs
);
OCI_EXPORT OCI_Column * OCI_API OCI_GetColumn
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT OCI_Column * OCI_API OCI_GetColumn2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT unsigned int OCI_API OCI_GetColumnIndex
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT const otext * OCI_API OCI_ColumnGetName
(
OCI_Column *col
);
OCI_EXPORT unsigned int OCI_API OCI_ColumnGetType
(
OCI_Column *col
);
OCI_EXPORT unsigned int OCI_API OCI_ColumnGetCharsetForm
(
OCI_Column *col
);
OCI_EXPORT const otext * OCI_API OCI_ColumnGetSQLType
(
OCI_Column *col
);
OCI_EXPORT unsigned int OCI_API OCI_ColumnGetFullSQLType
(
OCI_Column *col,
otext *buffer,
unsigned int len
);
OCI_EXPORT unsigned int OCI_API OCI_ColumnGetSize
(
OCI_Column *col
);
OCI_EXPORT int OCI_API OCI_ColumnGetScale
(
OCI_Column *col
);
OCI_EXPORT int OCI_API OCI_ColumnGetPrecision
(
OCI_Column *col
);
OCI_EXPORT int OCI_API OCI_ColumnGetFractionalPrecision
(
OCI_Column *col
);
OCI_EXPORT int OCI_API OCI_ColumnGetLeadingPrecision
(
OCI_Column *col
);
OCI_EXPORT boolean OCI_API OCI_ColumnGetNullable
(
OCI_Column *col
);
OCI_EXPORT boolean OCI_API OCI_ColumnGetCharUsed
(
OCI_Column *col
);
OCI_EXPORT unsigned int OCI_API OCI_ColumnGetPropertyFlags
(
OCI_Column *col
);
OCI_EXPORT unsigned int OCI_API OCI_ColumnGetCollationID
(
OCI_Column *col
);
OCI_EXPORT OCI_TypeInfo * OCI_API OCI_ColumnGetTypeInfo
(
OCI_Column *col
);
OCI_EXPORT unsigned int OCI_API OCI_ColumnGetSubType
(
OCI_Column *col
);
OCI_EXPORT boolean OCI_API OCI_SetStructNumericType
(
OCI_Resultset *rs,
unsigned int index,
unsigned int type
);
OCI_EXPORT boolean OCI_API OCI_SetStructNumericType2
(
OCI_Resultset *rs,
const otext *name,
unsigned int type
);
OCI_EXPORT boolean OCI_API OCI_GetStruct
(
OCI_Resultset *rs,
void *row_struct,
void *row_struct_ind
);
OCI_EXPORT OCI_Number * OCI_API OCI_GetNumber
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT OCI_Number * OCI_API OCI_GetNumber2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT short OCI_API OCI_GetShort
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT short OCI_API OCI_GetShort2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT unsigned short OCI_API OCI_GetUnsignedShort
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT unsigned short OCI_API OCI_GetUnsignedShort2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT int OCI_API OCI_GetInt
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT int OCI_API OCI_GetInt2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT unsigned int OCI_API OCI_GetUnsignedInt
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT unsigned int OCI_API OCI_GetUnsignedInt2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT big_int OCI_API OCI_GetBigInt
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT big_int OCI_API OCI_GetBigInt2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT big_uint OCI_API OCI_GetUnsignedBigInt
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT big_uint OCI_API OCI_GetUnsignedBigInt2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT const otext * OCI_API OCI_GetString
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT const otext * OCI_API OCI_GetString2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT unsigned int OCI_API OCI_GetRaw
(
OCI_Resultset *rs,
unsigned int index,
void *buffer,
unsigned int len
);
OCI_EXPORT unsigned int OCI_API OCI_GetRaw2
(
OCI_Resultset *rs,
const otext *name,
void *buffer,
unsigned int len
);
OCI_EXPORT double OCI_API OCI_GetDouble
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT double OCI_API OCI_GetDouble2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT float OCI_API OCI_GetFloat
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT float OCI_API OCI_GetFloat2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT OCI_Date * OCI_API OCI_GetDate
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT OCI_Date * OCI_API OCI_GetDate2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT OCI_Timestamp * OCI_API OCI_GetTimestamp
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT OCI_Timestamp * OCI_API OCI_GetTimestamp2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT OCI_Interval * OCI_API OCI_GetInterval
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT OCI_Interval * OCI_API OCI_GetInterval2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT OCI_Statement * OCI_API OCI_GetStatement
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT OCI_Statement * OCI_API OCI_GetStatement2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT OCI_Lob * OCI_API OCI_GetLob
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT OCI_Lob * OCI_API OCI_GetLob2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT OCI_File * OCI_API OCI_GetFile
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT OCI_File * OCI_API OCI_GetFile2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT OCI_Object * OCI_API OCI_GetObject
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT OCI_Object * OCI_API OCI_GetObject2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT OCI_Coll * OCI_API OCI_GetColl
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT OCI_Coll * OCI_API OCI_GetColl2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT OCI_Ref * OCI_API OCI_GetRef
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT OCI_Ref * OCI_API OCI_GetRef2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT OCI_Long * OCI_API OCI_GetLong
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT OCI_Long * OCI_API OCI_GetLong2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT boolean OCI_API OCI_IsNull
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT unsigned int OCI_API OCI_GetDataSize
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT unsigned int OCI_API OCI_GetDataSize2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT boolean OCI_API OCI_IsNull2
(
OCI_Resultset *rs,
const otext *name
);
OCI_EXPORT OCI_Statement * OCI_API OCI_ResultsetGetStatement
(
OCI_Resultset *rs
);
OCI_EXPORT unsigned int OCI_API OCI_GetDataLength
(
OCI_Resultset *rs,
unsigned int index
);
OCI_EXPORT boolean OCI_API OCI_ServerEnableOutput
(
OCI_Connection *con,
unsigned int bufsize,
unsigned int arrsize,
unsigned int lnsize
);
OCI_EXPORT boolean OCI_API OCI_ServerDisableOutput
(
OCI_Connection *con
);
OCI_EXPORT const otext * OCI_API OCI_ServerGetOutput
(
OCI_Connection *con
);
OCI_EXPORT OCI_Coll * OCI_API OCI_CollCreate
(
OCI_TypeInfo *typinf
);
OCI_EXPORT boolean OCI_API OCI_CollFree
(
OCI_Coll *coll
);
OCI_EXPORT OCI_Coll ** OCI_API OCI_CollArrayCreate
(
OCI_Connection *con,
OCI_TypeInfo *typinf,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_CollArrayFree
(
OCI_Coll **colls
);
OCI_EXPORT boolean OCI_API OCI_CollAssign
(
OCI_Coll *coll,
OCI_Coll *coll_src
);
OCI_EXPORT OCI_TypeInfo * OCI_API OCI_CollGetTypeInfo
(
OCI_Coll *coll
);
OCI_EXPORT unsigned int OCI_API OCI_CollGetType
(
OCI_Coll *coll
);
OCI_EXPORT unsigned int OCI_API OCI_CollGetMax
(
OCI_Coll *coll
);
OCI_EXPORT unsigned int OCI_API OCI_CollGetSize
(
OCI_Coll *coll
);
OCI_EXPORT unsigned int OCI_API OCI_CollGetCount
(
OCI_Coll *coll
);
OCI_EXPORT boolean OCI_API OCI_CollTrim
(
OCI_Coll *coll,
unsigned int nb_elem
);
OCI_EXPORT boolean OCI_API OCI_CollClear
(
OCI_Coll *coll
);
OCI_EXPORT OCI_Elem * OCI_API OCI_CollGetElem
(
OCI_Coll *coll,
unsigned int index
);
OCI_EXPORT boolean OCI_API OCI_CollGetElem2
(
OCI_Coll *coll,
unsigned int index,
OCI_Elem *elem
);
OCI_EXPORT boolean OCI_API OCI_CollSetElem
(
OCI_Coll *coll,
unsigned int index,
OCI_Elem *elem
);
OCI_EXPORT boolean OCI_API OCI_CollAppend
(
OCI_Coll *coll,
OCI_Elem *elem
);
OCI_EXPORT boolean OCI_API OCI_CollToText
(
OCI_Coll *coll,
unsigned int *size,
otext *str
);
OCI_EXPORT boolean OCI_API OCI_CollDeleteElem
(
OCI_Coll *coll,
unsigned int index
);
OCI_EXPORT OCI_Iter * OCI_API OCI_IterCreate
(
OCI_Coll *coll
);
OCI_EXPORT boolean OCI_API OCI_IterFree
(
OCI_Iter *iter
);
OCI_EXPORT OCI_Elem * OCI_API OCI_IterGetNext
(
OCI_Iter *iter
);
OCI_EXPORT OCI_Elem * OCI_API OCI_IterGetPrev
(
OCI_Iter *iter
);
OCI_EXPORT OCI_Elem * OCI_API OCI_IterGetCurrent
(
OCI_Iter *iter
);
OCI_EXPORT OCI_Elem * OCI_API OCI_ElemCreate
(
OCI_TypeInfo *typinf
);
OCI_EXPORT boolean OCI_API OCI_ElemFree
(
OCI_Elem *elem
);
OCI_EXPORT boolean OCI_API OCI_ElemGetBoolean
(
OCI_Elem *elem
);
OCI_EXPORT OCI_Number* OCI_API OCI_ElemGetNumber
(
OCI_Elem *elem
);
OCI_EXPORT short OCI_API OCI_ElemGetShort
(
OCI_Elem *elem
);
OCI_EXPORT unsigned short OCI_API OCI_ElemGetUnsignedShort
(
OCI_Elem *elem
);
OCI_EXPORT int OCI_API OCI_ElemGetInt
(
OCI_Elem *elem
);
OCI_EXPORT unsigned int OCI_API OCI_ElemGetUnsignedInt
(
OCI_Elem *elem
);
OCI_EXPORT big_int OCI_API OCI_ElemGetBigInt
(
OCI_Elem *elem
);
OCI_EXPORT big_uint OCI_API OCI_ElemGetUnsignedBigInt
(
OCI_Elem *elem
);
OCI_EXPORT double OCI_API OCI_ElemGetDouble
(
OCI_Elem *elem
);
OCI_EXPORT float OCI_API OCI_ElemGetFloat
(
OCI_Elem *elem
);
OCI_EXPORT const otext * OCI_API OCI_ElemGetString
(
OCI_Elem *elem
);
OCI_EXPORT unsigned int OCI_API OCI_ElemGetRaw
(
OCI_Elem *elem,
void *value,
unsigned int len
);
OCI_EXPORT unsigned int OCI_API OCI_ElemGetRawSize
(
OCI_Elem *elem
);
OCI_EXPORT OCI_Date * OCI_API OCI_ElemGetDate
(
OCI_Elem *elem
);
OCI_EXPORT OCI_Timestamp * OCI_API OCI_ElemGetTimestamp
(
OCI_Elem *elem
);
OCI_EXPORT OCI_Interval * OCI_API OCI_ElemGetInterval
(
OCI_Elem *elem
);
OCI_EXPORT OCI_Lob * OCI_API OCI_ElemGetLob
(
OCI_Elem *elem
);
OCI_EXPORT OCI_File * OCI_API OCI_ElemGetFile
(
OCI_Elem *elem
);
OCI_EXPORT OCI_Object * OCI_API OCI_ElemGetObject
(
OCI_Elem *elem
);
OCI_EXPORT OCI_Coll * OCI_API OCI_ElemGetColl
(
OCI_Elem *elem
);
OCI_EXPORT OCI_Ref * OCI_API OCI_ElemGetRef
(
OCI_Elem *elem
);
OCI_EXPORT boolean OCI_API OCI_ElemSetBoolean
(
OCI_Elem *elem,
boolean value
);
OCI_EXPORT boolean OCI_API OCI_ElemSetNumber
(
OCI_Elem *elem,
OCI_Number *value
);
OCI_EXPORT boolean OCI_API OCI_ElemSetShort
(
OCI_Elem *elem,
short value
);
OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedShort
(
OCI_Elem *elem,
unsigned short value
);
OCI_EXPORT boolean OCI_API OCI_ElemSetInt
(
OCI_Elem *elem,
int value
);
OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedInt
(
OCI_Elem *elem,
unsigned int value
);
OCI_EXPORT boolean OCI_API OCI_ElemSetBigInt
(
OCI_Elem *elem,
big_int value
);
OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedBigInt
(
OCI_Elem *elem,
big_uint value
);
OCI_EXPORT boolean OCI_API OCI_ElemSetDouble
(
OCI_Elem *elem,
double value
);
OCI_EXPORT boolean OCI_API OCI_ElemSetFloat
(
OCI_Elem *elem,
float value
);
OCI_EXPORT boolean OCI_API OCI_ElemSetString
(
OCI_Elem *elem,
const otext *value
);
OCI_EXPORT boolean OCI_API OCI_ElemSetRaw
(
OCI_Elem *elem,
void *value,
unsigned int len
);
OCI_EXPORT boolean OCI_API OCI_ElemSetDate
(
OCI_Elem *elem,
OCI_Date *value
);
OCI_EXPORT boolean OCI_API OCI_ElemSetTimestamp
(
OCI_Elem *elem,
OCI_Timestamp *value
);
OCI_EXPORT boolean OCI_API OCI_ElemSetInterval
(
OCI_Elem *elem,
OCI_Interval *value
);
OCI_EXPORT boolean OCI_API OCI_ElemSetColl
(
OCI_Elem *elem,
OCI_Coll *value
);
OCI_EXPORT boolean OCI_API OCI_ElemSetObject
(
OCI_Elem *elem,
OCI_Object *value
);
OCI_EXPORT boolean OCI_API OCI_ElemSetLob
(
OCI_Elem *elem,
OCI_Lob *value
);
OCI_EXPORT boolean OCI_API OCI_ElemSetFile
(
OCI_Elem *elem,
OCI_File *value
);
OCI_EXPORT boolean OCI_API OCI_ElemSetRef
(
OCI_Elem *elem,
OCI_Ref *value
);
OCI_EXPORT boolean OCI_API OCI_ElemIsNull
(
OCI_Elem *elem
);
OCI_EXPORT boolean OCI_API OCI_ElemSetNull
(
OCI_Elem *elem
);
OCI_EXPORT OCI_Resultset * OCI_API OCI_GetNextResultset
(
OCI_Statement *stmt
);
OCI_EXPORT boolean OCI_API OCI_RegisterNumber
(
OCI_Statement *stmt,
const otext *name
);
OCI_EXPORT boolean OCI_API OCI_RegisterShort
(
OCI_Statement *stmt,
const otext *name
);
OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedShort
(
OCI_Statement *stmt,
const otext *name
);
OCI_EXPORT boolean OCI_API OCI_RegisterInt
(
OCI_Statement *stmt,
const otext *name
);
OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedInt
(
OCI_Statement *stmt,
const otext *name
);
OCI_EXPORT boolean OCI_API OCI_RegisterBigInt
(
OCI_Statement *stmt,
const otext *name
);
OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedBigInt
(
OCI_Statement *stmt,
const otext *name
);
OCI_EXPORT boolean OCI_API OCI_RegisterString
(
OCI_Statement *stmt,
const otext *name,
unsigned int len
);
OCI_EXPORT boolean OCI_API OCI_RegisterRaw
(
OCI_Statement *stmt,
const otext *name,
unsigned int len
);
OCI_EXPORT boolean OCI_API OCI_RegisterDouble
(
OCI_Statement *stmt,
const otext *name
);
OCI_EXPORT boolean OCI_API OCI_RegisterFloat
(
OCI_Statement *stmt,
const otext *name
);
OCI_EXPORT boolean OCI_API OCI_RegisterDate
(
OCI_Statement *stmt,
const otext *name
);
OCI_EXPORT boolean OCI_API OCI_RegisterTimestamp
(
OCI_Statement *stmt,
const otext *name,
unsigned int type
);
OCI_EXPORT boolean OCI_API OCI_RegisterInterval
(
OCI_Statement *stmt,
const otext *name,
unsigned int type
);
OCI_EXPORT boolean OCI_API OCI_RegisterObject
(
OCI_Statement *stmt,
const otext *name,
OCI_TypeInfo *typinf
);
OCI_EXPORT boolean OCI_API OCI_RegisterLob
(
OCI_Statement *stmt,
const otext *name,
unsigned int type
);
OCI_EXPORT boolean OCI_API OCI_RegisterFile
(
OCI_Statement *stmt,
const otext *name,
unsigned int type
);
OCI_EXPORT boolean OCI_API OCI_RegisterRef
(
OCI_Statement *stmt,
const otext *name,
OCI_TypeInfo *typinf
);
OCI_EXPORT unsigned int OCI_API OCI_GetStatementType
(
OCI_Statement *stmt
);
OCI_EXPORT boolean OCI_API OCI_SetFetchMode
(
OCI_Statement *stmt,
unsigned int mode
);
OCI_EXPORT unsigned int OCI_API OCI_GetFetchMode
(
OCI_Statement *stmt
);
OCI_EXPORT boolean OCI_API OCI_SetBindMode
(
OCI_Statement *stmt,
unsigned int mode
);
OCI_EXPORT unsigned int OCI_API OCI_GetBindMode
(
OCI_Statement *stmt
);
OCI_EXPORT boolean OCI_API OCI_SetBindAllocation
(
OCI_Statement *stmt,
unsigned int mode
);
OCI_EXPORT unsigned int OCI_API OCI_GetBindAllocation
(
OCI_Statement *stmt
);
OCI_EXPORT boolean OCI_API OCI_SetFetchSize
(
OCI_Statement *stmt,
unsigned int size
);
OCI_EXPORT unsigned int OCI_API OCI_GetFetchSize
(
OCI_Statement *stmt
);
OCI_EXPORT boolean OCI_API OCI_SetPrefetchSize
(
OCI_Statement *stmt,
unsigned int size
);
OCI_EXPORT unsigned int OCI_API OCI_GetPrefetchSize
(
OCI_Statement *stmt
);
OCI_EXPORT boolean OCI_API OCI_SetPrefetchMemory
(
OCI_Statement *stmt,
unsigned int size
);
OCI_EXPORT unsigned int OCI_API OCI_GetPrefetchMemory
(
OCI_Statement *stmt
);
OCI_EXPORT boolean OCI_API OCI_SetLongMaxSize
(
OCI_Statement *stmt,
unsigned int size
);
OCI_EXPORT unsigned int OCI_API OCI_GetLongMaxSize
(
OCI_Statement *stmt
);
OCI_EXPORT boolean OCI_API OCI_SetLongMode
(
OCI_Statement *stmt,
unsigned int mode
);
OCI_EXPORT unsigned int OCI_API OCI_GetLongMode
(
OCI_Statement *stmt
);
OCI_EXPORT OCI_Connection * OCI_API OCI_StatementGetConnection
(
OCI_Statement *stmt
);
OCI_EXPORT OCI_Lob * OCI_API OCI_LobCreate
(
OCI_Connection *con,
unsigned int type
);
OCI_EXPORT boolean OCI_API OCI_LobFree
(
OCI_Lob *lob
);
OCI_EXPORT OCI_Lob ** OCI_API OCI_LobArrayCreate
(
OCI_Connection *con,
unsigned int type,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_LobArrayFree
(
OCI_Lob **lobs
);
OCI_EXPORT unsigned int OCI_API OCI_LobGetType
(
OCI_Lob *lob
);
OCI_EXPORT boolean OCI_API OCI_LobSeek
(
OCI_Lob *lob,
big_uint offset,
unsigned int mode
);
OCI_EXPORT big_uint OCI_API OCI_LobGetOffset
(
OCI_Lob *lob
);
OCI_EXPORT unsigned int OCI_API OCI_LobRead
(
OCI_Lob *lob,
void *buffer,
unsigned int len
);
OCI_EXPORT boolean OCI_API OCI_LobRead2
(
OCI_Lob *lob,
void *buffer,
unsigned int *char_count,
unsigned int *byte_count
);
OCI_EXPORT unsigned int OCI_API OCI_LobWrite
(
OCI_Lob *lob,
void *buffer,
unsigned int len
);
OCI_EXPORT boolean OCI_API OCI_LobWrite2
(
OCI_Lob *lob,
void *buffer,
unsigned int *char_count,
unsigned int *byte_count
);
OCI_EXPORT boolean OCI_API OCI_LobTruncate
(
OCI_Lob *lob,
big_uint size
);
OCI_EXPORT big_uint OCI_API OCI_LobGetLength
(
OCI_Lob *lob
);
OCI_EXPORT unsigned int OCI_API OCI_LobGetChunkSize
(
OCI_Lob *lob
);
OCI_EXPORT big_uint OCI_API OCI_LobErase
(
OCI_Lob *lob,
big_uint offset,
big_uint len
);
OCI_EXPORT unsigned int OCI_API OCI_LobAppend
(
OCI_Lob *lob,
void *buffer,
unsigned int len
);
OCI_EXPORT boolean OCI_API OCI_LobAppend2
(
OCI_Lob *lob,
void *buffer,
unsigned int *char_count,
unsigned int *byte_count
);
OCI_EXPORT boolean OCI_API OCI_LobAppendLob
(
OCI_Lob *lob,
OCI_Lob *lob_src
);
OCI_EXPORT boolean OCI_API OCI_LobIsTemporary
(
OCI_Lob *lob
);
OCI_EXPORT boolean OCI_API OCI_LobCopy
(
OCI_Lob *lob,
OCI_Lob *lob_src,
big_uint offset_dst,
big_uint offset_src,
big_uint count
);
OCI_EXPORT boolean OCI_API OCI_LobCopyFromFile
(
OCI_Lob *lob,
OCI_File *file,
big_uint offset_dst,
big_uint offset_src,
big_uint count
);
OCI_EXPORT boolean OCI_API OCI_LobOpen
(
OCI_Lob *lob,
unsigned int mode
);
OCI_EXPORT boolean OCI_API OCI_LobClose
(
OCI_Lob *lob
);
OCI_EXPORT boolean OCI_API OCI_LobIsEqual
(
OCI_Lob *lob,
OCI_Lob *lob2
);
OCI_EXPORT boolean OCI_API OCI_LobAssign
(
OCI_Lob *lob,
OCI_Lob *lob_src
);
OCI_EXPORT big_uint OCI_API OCI_LobGetMaxSize
(
OCI_Lob *lob
);
OCI_EXPORT boolean OCI_API OCI_LobFlush
(
OCI_Lob *lob
);
OCI_EXPORT boolean OCI_API OCI_LobEnableBuffering
(
OCI_Lob *lob,
boolean value
);
OCI_EXPORT OCI_Connection * OCI_API OCI_LobGetConnection
(
OCI_Lob *lob
);
OCI_EXPORT OCI_File * OCI_API OCI_FileCreate
(
OCI_Connection *con,
unsigned int type
);
OCI_EXPORT boolean OCI_API OCI_FileFree
(
OCI_File *file
);
OCI_EXPORT OCI_File ** OCI_API OCI_FileArrayCreate
(
OCI_Connection *con,
unsigned int type,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_FileArrayFree
(
OCI_File **files
);
OCI_EXPORT unsigned int OCI_API OCI_FileGetType
(
OCI_File *file
);
OCI_EXPORT boolean OCI_API OCI_FileSeek
(
OCI_File *file,
big_uint offset,
unsigned int mode
);
OCI_EXPORT big_uint OCI_API OCI_FileGetOffset
(
OCI_File *file
);
OCI_EXPORT unsigned int OCI_API OCI_FileRead
(
OCI_File *file,
void *buffer,
unsigned int len
);
OCI_EXPORT big_uint OCI_API OCI_FileGetSize
(
OCI_File *file
);
OCI_EXPORT boolean OCI_API OCI_FileExists
(
OCI_File *file
);
OCI_EXPORT boolean OCI_API OCI_FileSetName
(
OCI_File *file,
const otext *dir,
const otext *name
);
OCI_EXPORT const otext * OCI_API OCI_FileGetDirectory
(
OCI_File *file
);
OCI_EXPORT const otext * OCI_API OCI_FileGetName
(
OCI_File *file
);
OCI_EXPORT boolean OCI_API OCI_FileOpen
(
OCI_File *file
);
OCI_EXPORT boolean OCI_API OCI_FileIsOpen
(
OCI_File *file
);
OCI_EXPORT boolean OCI_API OCI_FileClose
(
OCI_File *file
);
OCI_EXPORT boolean OCI_API OCI_FileIsEqual
(
OCI_File *file,
OCI_File *file2
);
OCI_EXPORT boolean OCI_API OCI_FileAssign
(
OCI_File *file,
OCI_File *file_src
);
OCI_EXPORT OCI_Connection * OCI_API OCI_FileGetConnection
(
OCI_File *file
);
OCI_EXPORT OCI_Long * OCI_API OCI_LongCreate
(
OCI_Statement *stmt,
unsigned int type
);
OCI_EXPORT boolean OCI_API OCI_LongFree
(
OCI_Long *lg
);
OCI_EXPORT unsigned int OCI_API OCI_LongGetType
(
OCI_Long *lg
);
OCI_EXPORT unsigned int OCI_API OCI_LongRead
(
OCI_Long *lg,
void *buffer,
unsigned int len
);
OCI_EXPORT unsigned int OCI_API OCI_LongWrite
(
OCI_Long *lg,
void *buffer,
unsigned int len
);
OCI_EXPORT unsigned int OCI_API OCI_LongGetSize
(
OCI_Long *lg
);
OCI_EXPORT void * OCI_API OCI_LongGetBuffer
(
OCI_Long *lg
);
OCI_EXPORT OCI_Number * OCI_API OCI_NumberCreate
(
OCI_Connection *con
);
OCI_EXPORT boolean OCI_API OCI_NumberFree
(
OCI_Number *number
);
OCI_EXPORT OCI_Number ** OCI_API OCI_NumberArrayCreate
(
OCI_Connection *con,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_NumberArrayFree
(
OCI_Number **numbers
);
OCI_EXPORT int OCI_API OCI_NumberAssign
(
OCI_Number *number,
OCI_Number *number_src
);
OCI_EXPORT boolean OCI_API OCI_NumberToText
(
OCI_Number *number,
const otext *fmt,
int size,
otext *str
);
OCI_EXPORT boolean OCI_API OCI_NumberFromText
(
OCI_Number *number,
const otext *str,
const otext *fmt
);
OCI_EXPORT unsigned char * OCI_API OCI_NumberGetContent
(
OCI_Number *number
);
OCI_EXPORT boolean OCI_API OCI_NumberSetContent
(
OCI_Number *number,
unsigned char *content
);
OCI_EXPORT boolean OCI_API OCI_NumberSetValue
(
OCI_Number *number,
unsigned int type,
void *value
);
OCI_EXPORT boolean OCI_API OCI_NumberGetValue
(
OCI_Number *number,
unsigned int type,
void *value
);
OCI_EXPORT boolean OCI_API OCI_NumberAdd
(
OCI_Number *number,
unsigned int type,
void *value
);
OCI_EXPORT boolean OCI_API OCI_NumberSub
(
OCI_Number *number,
unsigned int type,
void *value
);
OCI_EXPORT boolean OCI_API OCI_NumberMultiply
(
OCI_Number *number,
unsigned int type,
void *value
);
OCI_EXPORT boolean OCI_API OCI_NumberDivide
(
OCI_Number *number,
unsigned int type,
void *value
);
OCI_EXPORT int OCI_API OCI_NumberCompare
(
OCI_Number *number1,
OCI_Number *number2
);
OCI_EXPORT OCI_Date * OCI_API OCI_DateCreate
(
OCI_Connection *con
);
OCI_EXPORT boolean OCI_API OCI_DateFree
(
OCI_Date *date
);
OCI_EXPORT OCI_Date ** OCI_API OCI_DateArrayCreate
(
OCI_Connection *con,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_DateArrayFree
(
OCI_Date **dates
);
OCI_EXPORT boolean OCI_API OCI_DateAddDays
(
OCI_Date *date,
int nb
);
OCI_EXPORT boolean OCI_API OCI_DateAddMonths
(
OCI_Date *date,
int nb
);
OCI_EXPORT int OCI_API OCI_DateAssign
(
OCI_Date *date,
OCI_Date *date_src
);
OCI_EXPORT int OCI_API OCI_DateCheck
(
OCI_Date *date
);
OCI_EXPORT int OCI_API OCI_DateCompare
(
OCI_Date *date,
OCI_Date *date2
);
OCI_EXPORT int OCI_API OCI_DateDaysBetween
(
OCI_Date *date,
OCI_Date *date2
);
OCI_EXPORT boolean OCI_API OCI_DateFromText
(
OCI_Date *date,
const otext *str,
const otext *fmt
);
OCI_EXPORT boolean OCI_API OCI_DateToText
(
OCI_Date *date,
const otext *fmt,
int size,
otext *str
);
OCI_EXPORT boolean OCI_API OCI_DateGetDate
(
OCI_Date *date,
int *year,
int *month,
int *day
);
OCI_EXPORT boolean OCI_API OCI_DateGetTime
(
OCI_Date *date,
int *hour,
int *min,
int *sec
);
OCI_EXPORT boolean OCI_API OCI_DateGetDateTime
(
OCI_Date *date,
int *year,
int *month,
int *day,
int *hour,
int *min,
int *sec
);
OCI_EXPORT boolean OCI_API OCI_DateSetDate
(
OCI_Date *date,
int year,
int month,
int day
);
OCI_EXPORT boolean OCI_API OCI_DateSetTime
(
OCI_Date *date,
int hour,
int min,
int sec
);
OCI_EXPORT boolean OCI_API OCI_DateSetDateTime
(
OCI_Date *date,
int year,
int month,
int day,
int hour,
int min,
int sec
);
OCI_EXPORT boolean OCI_API OCI_DateLastDay
(
OCI_Date *date
);
OCI_EXPORT boolean OCI_API OCI_DateNextDay
(
OCI_Date *date,
const otext *day
);
OCI_EXPORT boolean OCI_API OCI_DateSysDate
(
OCI_Date *date
);
OCI_EXPORT boolean OCI_API OCI_DateZoneToZone
(
OCI_Date *date,
const otext *zone1,
const otext *zone2
);
OCI_EXPORT boolean OCI_API OCI_DateToCTime
(
OCI_Date *date,
struct tm *ptm,
time_t *pt
);
OCI_EXPORT boolean OCI_API OCI_DateFromCTime
(
OCI_Date *date,
struct tm *ptm,
time_t t
);
OCI_EXPORT OCI_Timestamp * OCI_API OCI_TimestampCreate
(
OCI_Connection *con,
unsigned int type
);
OCI_EXPORT boolean OCI_API OCI_TimestampFree
(
OCI_Timestamp *tmsp
);
OCI_EXPORT OCI_Timestamp ** OCI_API OCI_TimestampArrayCreate
(
OCI_Connection *con,
unsigned int type,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_TimestampArrayFree
(
OCI_Timestamp **tmsps
);
OCI_EXPORT unsigned int OCI_API OCI_TimestampGetType
(
OCI_Timestamp *tmsp
);
OCI_EXPORT boolean OCI_API OCI_TimestampAssign
(
OCI_Timestamp *tmsp,
OCI_Timestamp *tmsp_src
);
OCI_EXPORT int OCI_API OCI_TimestampCheck
(
OCI_Timestamp *tmsp
);
OCI_EXPORT int OCI_API OCI_TimestampCompare
(
OCI_Timestamp *tmsp,
OCI_Timestamp *tmsp2
);
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
);
OCI_EXPORT boolean OCI_API OCI_TimestampConvert
(
OCI_Timestamp *tmsp,
OCI_Timestamp *tmsp_src
);
OCI_EXPORT boolean OCI_API OCI_TimestampFromText
(
OCI_Timestamp *tmsp,
const otext *str,
const otext *fmt
);
OCI_EXPORT boolean OCI_API OCI_TimestampToText
(
OCI_Timestamp *tmsp,
const otext *fmt,
int size,
otext *str,
int precision
);
OCI_EXPORT boolean OCI_API OCI_TimestampGetDate
(
OCI_Timestamp *tmsp,
int *year,
int *month,
int *day
);
OCI_EXPORT boolean OCI_API OCI_TimestampGetTime
(
OCI_Timestamp *tmsp,
int *hour,
int *min,
int *sec,
int *fsec
);
OCI_EXPORT boolean OCI_API OCI_TimestampGetDateTime
(
OCI_Timestamp *tmsp,
int *year,
int *month,
int *day,
int *hour,
int *min,
int *sec,
int *fsec
);
OCI_EXPORT boolean OCI_API OCI_TimestampGetTimeZoneName
(
OCI_Timestamp *tmsp,
int size,
otext *str
);
OCI_EXPORT boolean OCI_API OCI_TimestampGetTimeZoneOffset
(
OCI_Timestamp *tmsp,
int *hour,
int *min
);
OCI_EXPORT boolean OCI_API OCI_TimestampIntervalAdd
(
OCI_Timestamp *tmsp,
OCI_Interval *itv
);
OCI_EXPORT boolean OCI_API OCI_TimestampIntervalSub
(
OCI_Timestamp *tmsp,
OCI_Interval *itv
);
OCI_EXPORT boolean OCI_API OCI_TimestampSubtract
(
OCI_Timestamp *tmsp,
OCI_Timestamp *tmsp2,
OCI_Interval *itv
);
OCI_EXPORT boolean OCI_API OCI_TimestampSysTimestamp
(
OCI_Timestamp *tmsp
);
OCI_EXPORT boolean OCI_API OCI_TimestampToCTime
(
OCI_Timestamp *tmsp,
struct tm *ptm,
time_t *pt
);
OCI_EXPORT boolean OCI_API OCI_TimestampFromCTime
(
OCI_Timestamp *tmsp,
struct tm *ptm,
time_t t
);
OCI_EXPORT OCI_Interval * OCI_API OCI_IntervalCreate
(
OCI_Connection *con,
unsigned int type
);
OCI_EXPORT boolean OCI_API OCI_IntervalFree
(
OCI_Interval *itv
);
OCI_EXPORT OCI_Interval ** OCI_API OCI_IntervalArrayCreate
(
OCI_Connection *con,
unsigned int type,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_IntervalArrayFree
(
OCI_Interval **itvs
);
OCI_EXPORT unsigned int OCI_API OCI_IntervalGetType
(
OCI_Interval *itv
);
OCI_EXPORT boolean OCI_API OCI_IntervalAssign
(
OCI_Interval *itv,
OCI_Interval *itv_src
);
OCI_EXPORT int OCI_API OCI_IntervalCheck
(
OCI_Interval *itv
);
OCI_EXPORT int OCI_API OCI_IntervalCompare
(
OCI_Interval *itv,
OCI_Interval *itv2
);
OCI_EXPORT boolean OCI_API OCI_IntervalFromText
(
OCI_Interval *itv,
const otext *str
);
OCI_EXPORT boolean OCI_API OCI_IntervalToText
(
OCI_Interval *itv,
int leading_prec,
int fraction_prec,
int size,
otext *str
);
OCI_EXPORT boolean OCI_API OCI_IntervalFromTimeZone
(
OCI_Interval *itv,
const otext *str
);
OCI_EXPORT boolean OCI_API OCI_IntervalGetDaySecond
(
OCI_Interval *itv,
int *day,
int *hour,
int *min,
int *sec,
int *fsec
);
OCI_EXPORT boolean OCI_API OCI_IntervalGetYearMonth
(
OCI_Interval *itv,
int *year,
int *month
);
OCI_EXPORT boolean OCI_API OCI_IntervalSetDaySecond
(
OCI_Interval *itv,
int day,
int hour,
int min,
int sec,
int fsec
);
OCI_EXPORT boolean OCI_API OCI_IntervalSetYearMonth
(
OCI_Interval *itv,
int year,
int month
);
OCI_EXPORT boolean OCI_API OCI_IntervalAdd
(
OCI_Interval *itv,
OCI_Interval *itv2
);
OCI_EXPORT boolean OCI_API OCI_IntervalSubtract
(
OCI_Interval *itv,
OCI_Interval *itv2
);
OCI_EXPORT OCI_Object * OCI_API OCI_ObjectCreate
(
OCI_Connection *con,
OCI_TypeInfo *typinf
);
OCI_EXPORT boolean OCI_API OCI_ObjectFree
(
OCI_Object *obj
);
OCI_EXPORT OCI_Object ** OCI_API OCI_ObjectArrayCreate
(
OCI_Connection *con,
OCI_TypeInfo *typinf,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_ObjectArrayFree
(
OCI_Object **objs
);
OCI_EXPORT boolean OCI_API OCI_ObjectAssign
(
OCI_Object *obj,
OCI_Object *obj_src
);
OCI_EXPORT unsigned int OCI_API OCI_ObjectGetType
(
OCI_Object *obj
);
OCI_EXPORT boolean OCI_API OCI_ObjectGetSelfRef
(
OCI_Object *obj,
OCI_Ref *ref
);
OCI_EXPORT OCI_TypeInfo * OCI_API OCI_ObjectGetTypeInfo
(
OCI_Object *obj
);
OCI_EXPORT boolean OCI_API OCI_ObjectGetBoolean
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT OCI_Number* OCI_API OCI_ObjectGetNumber
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT short OCI_API OCI_ObjectGetShort
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT unsigned short OCI_API OCI_ObjectGetUnsignedShort
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT int OCI_API OCI_ObjectGetInt
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT unsigned int OCI_API OCI_ObjectGetUnsignedInt
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT big_int OCI_API OCI_ObjectGetBigInt
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT big_uint OCI_API OCI_ObjectGetUnsignedBigInt
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT double OCI_API OCI_ObjectGetDouble
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT float OCI_API OCI_ObjectGetFloat
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT const otext * OCI_API OCI_ObjectGetString
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT int OCI_API OCI_ObjectGetRaw
(
OCI_Object *obj,
const otext *attr,
void *value,
unsigned int len
);
OCI_EXPORT unsigned int OCI_API OCI_ObjectGetRawSize
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT OCI_Date * OCI_API OCI_ObjectGetDate
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT OCI_Timestamp * OCI_API OCI_ObjectGetTimestamp
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT OCI_Interval * OCI_API OCI_ObjectGetInterval
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT OCI_Coll * OCI_API OCI_ObjectGetColl
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT OCI_Ref * OCI_API OCI_ObjectGetRef
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT OCI_Object * OCI_API OCI_ObjectGetObject
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT OCI_Lob * OCI_API OCI_ObjectGetLob
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT OCI_File * OCI_API OCI_ObjectGetFile
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetBoolean
(
OCI_Object *obj,
const otext *attr,
boolean value
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetNumber
(
OCI_Object *obj,
const otext *attr,
OCI_Number *value
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetShort
(
OCI_Object *obj,
const otext *attr,
short value
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedShort
(
OCI_Object *obj,
const otext *attr,
unsigned short value
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetInt
(
OCI_Object *obj,
const otext *attr,
int value
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedInt
(
OCI_Object *obj,
const otext *attr,
unsigned int value
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetBigInt
(
OCI_Object *obj,
const otext *attr,
big_int value
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetUnsignedBigInt
(
OCI_Object *obj,
const otext *attr,
big_uint value
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetDouble
(
OCI_Object *obj,
const otext *attr,
double value
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetFloat
(
OCI_Object *obj,
const otext *attr,
float value
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetString
(
OCI_Object *obj,
const otext *attr,
const otext *value
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetRaw
(
OCI_Object *obj,
const otext *attr,
void *value,
unsigned int len
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetDate
(
OCI_Object *obj,
const otext *attr,
OCI_Date *value
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetTimestamp
(
OCI_Object *obj,
const otext *attr,
OCI_Timestamp *value
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetInterval
(
OCI_Object *obj,
const otext *attr,
OCI_Interval *value
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetColl
(
OCI_Object *obj,
const otext *attr,
OCI_Coll *value
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetObject
(
OCI_Object *obj,
const otext *attr,
OCI_Object *value
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetLob
(
OCI_Object *obj,
const otext *attr,
OCI_Lob *value
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetFile
(
OCI_Object *obj,
const otext *attr,
OCI_File *value
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetRef
(
OCI_Object *obj,
const otext *attr,
OCI_Ref *value
);
OCI_EXPORT boolean OCI_API OCI_ObjectIsNull
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT boolean OCI_API OCI_ObjectSetNull
(
OCI_Object *obj,
const otext *attr
);
OCI_EXPORT boolean OCI_API OCI_ObjectGetStruct
(
OCI_Object *obj,
void **pp_struct,
void **pp_ind
);
OCI_EXPORT boolean OCI_API OCI_ObjectToText
(
OCI_Object *obj,
unsigned int *size,
otext *str
);
OCI_EXPORT OCI_Ref * OCI_API OCI_RefCreate
(
OCI_Connection *con,
OCI_TypeInfo *typinf
);
OCI_EXPORT boolean OCI_API OCI_RefFree
(
OCI_Ref *ref
);
OCI_EXPORT OCI_Ref ** OCI_API OCI_RefArrayCreate
(
OCI_Connection *con,
OCI_TypeInfo *typinf,
unsigned int nbelem
);
OCI_EXPORT boolean OCI_API OCI_RefArrayFree
(
OCI_Ref **refs
);
OCI_EXPORT boolean OCI_API OCI_RefAssign
(
OCI_Ref *ref,
OCI_Ref *ref_src
);
OCI_EXPORT OCI_TypeInfo * OCI_API OCI_RefGetTypeInfo
(
OCI_Ref *ref
);
OCI_EXPORT OCI_Object * OCI_API OCI_RefGetObject
(
OCI_Ref *ref
);
OCI_EXPORT boolean OCI_API OCI_RefIsNull
(
OCI_Ref *ref
);
OCI_EXPORT boolean OCI_API OCI_RefSetNull
(
OCI_Ref *ref
);
OCI_EXPORT unsigned int OCI_API OCI_RefGetHexSize
(
OCI_Ref *ref
);
OCI_EXPORT boolean OCI_API OCI_RefToText
(
OCI_Ref *ref,
unsigned int size,
otext *str
);
OCI_EXPORT boolean OCI_API OCI_Break
(
OCI_Connection *con
);
OCI_EXPORT OCI_TypeInfo * OCI_API OCI_TypeInfoGet
(
OCI_Connection *con,
const otext *name,
unsigned int type
);
OCI_EXPORT unsigned int OCI_API OCI_TypeInfoGetType
(
OCI_TypeInfo *typinf
);
OCI_EXPORT OCI_Connection * OCI_API OCI_TypeInfoGetConnection
(
OCI_TypeInfo *typinf
);
OCI_EXPORT boolean OCI_API OCI_TypeInfoFree
(
OCI_TypeInfo *typinf
);
OCI_EXPORT unsigned int OCI_API OCI_TypeInfoGetColumnCount
(
OCI_TypeInfo *typinf
);
OCI_EXPORT OCI_Column * OCI_API OCI_TypeInfoGetColumn
(
OCI_TypeInfo *typinf,
unsigned int index
);
OCI_EXPORT const otext * OCI_API OCI_TypeInfoGetName
(
OCI_TypeInfo *typinf
);
OCI_EXPORT boolean OCI_Immediate
(
OCI_Connection *con,
const otext *sql,
...
);
OCI_EXPORT boolean OCI_ImmediateFmt
(
OCI_Connection *con,
const otext *sql,
...
);
OCI_EXPORT boolean OCI_PrepareFmt
(
OCI_Statement *stmt,
const otext *sql,
...
);
OCI_EXPORT boolean OCI_ExecuteStmtFmt
(
OCI_Statement *stmt,
const otext *sql,
...
);
OCI_EXPORT boolean OCI_ParseFmt
(
OCI_Statement *stmt,
const otext *sql,
...
);
OCI_EXPORT boolean OCI_DescribeFmt
(
OCI_Statement *stmt,
const otext *sql,
...
);
OCI_EXPORT OCI_HashTable * OCI_API OCI_HashCreate
(
unsigned int size,
unsigned int type
);
OCI_EXPORT boolean OCI_API OCI_HashFree
(
OCI_HashTable *table
);
OCI_EXPORT unsigned int OCI_API OCI_HashGetSize
(
OCI_HashTable *table
);
OCI_EXPORT unsigned int OCI_API OCI_HashGetType
(
OCI_HashTable *table
);
OCI_EXPORT boolean OCI_API OCI_HashAddString
(
OCI_HashTable *table,
const otext *key,
const otext *value
);
OCI_EXPORT const otext * OCI_API OCI_HashGetString
(
OCI_HashTable *table,
const otext *key
);
OCI_EXPORT boolean OCI_API OCI_HashAddInt
(
OCI_HashTable *table,
const otext *key,
int value
);
OCI_EXPORT int OCI_API OCI_HashGetInt
(
OCI_HashTable *table,
const otext *key
);
OCI_EXPORT boolean OCI_API OCI_HashAddPointer
(
OCI_HashTable *table,
const otext *key,
void *value
);
OCI_EXPORT void * OCI_API OCI_HashGetPointer
(
OCI_HashTable *table,
const otext *key
);
OCI_EXPORT OCI_HashEntry * OCI_API OCI_HashLookup
(
OCI_HashTable *table,
const otext *key,
boolean create
);
OCI_EXPORT OCI_HashValue * OCI_API OCI_HashGetValue
(
OCI_HashTable *table,
const otext *key
);
OCI_EXPORT OCI_HashEntry * OCI_API OCI_HashGetEntry
(
OCI_HashTable *table,
unsigned int index
);
OCI_EXPORT OCI_Mutex * OCI_API OCI_MutexCreate
(
void
);
OCI_EXPORT boolean OCI_API OCI_MutexFree
(
OCI_Mutex *mutex
);
OCI_EXPORT boolean OCI_API OCI_MutexAcquire
(
OCI_Mutex *mutex
);
OCI_EXPORT boolean OCI_API OCI_MutexRelease
(
OCI_Mutex *mutex
);
OCI_EXPORT OCI_Thread * OCI_API OCI_ThreadCreate
(
void
);
OCI_EXPORT boolean OCI_API OCI_ThreadFree
(
OCI_Thread *thread
);
OCI_EXPORT boolean OCI_API OCI_ThreadRun
(
OCI_Thread *thread,
POCI_THREAD proc,
void *arg
);
OCI_EXPORT boolean OCI_API OCI_ThreadJoin
(
OCI_Thread *thread
);
OCI_EXPORT boolean OCI_API OCI_ThreadKeyCreate
(
const otext *name,
POCI_THREADKEYDEST destfunc
);
OCI_EXPORT boolean OCI_API OCI_ThreadKeySetValue
(
const otext *name,
void *value
);
OCI_EXPORT void * OCI_API OCI_ThreadKeyGetValue
(
const otext *name
);
OCI_EXPORT OCI_DirPath * OCI_API OCI_DirPathCreate
(
OCI_TypeInfo *typinf,
const otext *partition,
unsigned int nb_cols,
unsigned int nb_rows
);
OCI_EXPORT boolean OCI_API OCI_DirPathFree
(
OCI_DirPath *dp
);
OCI_EXPORT boolean OCI_API OCI_DirPathSetColumn
(
OCI_DirPath *dp,
unsigned int index,
const otext *name,
unsigned int maxsize,
const otext *format
);
OCI_EXPORT boolean OCI_API OCI_DirPathPrepare
(
OCI_DirPath *dp
);
OCI_EXPORT boolean OCI_API OCI_DirPathSetEntry
(
OCI_DirPath *dp,
unsigned int row,
unsigned int index,
void *value,
unsigned size,
boolean complete
);
OCI_EXPORT unsigned int OCI_API OCI_DirPathConvert
(
OCI_DirPath *dp
);
OCI_EXPORT unsigned int OCI_API OCI_DirPathLoad
(
OCI_DirPath *dp
);
OCI_EXPORT boolean OCI_API OCI_DirPathReset
(
OCI_DirPath *dp
);
OCI_EXPORT boolean OCI_API OCI_DirPathFinish
(
OCI_DirPath *dp
);
OCI_EXPORT boolean OCI_API OCI_DirPathAbort
(
OCI_DirPath *dp
);
OCI_EXPORT boolean OCI_API OCI_DirPathSave
(
OCI_DirPath *dp
);
OCI_EXPORT boolean OCI_API OCI_DirPathFlushRow
(
OCI_DirPath *dp
);
OCI_EXPORT boolean OCI_API OCI_DirPathSetCurrentRows
(
OCI_DirPath *dp,
unsigned int nb_rows
);
OCI_EXPORT unsigned int OCI_API OCI_DirPathGetCurrentRows
(
OCI_DirPath *dp
);
OCI_EXPORT unsigned int OCI_API OCI_DirPathGetMaxRows
(
OCI_DirPath *dp
);
OCI_EXPORT boolean OCI_API OCI_DirPathSetDateFormat
(
OCI_DirPath *dp,
const otext *format
);
OCI_EXPORT boolean OCI_API OCI_DirPathSetParallel
(
OCI_DirPath *dp,
boolean value
);
OCI_EXPORT boolean OCI_API OCI_DirPathSetNoLog
(
OCI_DirPath *dp,
boolean value
);
OCI_EXPORT boolean OCI_API OCI_DirPathSetCacheSize
(
OCI_DirPath *dp,
unsigned int size
);
OCI_EXPORT boolean OCI_API OCI_DirPathSetBufferSize
(
OCI_DirPath *dp,
unsigned int size
);
OCI_EXPORT boolean OCI_API OCI_DirPathSetConvertMode
(
OCI_DirPath *dp,
unsigned int mode
);
OCI_EXPORT unsigned int OCI_API OCI_DirPathGetRowCount
(
OCI_DirPath *dp
);
OCI_EXPORT unsigned int OCI_API OCI_DirPathGetAffectedRows
(
OCI_DirPath *dp
);
OCI_EXPORT unsigned int OCI_API OCI_DirPathGetErrorColumn
(
OCI_DirPath *dp
);
OCI_EXPORT unsigned int OCI_API OCI_DirPathGetErrorRow
(
OCI_DirPath *dp
);
OCI_EXPORT OCI_Msg * OCI_API OCI_MsgCreate
(
OCI_TypeInfo *typinf
);
OCI_EXPORT boolean OCI_API OCI_MsgFree
(
OCI_Msg *msg
);
OCI_EXPORT boolean OCI_API OCI_MsgReset
(
OCI_Msg *msg
);
OCI_EXPORT OCI_Object * OCI_API OCI_MsgGetObject
(
OCI_Msg *msg
);
OCI_EXPORT boolean OCI_API OCI_MsgSetObject
(
OCI_Msg *msg,
OCI_Object *obj
);
OCI_EXPORT boolean OCI_API OCI_MsgGetRaw
(
OCI_Msg *msg,
void *raw,
unsigned int *size
);
OCI_EXPORT boolean OCI_API OCI_MsgSetRaw
(
OCI_Msg *msg,
const void *raw,
unsigned int size
);
OCI_EXPORT int OCI_API OCI_MsgGetAttemptCount
(
OCI_Msg *msg
);
OCI_EXPORT int OCI_API OCI_MsgGetEnqueueDelay
(
OCI_Msg *msg
);
OCI_EXPORT boolean OCI_API OCI_MsgSetEnqueueDelay
(
OCI_Msg *msg,
int value
);
OCI_EXPORT OCI_Date * OCI_API OCI_MsgGetEnqueueTime
(
OCI_Msg *msg
);
OCI_EXPORT int OCI_API OCI_MsgGetExpiration
(
OCI_Msg *msg
);
OCI_EXPORT boolean OCI_API OCI_MsgSetExpiration
(
OCI_Msg *msg,
int value
);
OCI_EXPORT unsigned int OCI_API OCI_MsgGetState
(
OCI_Msg *msg
);
OCI_EXPORT int OCI_API OCI_MsgGetPriority
(
OCI_Msg *msg
);
OCI_EXPORT boolean OCI_API OCI_MsgSetPriority
(
OCI_Msg *msg,
int value
);
OCI_EXPORT boolean OCI_API OCI_MsgGetID
(
OCI_Msg *msg,
void *id,
unsigned int *len
);
OCI_EXPORT boolean OCI_API OCI_MsgGetOriginalID
(
OCI_Msg *msg,
void *id,
unsigned int *len
);
OCI_EXPORT boolean OCI_API OCI_MsgSetOriginalID
(
OCI_Msg *msg,
const void *id,
unsigned int len
);
OCI_EXPORT OCI_Agent * OCI_API OCI_MsgGetSender
(
OCI_Msg *msg
);
OCI_EXPORT boolean OCI_API OCI_MsgSetSender
(
OCI_Msg *msg,
OCI_Agent *sender
);
OCI_EXPORT boolean OCI_API OCI_MsgSetConsumers
(
OCI_Msg *msg,
OCI_Agent **consumers,
unsigned int count
);
OCI_EXPORT const otext * OCI_API OCI_MsgGetCorrelation
(
OCI_Msg *msg
);
OCI_EXPORT boolean OCI_API OCI_MsgSetCorrelation
(
OCI_Msg *msg,
const otext *correlation
);
OCI_EXPORT const otext * OCI_API OCI_MsgGetExceptionQueue
(
OCI_Msg *msg
);
OCI_EXPORT boolean OCI_API OCI_MsgSetExceptionQueue
(
OCI_Msg *msg,
const otext *queue
);
OCI_EXPORT OCI_Enqueue * OCI_API OCI_EnqueueCreate
(
OCI_TypeInfo *typinf,
const otext *name
);
OCI_EXPORT boolean OCI_API OCI_EnqueueFree
(
OCI_Enqueue *enqueue
);
OCI_EXPORT boolean OCI_API OCI_EnqueuePut
(
OCI_Enqueue *enqueue,
OCI_Msg *msg
);
OCI_EXPORT boolean OCI_API OCI_EnqueueSetSequenceDeviation
(
OCI_Enqueue *enqueue,
unsigned int sequence
);
OCI_EXPORT unsigned int OCI_API OCI_EnqueueGetSequenceDeviation
(
OCI_Enqueue *enqueue
);
OCI_EXPORT boolean OCI_API OCI_EnqueueSetVisibility
(
OCI_Enqueue *enqueue,
unsigned int visibility
);
OCI_EXPORT unsigned int OCI_API OCI_EnqueueGetVisibility
(
OCI_Enqueue *enqueue
);
OCI_EXPORT boolean OCI_API OCI_EnqueueSetRelativeMsgID
(
OCI_Enqueue *enqueue,
const void *id,
unsigned int len
);
OCI_EXPORT boolean OCI_API OCI_EnqueueGetRelativeMsgID
(
OCI_Enqueue *enqueue,
void *id,
unsigned int *len
);
OCI_EXPORT OCI_Dequeue * OCI_API OCI_DequeueCreate
(
OCI_TypeInfo *typinf,
const otext *name
);
OCI_EXPORT boolean OCI_API OCI_DequeueFree
(
OCI_Dequeue *dequeue
);
OCI_EXPORT OCI_Msg * OCI_API OCI_DequeueGet
(
OCI_Dequeue *dequeue
);
OCI_EXPORT boolean OCI_API OCI_DequeueSubscribe
(
OCI_Dequeue *dequeue,
unsigned int port,
unsigned int timeout,
POCI_NOTIFY_AQ callback
);
OCI_EXPORT boolean OCI_API OCI_DequeueUnsubscribe
(
OCI_Dequeue *dequeue
);
OCI_EXPORT boolean OCI_API OCI_DequeueSetConsumer
(
OCI_Dequeue *dequeue,
const otext *consumer
);
OCI_EXPORT const otext * OCI_API OCI_DequeueGetConsumer
(
OCI_Dequeue *dequeue
);
OCI_EXPORT boolean OCI_API OCI_DequeueSetCorrelation
(
OCI_Dequeue *dequeue,
const otext *pattern
);
OCI_EXPORT const otext * OCI_API OCI_DequeueGetCorrelation
(
OCI_Dequeue *dequeue
);
OCI_EXPORT boolean OCI_API OCI_DequeueSetRelativeMsgID
(
OCI_Dequeue *dequeue,
const void *id,
unsigned int len
);
OCI_EXPORT boolean OCI_API OCI_DequeueGetRelativeMsgID
(
OCI_Dequeue *dequeue,
void *id,
unsigned int *len
);
OCI_EXPORT boolean OCI_API OCI_DequeueSetVisibility
(
OCI_Dequeue *dequeue,
unsigned int visibility
);
OCI_EXPORT unsigned int OCI_API OCI_DequeueGetVisibility
(
OCI_Dequeue *dequeue
);
OCI_EXPORT boolean OCI_API OCI_DequeueSetMode
(
OCI_Dequeue *dequeue,
unsigned int mode
);
OCI_EXPORT unsigned int OCI_API OCI_DequeueGetMode
(
OCI_Dequeue *dequeue
);
OCI_EXPORT boolean OCI_API OCI_DequeueSetNavigation
(
OCI_Dequeue *dequeue,
unsigned int position
);
OCI_EXPORT unsigned int OCI_API OCI_DequeueGetNavigation
(
OCI_Dequeue *dequeue
);
OCI_EXPORT boolean OCI_API OCI_DequeueSetWaitTime
(
OCI_Dequeue *dequeue,
int timeout
);
OCI_EXPORT int OCI_API OCI_DequeueGetWaitTime
(
OCI_Dequeue *dequeue
);
OCI_EXPORT boolean OCI_API OCI_DequeueSetAgentList
(
OCI_Dequeue *dequeue,
OCI_Agent **consumers,
unsigned int count
);
OCI_EXPORT OCI_Agent * OCI_API OCI_DequeueListen
(
OCI_Dequeue *dequeue,
int timeout
);
OCI_EXPORT OCI_Agent * OCI_API OCI_AgentCreate
(
OCI_Connection *con,
const otext *name,
const otext *address
);
OCI_EXPORT boolean OCI_API OCI_AgentFree
(
OCI_Agent *agent
);
OCI_EXPORT boolean OCI_API OCI_AgentSetName
(
OCI_Agent *agent,
const otext *name
);
OCI_EXPORT const otext * OCI_API OCI_AgentGetName
(
OCI_Agent *agent
);
OCI_EXPORT boolean OCI_API OCI_AgentSetAddress
(
OCI_Agent *agent,
const otext *address
);
OCI_EXPORT const otext * OCI_API OCI_AgentGetAddress
(
OCI_Agent *agent
);
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
);
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
);
OCI_EXPORT boolean OCI_API OCI_QueueDrop
(
OCI_Connection *con,
const otext *queue_name
);
OCI_EXPORT boolean OCI_API OCI_QueueStart
(
OCI_Connection *con,
const otext *queue_name,
boolean enqueue,
boolean dequeue
);
OCI_EXPORT boolean OCI_API OCI_QueueStop
(
OCI_Connection *con,
const otext *queue_name,
boolean enqueue,
boolean dequeue,
boolean wait
);
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
);
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
);
OCI_EXPORT boolean OCI_API OCI_QueueTableDrop
(
OCI_Connection *con,
const otext *queue_table,
boolean force
);
OCI_EXPORT boolean OCI_API OCI_QueueTablePurge
(
OCI_Connection *con,
const otext *queue_table,
const otext *purge_condition,
boolean block,
unsigned int delivery_mode
);
OCI_EXPORT boolean OCI_API OCI_QueueTableMigrate
(
OCI_Connection *con,
const otext *queue_table,
const otext *compatible
);
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
);
OCI_EXPORT boolean OCI_API OCI_SubscriptionUnregister
(
OCI_Subscription *sub
);
OCI_EXPORT boolean OCI_API OCI_SubscriptionAddStatement
(
OCI_Subscription *sub,
OCI_Statement *stmt
);
OCI_EXPORT const otext * OCI_API OCI_SubscriptionGetName
(
OCI_Subscription *sub
);
OCI_EXPORT unsigned int OCI_API OCI_SubscriptionGetPort
(
OCI_Subscription *sub
);
OCI_EXPORT unsigned int OCI_API OCI_SubscriptionGetTimeout
(
OCI_Subscription *sub
);
OCI_EXPORT OCI_Connection * OCI_API OCI_SubscriptionGetConnection
(
OCI_Subscription *sub
);
OCI_EXPORT unsigned int OCI_API OCI_EventGetType
(
OCI_Event *event
);
OCI_EXPORT unsigned int OCI_API OCI_EventGetOperation
(
OCI_Event *event
);
OCI_EXPORT const otext * OCI_API OCI_EventGetDatabase
(
OCI_Event *event
);
OCI_EXPORT const otext * OCI_API OCI_EventGetObject
(
OCI_Event *event
);
OCI_EXPORT const otext * OCI_API OCI_EventGetRowid
(
OCI_Event *event
);
OCI_EXPORT OCI_Subscription * OCI_API OCI_EventGetSubscription
(
OCI_Event *event
);
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
);
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
);
OCI_EXPORT const void * OCI_API OCI_HandleGetEnvironment
(
void
);
OCI_EXPORT const void * OCI_API OCI_HandleGetContext
(
OCI_Connection *con
);
OCI_EXPORT const void * OCI_API OCI_HandleGetServer
(
OCI_Connection *con
);
OCI_EXPORT const void * OCI_API OCI_HandleGetError
(
OCI_Connection *con
);
OCI_EXPORT const void * OCI_API OCI_HandleGetSession
(
OCI_Connection *con
);
OCI_EXPORT const void * OCI_API OCI_HandleGetTransaction
(
OCI_Transaction *trans
);
OCI_EXPORT const void * OCI_API OCI_HandleGetStatement
(
OCI_Statement *stmt
);
OCI_EXPORT const void * OCI_API OCI_HandleGetLob
(
OCI_Lob *lob
);
OCI_EXPORT const void * OCI_API OCI_HandleGetFile
(
OCI_File *file
);
OCI_EXPORT const void * OCI_API OCI_HandleGetDate
(
OCI_Date *date
);
OCI_EXPORT const void * OCI_API OCI_HandleGetTimestamp
(
OCI_Timestamp *tmsp
);
OCI_EXPORT const void * OCI_API OCI_HandleGetInterval
(
OCI_Interval *itv
);
OCI_EXPORT const void * OCI_API OCI_HandleGetObject
(
OCI_Object *obj
);
OCI_EXPORT const void * OCI_API OCI_HandleGetColl
(
OCI_Coll *coll
);
OCI_EXPORT const void * OCI_API OCI_HandleGetRef
(
OCI_Ref *ref
);
OCI_EXPORT const void * OCI_API OCI_HandleGetMutex
(
OCI_Mutex *mutex
);
OCI_EXPORT const void * OCI_API OCI_HandleGetThreadID
(
OCI_Thread *thread
);
OCI_EXPORT const void * OCI_API OCI_HandleGetThread
(
OCI_Thread *thread
);
OCI_EXPORT const void * OCI_API OCI_HandleGetDirPathCtx
(
OCI_DirPath *dp
);
OCI_EXPORT const void * OCI_API OCI_HandleGetDirPathColArray
(
OCI_DirPath *dp
);
OCI_EXPORT const void * OCI_API OCI_HandleGetDirPathStream
(
OCI_DirPath *dp
);
OCI_EXPORT const void * OCI_API OCI_HandleGetSubscription
(
OCI_Subscription *sub
);
#ifdef __cplusplus
}
#endif
#define VAR_OCILIB_WORKAROUND_UTF16_COLUMN_NAME "OCILIB_WORKAROUND_UTF16_COLUMN_NAME"
/* Compatibility with sources built with older versions of OCILIB */
/* macros added in version 2.3.0 */
#define OCI_CreateConnection OCI_ConnectionCreate
#define OCI_FreeConnection OCI_ConnectionFree
#define OCI_CreateStatement OCI_StatementCreate
#define OCI_FreeStatement OCI_StatementFree
/* macros added in version 2.4.0 */
#define OCI_CreateTransaction OCI_TransactionCreate
#define OCI_FreeTransaction OCI_TransactionFree
#define OCI_CreateHashTable OCI_HashCreate
#define OCI_FreeHashTable OCI_HashFree
/* macros added in version 3.0.0 */
#define OCI_GetColumnName OCI_ColumnGetName
#define OCI_GetColumnType OCI_ColumnGetType
#define OCI_GetColumnCharsetForm OCI_ColumnGetCharsetForm
#define OCI_GetColumnSQLType OCI_ColumnGetSQLType
#define OCI_GetColumnFullSQLType OCI_ColumnGetFullSQLType
#define OCI_GetColumnSize OCI_ColumnGetSize
#define OCI_GetColumnScale OCI_ColumnGetScale
#define OCI_GetColumnPrecision OCI_ColumnGetPrecision
#define OCI_GetColumnFractionnalPrecision OCI_ColumnGetFractionnalPrecision
#define OCI_GetColumnLeadingPrecision OCI_ColumnGetLeadingPrecision
#define OCI_GetColumnNullable OCI_ColumnGetNullable
#define OCI_GetColumnCharUsed OCI_ColumnGetCharUsed
#define OCI_GetFormatDate(s) OCI_GetDefaultFormatDate(OCI_StatementGetConnection(s))
#define OCI_SetFormatDate(s, f) OCI_SetDefaultFormatDate(OCI_StatementGetConnection(s), f)
#define OCI_ERR_API OCI_ERR_ORACLE
/* macros added in version 3.2.0 */
#define OCI_ERR_NOT_SUPPORTED OCI_ERR_DATATYPE_NOT_SUPPORTED
#define OCI_SCHEMA_TABLE OCI_TIF_TABLE
#define OCI_SCHEMA_VIEW OCI_TIF_VIEW
#define OCI_SCHEMA_TYPE OCI_TIF_TYPE
#define OCI_Schema OCI_TypeInfo
#define OCI_SchemaGet OCI_TypeInfoGet
#define OCI_SchemaFree OCI_TypeInfoFree
#define OCI_SchemaGetColumnCount OCI_TypeInfoGetColumnCount
#define OCI_SchemaGetColumn OCI_TypeInfoGetColumn
#define OCI_SchemaGetName OCI_TypeInfoGetName
#define OCI_ColumnGetFractionnalPrecision OCI_ColumnGetFractionalPrecision
/* macro added in version 3.3.0 */
#define OCI_SetNull(stmt, index) \
OCI_BindSetNull(OCI_GetBind(stmt, index))
#define OCI_SetNull2(stmt, name) \
OCI_BindSetNull(OCI_GetBind2(stmt, name))
#define OCI_SetNullAtPos(stmt, index, position) \
OCI_BindSetNullAtPos(OCI_GetBind(stmt, index), position)
#define OCI_SetNullAtPos2(stmt, name, position) \
OCI_BindSetNullAtPos(OCI_GetBind2(stmt, name), position)
/* macro added in version 3.4.0 */
#define OCI_8 OCI_8_1
#define OCI_9 OCI_9_0
#define OCI_10 OCI_10_1
#define OCI_11 OCI_11_1
/* macro added in version 3.6.0 */
#define OCI_CHAR_UNICODE OCI_CHAR_WIDE
#define OCI_CSF_CHARSET OCI_CSF_DEFAULT
/* macro added in version 3.7.0 */
#define OCI_ConnPool OCI_Pool
#define OCI_ConnPoolCreate(db, us, pw, mo, mi, ma, in) \
OCI_PoolCreate(db, us, pw, OCI_POOL_CONNECTION, mo, mi, ma, in)
#define OCI_ConnPoolGetConnection(p) \
OCI_PoolGetConnection(p, NULL)
#define OCI_ConnPoolFree OCI_PoolFree
#define OCI_ConnPoolGetTimeout OCI_PoolGetConnection
#define OCI_ConnPoolSetTimeout OCI_PoolSetTimeout
#define OCI_ConnPoolGetNoWait OCI_PoolGetNoWait
#define OCI_ConnPoolSetNoWait OCI_PoolSetNoWait
#define OCI_ConnPoolGetBusyCount OCI_PoolGetBusyCount
#define OCI_ConnPoolGetOpenedCount OCI_PoolGetOpenedCount
#define OCI_ConnPoolGetMin OCI_PoolGetMin
#define OCI_ConnPoolGetMax OCI_PoolGetMax
#define OCI_ConnPoolGetIncrement OCI_PoolGetIncrement
/* macro added in version 3.8.0 */
#define OCI_ObjectGetTimeStamp OCI_ObjectGetTimestamp
#define OCI_ElemGetTimeStamp OCI_ElemGetTimestamp
#define OCI_TimestampSysTimeStamp OCI_TimestampSysTimestamp
/* macro added in version 4.0.0 */
#define OCI_CollSetAt OCI_CollSetElem
#define OCI_CollGetAt OCI_CollGetElem
#define OCI_CollGetAt2 OCI_CollGetElem2
#define OCI_GetCharsetMetaData OCI_GetCharset
#define OCI_GetCharsetUserData OCI_GetCharset
#define OCI_SIZE_TRACE_INF0 OCI_SIZE_TRACE_INFO
#define MT(x) OTEXT(x)
#define mtext otext
#define DT(x) OTEXT(x)
#define dtext otext
#define mtsdup ostrdup
#define mtscpy ostrcpy
#define mtsncpy ostrncpy
#define mtscat ostrcat
#define mtsncat ostrncat
#define mtslen ostrlen
#define mtscmp ostrcmp
#define mtscasecmp ostrcasecmp
#define mtsprintf osprintf
#define mtstol ostrtol
#define mtsscanf osscanf
#define dtsdup ostrdup
#define dtscpy ostrcpy
#define dtsncpy ostrncpy
#define dtscat ostrcat
#define dtsncat ostrncat
#define dtslen ostrlen
#define dtscmp ostrcmp
#define dtscasecmp ostrcasecmp
#define dtsprintf osprintf
#define dtstol ostrtol
#define dtsscanf osscanf
/* macro added in version 4.1.0 */
#define OCI_SetDefaultFormatDate(con, fmt) OCI_SetFormat(con, OCI_FMT_DATE, fmt)
#define OCI_SetDefaultFormatNumeric(con, fmt) OCI_SetFormat(con, OCI_FMT_NUMERIC, fmt)
#define OCI_GetDefaultFormatDate(con) OCI_GetFormat(con, OCI_FMT_DATE)
#define OCI_GetDefaultFormatNumeric(con) OCI_GetFormat(con, OCI_FMT_NUMERIC)
#define OCI_STRING_FORMAT_NUM_BIN OCI_STRING_FORMAT_NUM_BDOUBLE
#endif /* OCILIB_H_INCLUDED */
OCI_LobRead2
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_HandleGetMutex
OCI_EXPORT const void *OCI_API OCI_HandleGetMutex(OCI_Mutex *mutex)
Return OCI Mutex handle (OCIThreadMutex *) of an OCILIB OCI_Mutex object.
OCI_EventGetSubscription
OCI_EXPORT OCI_Subscription *OCI_API OCI_EventGetSubscription(OCI_Event *event)
Return the subscription handle that generated this event.
OCI_ObjectSetFile
OCI_EXPORT boolean OCI_API OCI_ObjectSetFile(OCI_Object *obj, const otext *attr, OCI_File *value)
Set an object attribute of type File.
OCI_BindUnsignedBigInt
OCI_EXPORT boolean OCI_API OCI_BindUnsignedBigInt(OCI_Statement *stmt, const otext *name, big_uint *data)
Bind an unsigned big integer variable.
OCI_Mutex
struct OCI_Mutex OCI_Mutex
OCILIB encapsulation of OCI mutexes.
Definition: ocilib.h:699
OCI_Agent
struct OCI_Agent OCI_Agent
OCILIB encapsulation of A/Q Agent.
Definition: ocilib.h:759
OCI_GetLongMode
OCI_EXPORT unsigned int OCI_API OCI_GetLongMode(OCI_Statement *stmt)
Return the long data type handling mode of a SQL statement.
OCI_CollArrayFree
OCI_EXPORT boolean OCI_API OCI_CollArrayFree(OCI_Coll **colls)
Free an array of Collection objects.
OCI_EnqueueGetVisibility
OCI_EXPORT unsigned int OCI_API OCI_EnqueueGetVisibility(OCI_Enqueue *enqueue)
Get the enqueuing/locking behavior.
OCI_GetColumn
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_ErrorGetInternalCode
OCI_EXPORT int OCI_API OCI_ErrorGetInternalCode(OCI_Error *err)
Retrieve Internal Error code from error handle.
OCI_ElemGetBigInt
OCI_EXPORT big_int OCI_API OCI_ElemGetBigInt(OCI_Elem *elem)
Return the big int value of the given collection element.
OCI_GetVersionServer
OCI_EXPORT const otext *OCI_API OCI_GetVersionServer(OCI_Connection *con)
Return the connected database server version.
OCI_ObjectArrayFree
OCI_EXPORT boolean OCI_API OCI_ObjectArrayFree(OCI_Object **objs)
Free an array of Object objects.
OCI_DateLastDay
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_MsgGetID
OCI_EXPORT boolean OCI_API OCI_MsgGetID(OCI_Msg *msg, void *id, unsigned int *len)
Return the ID of the message.
OCI_GetAllocatedBytes
OCI_EXPORT big_uint OCI_API OCI_GetAllocatedBytes(unsigned int mem_type)
Return the current number of bytes allocated internally in the library.
OCI_ConnectionFree
OCI_EXPORT boolean OCI_API OCI_ConnectionFree(OCI_Connection *con)
Close a physical connection to an Oracle database server.
OCI_QueueStart
OCI_EXPORT boolean OCI_API OCI_QueueStart(OCI_Connection *con, const otext *queue_name, boolean enqueue, boolean dequeue)
Start the given queue.
POCI_TAF_HANDLER
unsigned int(* POCI_TAF_HANDLER)(OCI_Connection *con, unsigned int type, unsigned int event)
Failover Notification User callback prototype.
Definition: ocilib.h:890
OCI_DequeueSubscribe
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_ServerGetOutput
OCI_EXPORT const otext *OCI_API OCI_ServerGetOutput(OCI_Connection *con)
Retrieve one line of the server buffer.
OCI_ColumnGetCharUsed
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_SubscriptionUnregister
OCI_EXPORT boolean OCI_API OCI_SubscriptionUnregister(OCI_Subscription *sub)
Unregister a previously registered notification.
big_int
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_LobGetType
OCI_EXPORT unsigned int OCI_API OCI_LobGetType(OCI_Lob *lob)
Return the type of the given Lob object.
OCI_CollClear
OCI_EXPORT boolean OCI_API OCI_CollClear(OCI_Coll *coll)
clear all items of the given collection
OCI_ObjectCreate
OCI_EXPORT OCI_Object *OCI_API OCI_ObjectCreate(OCI_Connection *con, OCI_TypeInfo *typinf)
Create a local object instance.
OCI_BindSetNullAtPos
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_MsgGetState
OCI_EXPORT unsigned int OCI_API OCI_MsgGetState(OCI_Msg *msg)
Return the state of the message at the time of the dequeue.
OCI_ElemSetNull
OCI_EXPORT boolean OCI_API OCI_ElemSetNull(OCI_Elem *elem)
Set a collection element value to null.
OCI_ObjectSetLob
OCI_EXPORT boolean OCI_API OCI_ObjectSetLob(OCI_Object *obj, const otext *attr, OCI_Lob *value)
Set an object attribute of type Lob.
OCI_ExecuteStmt
OCI_EXPORT boolean OCI_API OCI_ExecuteStmt(OCI_Statement *stmt, const otext *sql)
Prepare and Execute a SQL statement or PL/SQL block.
OCI_ObjectSetNull
OCI_EXPORT boolean OCI_API OCI_ObjectSetNull(OCI_Object *obj, const otext *attr)
Set an object attribute to null.
OCI_GetColumn2
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_DateAddDays
OCI_EXPORT boolean OCI_API OCI_DateAddDays(OCI_Date *date, int nb)
Add or subtract days to a date handle.
OCI_RegisterUnsignedShort
OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedShort(OCI_Statement *stmt, const otext *name)
Register an unsigned short output bind placeholder.
OCI_RegisterUnsignedBigInt
OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedBigInt(OCI_Statement *stmt, const otext *name)
Register an unsigned big integer output bind placeholder.
OCI_FileGetType
OCI_EXPORT unsigned int OCI_API OCI_FileGetType(OCI_File *file)
Return the type of the given File object.
OCI_EnqueueSetRelativeMsgID
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_RegisterFile
OCI_EXPORT boolean OCI_API OCI_RegisterFile(OCI_Statement *stmt, const otext *name, unsigned int type)
Register a file output bind placeholder.
OCI_GetPrefetchSize
OCI_EXPORT unsigned int OCI_API OCI_GetPrefetchSize(OCI_Statement *stmt)
Return the number of rows pre-fetched by OCI Client.
OCI_RegisterDate
OCI_EXPORT boolean OCI_API OCI_RegisterDate(OCI_Statement *stmt, const otext *name)
Register a date output bind placeholder.
OCI_GetDataSize
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_StatementCreate
OCI_EXPORT OCI_Statement *OCI_API OCI_StatementCreate(OCI_Connection *con)
Create a statement object and return its handle.
OCI_ServerDisableOutput
OCI_EXPORT boolean OCI_API OCI_ServerDisableOutput(OCI_Connection *con)
Disable the server output.
OCI_BindUnsignedInt
OCI_EXPORT boolean OCI_API OCI_BindUnsignedInt(OCI_Statement *stmt, const otext *name, unsigned int *data)
Bind an unsigned integer variable.
OCI_RefSetNull
OCI_EXPORT boolean OCI_API OCI_RefSetNull(OCI_Ref *ref)
Nullify the given Ref handle.
OCI_Connection
struct OCI_Connection OCI_Connection
Oracle physical connection.
Definition: ocilib.h:423
OCI_ObjectGetInt
OCI_EXPORT int OCI_API OCI_ObjectGetInt(OCI_Object *obj, const otext *attr)
Return the integer value of the given object attribute.
OCI_ThreadRun
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_LongRead
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_GetLongMaxSize
OCI_EXPORT unsigned int OCI_API OCI_GetLongMaxSize(OCI_Statement *stmt)
Return the LONG data type piece buffer size.
OCI_GetBindAllocation
OCI_EXPORT unsigned int OCI_API OCI_GetBindAllocation(OCI_Statement *stmt)
Return the current bind allocation mode used for subsequent binding calls.
OCI_BindSetNotNullAtPos
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_IntervalGetType
OCI_EXPORT unsigned int OCI_API OCI_IntervalGetType(OCI_Interval *itv)
Return the type of the given Interval object.
OCI_DequeueFree
OCI_EXPORT boolean OCI_API OCI_DequeueFree(OCI_Dequeue *dequeue)
Free a Dequeue object.
OCI_ErrorGetConnection
OCI_EXPORT OCI_Connection *OCI_API OCI_ErrorGetConnection(OCI_Error *err)
Retrieve connection handle within the error occurred.
OCI_NumberGetValue
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_FileAssign
OCI_EXPORT boolean OCI_API OCI_FileAssign(OCI_File *file, OCI_File *file_src)
Assign a file to another one.
OCI_DateFromText
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_GetUserName
OCI_EXPORT const otext *OCI_API OCI_GetUserName(OCI_Connection *con)
Return the current logged user name.
OCI_ColumnGetSQLType
OCI_EXPORT const otext *OCI_API OCI_ColumnGetSQLType(OCI_Column *col)
Return the Oracle SQL type name of the column data type.
OCI_PoolSetStatementCacheSize
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_DequeueSetWaitTime
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_FetchPrev
OCI_EXPORT boolean OCI_API OCI_FetchPrev(OCI_Resultset *rs)
Fetch the previous row of the resultset.
OCI_DequeueSetNavigation
OCI_EXPORT boolean OCI_API OCI_DequeueSetNavigation(OCI_Dequeue *dequeue, unsigned int position)
Set the position of messages to be retrieved.
OCI_IsNull
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_ElemGetUnsignedInt
OCI_EXPORT unsigned int OCI_API OCI_ElemGetUnsignedInt(OCI_Elem *elem)
Return the unsigned int value of the given collection element.
OCI_SetUserPassword
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_ObjectSetRaw
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_ObjectGetString
OCI_EXPORT const otext *OCI_API OCI_ObjectGetString(OCI_Object *obj, const otext *attr)
Return the string value of the given object attribute.
OCI_LobGetOffset
OCI_EXPORT big_uint OCI_API OCI_LobGetOffset(OCI_Lob *lob)
Return the current position in the Lob content buffer.
OCI_IntervalSubtract
OCI_EXPORT boolean OCI_API OCI_IntervalSubtract(OCI_Interval *itv, OCI_Interval *itv2)
Subtract an interval handle value from another.
OCI_ColumnGetFullSQLType
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_ObjectGetDouble
OCI_EXPORT double OCI_API OCI_ObjectGetDouble(OCI_Object *obj, const otext *attr)
Return the double value of the given object attribute.
OCI_BindString
OCI_EXPORT boolean OCI_API OCI_BindString(OCI_Statement *stmt, const otext *name, otext *data, unsigned int len)
Bind a string variable.
OCI_ObjectGetType
OCI_EXPORT unsigned int OCI_API OCI_ObjectGetType(OCI_Object *obj)
Return the type of an object instance.
OCI_EnqueueCreate
OCI_EXPORT OCI_Enqueue *OCI_API OCI_EnqueueCreate(OCI_TypeInfo *typinf, const otext *name)
Create a Enqueue object for the given queue.
OCI_ElemCreate
OCI_EXPORT OCI_Elem *OCI_API OCI_ElemCreate(OCI_TypeInfo *typinf)
Create a local collection element instance based on a collection type descriptor. ...
OCI_ElemSetRaw
OCI_EXPORT boolean OCI_API OCI_ElemSetRaw(OCI_Elem *elem, void *value, unsigned int len)
Set a RAW value to a collection element.
OCI_BindGetData
OCI_EXPORT void *OCI_API OCI_BindGetData(OCI_Bind *bnd)
Return the user defined data associated with a bind handle.
OCI_ColumnGetName
OCI_EXPORT const otext *OCI_API OCI_ColumnGetName(OCI_Column *col)
Return the name of the given column.
OCI_BindArrayOfUnsignedShorts
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_ObjectGetRaw
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_BindArraySetSize
OCI_EXPORT boolean OCI_API OCI_BindArraySetSize(OCI_Statement *stmt, unsigned int size)
Set the input array size for bulk operations.
OCI_ElemGetFile
OCI_EXPORT OCI_File *OCI_API OCI_ElemGetFile(OCI_Elem *elem)
Return the File value of the given collection element.
OCI_PoolGetConnection
OCI_EXPORT OCI_Connection *OCI_API OCI_PoolGetConnection(OCI_Pool *pool, const otext *tag)
Get a connection from the pool.
OCI_IntervalFromTimeZone
OCI_EXPORT boolean OCI_API OCI_IntervalFromTimeZone(OCI_Interval *itv, const otext *str)
Correct an interval handle value with the given time zone.
OCI_GetImportMode
OCI_EXPORT unsigned int OCI_API OCI_GetImportMode(void)
Return the Oracle shared library import mode.
OCI_BindGetDirection
OCI_EXPORT unsigned int OCI_API OCI_BindGetDirection(OCI_Bind *bnd)
Get the direction mode of a bind handle.
OCI_FileGetConnection
OCI_EXPORT OCI_Connection *OCI_API OCI_FileGetConnection(OCI_File *file)
Retrieve connection handle from the file handle.
OCI_SetBindMode
OCI_EXPORT boolean OCI_API OCI_SetBindMode(OCI_Statement *stmt, unsigned int mode)
Set the binding mode of a SQL statement.
OCI_ObjectToText
OCI_EXPORT boolean OCI_API OCI_ObjectToText(OCI_Object *obj, unsigned int *size, otext *str)
Convert an object handle value to a string.
OCI_DequeueSetVisibility
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_GetStatement
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_FileExists
OCI_EXPORT boolean OCI_API OCI_FileExists(OCI_File *file)
Check if the given file exists on server.
OCI_FetchLast
OCI_EXPORT boolean OCI_API OCI_FetchLast(OCI_Resultset *rs)
Fetch the last row of the resultset.
OCI_IterGetCurrent
OCI_EXPORT OCI_Elem *OCI_API OCI_IterGetCurrent(OCI_Iter *iter)
Get the current element in the collection.
OCI_ObjectSetShort
OCI_EXPORT boolean OCI_API OCI_ObjectSetShort(OCI_Object *obj, const otext *attr, short value)
Set an object attribute of type short.
OCI_BindStatement
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_DateAddMonths
OCI_EXPORT boolean OCI_API OCI_DateAddMonths(OCI_Date *date, int nb)
Add or subtract months to a date handle.
OCI_HandleGetStatement
OCI_EXPORT const void *OCI_API OCI_HandleGetStatement(OCI_Statement *stmt)
Return the OCI Statement Handle (OCIStmt *) of an OCILIB OCI_Statement object.
OCI_MutexAcquire
OCI_EXPORT boolean OCI_API OCI_MutexAcquire(OCI_Mutex *mutex)
Acquire a mutex lock.
OCI_ElemSetString
OCI_EXPORT boolean OCI_API OCI_ElemSetString(OCI_Elem *elem, const otext *value)
Set a string value to a collection element.
OCI_Ping
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_GetAffectedRows
OCI_EXPORT unsigned int OCI_API OCI_GetAffectedRows(OCI_Statement *stmt)
Return the number of rows affected by the SQL statement.
OCI_LobRead
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_GetUnsignedShort2
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_ElemSetInterval
OCI_EXPORT boolean OCI_API OCI_ElemSetInterval(OCI_Elem *elem, OCI_Interval *value)
Assign an Interval handle to a collection element.
OCI_PoolGetStatementCacheSize
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_BindDouble
OCI_EXPORT boolean OCI_API OCI_BindDouble(OCI_Statement *stmt, const otext *name, double *data)
Bind a double variable.
OCI_LobAppend2
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_ObjectGetRef
OCI_EXPORT OCI_Ref *OCI_API OCI_ObjectGetRef(OCI_Object *obj, const otext *attr)
Return the Ref value of the given object attribute.
OCI_ObjectSetDouble
OCI_EXPORT boolean OCI_API OCI_ObjectSetDouble(OCI_Object *obj, const otext *attr, double value)
Set an object attribute of type double.
OCI_GetLob2
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_ColumnGetScale
OCI_EXPORT int OCI_API OCI_ColumnGetScale(OCI_Column *col)
Return the scale of the column for numeric columns.
OCI_SetDefaultLobPrefetchSize
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_CollDeleteElem
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_TimestampFromText
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_DateCompare
OCI_EXPORT int OCI_API OCI_DateCompare(OCI_Date *date, OCI_Date *date2)
Compares two date handles.
OCI_LobArrayCreate
OCI_EXPORT OCI_Lob **OCI_API OCI_LobArrayCreate(OCI_Connection *con, unsigned int type, unsigned int nbelem)
Create an array of lob object.
OCI_XID
struct OCI_XID OCI_XID
Global transaction identifier.
OCI_MsgSetOriginalID
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_GetInterval
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_ObjectSetRef
OCI_EXPORT boolean OCI_API OCI_ObjectSetRef(OCI_Object *obj, const otext *attr, OCI_Ref *value)
Set an object attribute of type Ref.
OCI_GetBind
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_ObjectGetLob
OCI_EXPORT OCI_Lob *OCI_API OCI_ObjectGetLob(OCI_Object *obj, const otext *attr)
Return the lob value of the given object attribute.
OCI_NumberAdd
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_BindIsNull
OCI_EXPORT boolean OCI_API OCI_BindIsNull(OCI_Bind *bnd)
Check if the current value of the binded variable is marked as NULL.
OCI_MsgGetOriginalID
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_ObjectSetNumber
OCI_EXPORT boolean OCI_API OCI_ObjectSetNumber(OCI_Object *obj, const otext *attr, OCI_Number *value)
Set an object attribute of type number.
OCI_DirPathSetBufferSize
OCI_EXPORT boolean OCI_API OCI_DirPathSetBufferSize(OCI_DirPath *dp, unsigned int size)
Set the size of the internal stream transfer buffer.
OCI_Commit
OCI_EXPORT boolean OCI_API OCI_Commit(OCI_Connection *con)
Commit current pending changes.
OCI_NumberDivide
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_GetBatchErrorCount
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_GetRef
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_StatementFree
OCI_EXPORT boolean OCI_API OCI_StatementFree(OCI_Statement *stmt)
Free a statement and all resources associated to it (resultsets ...)
OCI_GetString
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_ElemSetBigInt
OCI_EXPORT boolean OCI_API OCI_ElemSetBigInt(OCI_Elem *elem, big_int value)
Set a big int value to a collection element.
OCI_ErrorGetType
OCI_EXPORT unsigned int OCI_API OCI_ErrorGetType(OCI_Error *err)
Retrieve the type of error from error handle.
OCI_DateCheck
OCI_EXPORT int OCI_API OCI_DateCheck(OCI_Date *date)
Check if the given date is valid.
OCI_DescribeFmt
OCI_EXPORT boolean OCI_DescribeFmt(OCI_Statement *stmt, const otext *sql,...)
Describe the select list of a formatted SQL select statement.
OCI_BindBigInt
OCI_EXPORT boolean OCI_API OCI_BindBigInt(OCI_Statement *stmt, const otext *name, big_int *data)
Bind a big integer variable.
OCI_DirPathLoad
OCI_EXPORT unsigned int OCI_API OCI_DirPathLoad(OCI_DirPath *dp)
Loads the data converted to direct path stream format.
OCI_GetDate
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_Break
OCI_EXPORT boolean OCI_API OCI_Break(OCI_Connection *con)
Perform an immediate abort of any currently Oracle OCI call.
OCI_BindSetDataSize
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_SetTAFHandler
OCI_EXPORT boolean OCI_API OCI_SetTAFHandler(OCI_Connection *con, POCI_TAF_HANDLER handler)
Set the Transparent Application Failover (TAF) user handler.
OCI_DirPathFree
OCI_EXPORT boolean OCI_API OCI_DirPathFree(OCI_DirPath *dp)
Free an OCI_DirPath handle.
OCI_BindArrayOfIntervals
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_FileRead
OCI_EXPORT unsigned int OCI_API OCI_FileRead(OCI_File *file, void *buffer, unsigned int len)
Read a portion of a file into the given buffer.
OCI_Interval
struct OCI_Interval OCI_Interval
Oracle internal interval representation.
Definition: ocilib.h:598
OCI_LobCopyFromFile
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_DateFree
OCI_EXPORT boolean OCI_API OCI_DateFree(OCI_Date *date)
Free a date object.
OCI_MsgGetExceptionQueue
OCI_EXPORT const otext *OCI_API OCI_MsgGetExceptionQueue(OCI_Msg *msg)
Get the Exception queue name of the message.
OCI_Dequeue
struct OCI_Dequeue OCI_Dequeue
OCILIB encapsulation of A/Q dequeuing operations.
Definition: ocilib.h:769
OCI_GetObject2
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_GetAutoCommit
OCI_EXPORT boolean OCI_API OCI_GetAutoCommit(OCI_Connection *con)
Get current auto commit mode status.
OCI_ElemGetUnsignedShort
OCI_EXPORT unsigned short OCI_API OCI_ElemGetUnsignedShort(OCI_Elem *elem)
Return the unsigned short value of the given collection element.
POCI_ERROR
void(* POCI_ERROR)(OCI_Error *err)
Error procedure prototype.
Definition: ocilib.h:792
OCI_Statement
struct OCI_Statement OCI_Statement
Oracle SQL or PL/SQL statement.
Definition: ocilib.h:435
OCI_GetRef2
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_FileGetSize
OCI_EXPORT big_uint OCI_API OCI_FileGetSize(OCI_File *file)
Return the size in bytes of a file.
POCI_HA_HANDLER
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_GetFile2
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_BindInterval
OCI_EXPORT boolean OCI_API OCI_BindInterval(OCI_Statement *stmt, const otext *name, OCI_Interval *data)
Bind an interval variable.
OCI_FileSetName
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_ErrorGetOCICode
OCI_EXPORT int OCI_API OCI_ErrorGetOCICode(OCI_Error *err)
Retrieve Oracle Error code from error handle.
OCI_MsgGetCorrelation
OCI_EXPORT const otext *OCI_API OCI_MsgGetCorrelation(OCI_Msg *msg)
Get the correlation identifier of the message.
OCI_Enqueue
struct OCI_Enqueue OCI_Enqueue
OCILIB encapsulation of A/Q enqueuing operations.
Definition: ocilib.h:779
OCI_DateAssign
OCI_EXPORT int OCI_API OCI_DateAssign(OCI_Date *date, OCI_Date *date_src)
Assign the value of a date handle to another one.
OCI_Bind
struct OCI_Bind OCI_Bind
Internal bind representation.
Definition: ocilib.h:447
OCI_HandleGetDirPathCtx
OCI_EXPORT const void *OCI_API OCI_HandleGetDirPathCtx(OCI_DirPath *dp)
Return OCI DirectPath Context handle (OCIDirPathCtx *) of an OCILIB OCI_DirPath object.
OCI_BindInt
OCI_EXPORT boolean OCI_API OCI_BindInt(OCI_Statement *stmt, const otext *name, int *data)
Bind an integer variable.
OCI_ThreadKeyCreate
OCI_EXPORT boolean OCI_API OCI_ThreadKeyCreate(const otext *name, POCI_THREADKEYDEST destfunc)
Create a thread key object.
OCI_BindArrayOfTimestamps
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_ObjectSetObject
OCI_EXPORT boolean OCI_API OCI_ObjectSetObject(OCI_Object *obj, const otext *attr, OCI_Object *value)
Set an object attribute of type Object.
OCI_NumberToText
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_TimestampGetDateTime
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_GetStruct
OCI_EXPORT boolean OCI_API OCI_GetStruct(OCI_Resultset *rs, void *row_struct, void *row_struct_ind)
Return the row columns values into a single structure.
OCI_Subscription
struct OCI_Subscription OCI_Subscription
OCILIB encapsulation of Oracle DCN notification.
Definition: ocilib.h:729
OCI_BindFile
OCI_EXPORT boolean OCI_API OCI_BindFile(OCI_Statement *stmt, const otext *name, OCI_File *data)
Bind a File variable.
OCI_ParseFmt
OCI_EXPORT boolean OCI_ParseFmt(OCI_Statement *stmt, const otext *sql,...)
Parse a formatted SQL statement or PL/SQL block.
OCI_BindArrayOfShorts
OCI_EXPORT boolean OCI_API OCI_BindArrayOfShorts(OCI_Statement *stmt, const otext *name, short *data, unsigned int nbelem)
Bind an array of shorts.
OCI_Pool
struct OCI_Pool OCI_Pool
Pool object (session or connection)
Definition: ocilib.h:406
OCI_BindArrayOfDoubles
OCI_EXPORT boolean OCI_API OCI_BindArrayOfDoubles(OCI_Statement *stmt, const otext *name, double *data, unsigned int nbelem)
Bind an array of doubles.
OCI_SetStructNumericType2
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_HashFree
OCI_EXPORT boolean OCI_API OCI_HashFree(OCI_HashTable *table)
Destroy a hash table.
OCI_ResultsetGetStatement
OCI_EXPORT OCI_Statement *OCI_API OCI_ResultsetGetStatement(OCI_Resultset *rs)
Return the statement handle associated with a resultset handle.
OCI_ObjectGetShort
OCI_EXPORT short OCI_API OCI_ObjectGetShort(OCI_Object *obj, const otext *attr)
Return the short value of the given object attribute.
OCI_ObjectSetColl
OCI_EXPORT boolean OCI_API OCI_ObjectSetColl(OCI_Object *obj, const otext *attr, OCI_Coll *value)
Set an object attribute of type Collection.
OCI_TimestampCompare
OCI_EXPORT int OCI_API OCI_TimestampCompare(OCI_Timestamp *tmsp, OCI_Timestamp *tmsp2)
Compares two timestamp handles.
OCI_GetDouble2
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_ElemSetBoolean
OCI_EXPORT boolean OCI_API OCI_ElemSetBoolean(OCI_Elem *elem, boolean value)
Set a boolean value to a collection element.
OCI_BindObject
OCI_EXPORT boolean OCI_API OCI_BindObject(OCI_Statement *stmt, const otext *name, OCI_Object *data)
Bind an object (named type) variable.
OCI_SubscriptionGetName
OCI_EXPORT const otext *OCI_API OCI_SubscriptionGetName(OCI_Subscription *sub)
Return the name of the given registered subscription.
OCI_PoolGetOpenedCount
OCI_EXPORT unsigned int OCI_API OCI_PoolGetOpenedCount(OCI_Pool *pool)
Return the current number of opened connections/sessions.
OCI_TypeInfoGetConnection
OCI_EXPORT OCI_Connection *OCI_API OCI_TypeInfoGetConnection(OCI_TypeInfo *typinf)
Retrieve connection handle from the type info handle.
OCI_ColumnGetSubType
OCI_EXPORT unsigned int OCI_API OCI_ColumnGetSubType(OCI_Column *col)
Return the OCILIB object subtype of a column.
OCI_BindGetDataSize
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_FileIsOpen
OCI_EXPORT boolean OCI_API OCI_FileIsOpen(OCI_File *file)
Check if the specified file is opened within the file handle.
OCI_GetInt2
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_PoolSetNoWait
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_DateGetDateTime
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_GetLong
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_EventGetObject
OCI_EXPORT const otext *OCI_API OCI_EventGetObject(OCI_Event *event)
Return the name of the object that generated the event.
OCI_ObjectGetUnsignedBigInt
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_GetUnsignedBigInt2
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_GetInstanceStartTime
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_GetDate2
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_PoolGetIncrement
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_DequeueSetConsumer
OCI_EXPORT boolean OCI_API OCI_DequeueSetConsumer(OCI_Dequeue *dequeue, const otext *consumer)
Set the current consumer name to retrieve message for.
OCI_GetSessionTag
OCI_EXPORT const otext *OCI_API OCI_GetSessionTag(OCI_Connection *con)
Return the tag associated the given connection.
OCI_ElemGetRawSize
OCI_EXPORT unsigned int OCI_API OCI_ElemGetRawSize(OCI_Elem *elem)
Return the raw attribute value size of the given element handle.
OCI_QueueTableAlter
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_TypeInfoGetName
OCI_EXPORT const otext *OCI_API OCI_TypeInfoGetName(OCI_TypeInfo *typinf)
Return the name described by the type info object.
OCI_MsgReset
OCI_EXPORT boolean OCI_API OCI_MsgReset(OCI_Msg *msg)
Reset all attributes of a message object.
OCI_Timestamp
struct OCI_Timestamp OCI_Timestamp
Oracle internal timestamp representation.
Definition: ocilib.h:588
OCI_AgentSetName
OCI_EXPORT boolean OCI_API OCI_AgentSetName(OCI_Agent *agent, const otext *name)
Set the given AQ agent name.
OCI_QueueTablePurge
OCI_EXPORT boolean OCI_API OCI_QueueTablePurge(OCI_Connection *con, const otext *queue_table, const otext *purge_condition, boolean block, unsigned int delivery_mode)
Purge messages from the given queue table.
OCI_HashEntry
struct OCI_HashEntry OCI_HashEntry
Hash table entry.
OCI_PoolGetMax
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_LobIsEqual
OCI_EXPORT boolean OCI_API OCI_LobIsEqual(OCI_Lob *lob, OCI_Lob *lob2)
Compare two lob handles for equality.
OCI_LobAssign
OCI_EXPORT boolean OCI_API OCI_LobAssign(OCI_Lob *lob, OCI_Lob *lob_src)
Assign a lob to another one.
OCI_LobErase
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_GetString2
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_HandleGetColl
OCI_EXPORT const void *OCI_API OCI_HandleGetColl(OCI_Coll *coll)
Return OCI Collection Handle (OCIColl *) of an OCILIB OCI_Coll object.
OCI_CollGetTypeInfo
OCI_EXPORT OCI_TypeInfo *OCI_API OCI_CollGetTypeInfo(OCI_Coll *coll)
Return the type info object associated to the collection.
OCI_HandleGetSession
OCI_EXPORT const void *OCI_API OCI_HandleGetSession(OCI_Connection *con)
Return the OCI Session Handle (OCISession *) of an OCILIB OCI_Connection object.
POCI_THREAD
void(* POCI_THREAD)(OCI_Thread *thread, void *arg)
Thread procedure prototype.
Definition: ocilib.h:808
OCI_HandleGetDirPathStream
OCI_EXPORT const void *OCI_API OCI_HandleGetDirPathStream(OCI_DirPath *dp)
Return OCI DirectPath Stream handle (OCIDirPathStream *) of an OCILIB OCI_DirPath object...
OCI_LobGetChunkSize
OCI_EXPORT unsigned int OCI_API OCI_LobGetChunkSize(OCI_Lob *lob)
Returns the chunk size of a LOB.
OCI_ImmediateFmt
OCI_EXPORT boolean OCI_ImmediateFmt(OCI_Connection *con, const otext *sql,...)
Performs 4 call (prepare+bind+execute+fetch) in 1 call.
OCI_RefToText
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_ThreadJoin
OCI_EXPORT boolean OCI_API OCI_ThreadJoin(OCI_Thread *thread)
Join the given thread.
OCI_GetCharset
OCI_EXPORT unsigned int OCI_API OCI_GetCharset(void)
Return the OCILIB charset type.
OCI_ElemGetFloat
OCI_EXPORT float OCI_API OCI_ElemGetFloat(OCI_Elem *elem)
Return the float value of the given collection element.
OCI_GetServerRevisionVersion
OCI_EXPORT unsigned int OCI_API OCI_GetServerRevisionVersion(OCI_Connection *con)
Return the revision version number of the connected database server.
OCI_ObjectAssign
OCI_EXPORT boolean OCI_API OCI_ObjectAssign(OCI_Object *obj, OCI_Object *obj_src)
Assign an object to another one.
OCI_TypeInfoGet
OCI_EXPORT OCI_TypeInfo *OCI_API OCI_TypeInfoGet(OCI_Connection *con, const otext *name, unsigned int type)
Retrieve the available type info information.
OCI_Immediate
OCI_EXPORT boolean OCI_Immediate(OCI_Connection *con, const otext *sql,...)
Perform 3 calls (prepare+execute+fetch) in 1 call.
OCI_NumberSetContent
OCI_EXPORT boolean OCI_API OCI_NumberSetContent(OCI_Number *number, unsigned char *content)
Assign the number value content.
OCI_BindRaw
OCI_EXPORT boolean OCI_API OCI_BindRaw(OCI_Statement *stmt, const otext *name, void *data, unsigned int len)
Bind a raw buffer.
OCI_BindArrayOfLobs
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_ElemGetBoolean
OCI_EXPORT boolean OCI_API OCI_ElemGetBoolean(OCI_Elem *elem)
Return the boolean value of the given collection element.
OCI_DirPathSetCacheSize
OCI_EXPORT boolean OCI_API OCI_DirPathSetCacheSize(OCI_DirPath *dp, unsigned int size)
Set number of elements in the date cache.
OCI_ElemGetDate
OCI_EXPORT OCI_Date *OCI_API OCI_ElemGetDate(OCI_Elem *elem)
Return the Date value of the given collection element.
OCI_GetRowCount
OCI_EXPORT unsigned int OCI_API OCI_GetRowCount(OCI_Resultset *rs)
Retrieve the number of rows fetched so far.
OCI_LobWrite
OCI_EXPORT unsigned int OCI_API OCI_LobWrite(OCI_Lob *lob, void *buffer, unsigned int len)
[OBSOLETE] Write a buffer into a LOB
OCI_BindSetDataSizeAtPos
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_BindArrayGetSize
OCI_EXPORT unsigned int OCI_API OCI_BindArrayGetSize(OCI_Statement *stmt)
Return the current input array size for bulk operations.
OCI_EventGetType
OCI_EXPORT unsigned int OCI_API OCI_EventGetType(OCI_Event *event)
Return the type of event reported by a notification.
OCI_BindSetCharsetForm
boolean OCI_API OCI_BindSetCharsetForm(OCI_Bind *bnd, unsigned int csfrm)
Set the charset form of the given character based bind variable.
OCI_DatabaseShutdown
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_DateGetTime
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_SetBindAllocation
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_GetPassword
OCI_EXPORT const otext *OCI_API OCI_GetPassword(OCI_Connection *con)
Return the current logged user password.
OCI_TimestampGetTime
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_NumberFree
OCI_EXPORT boolean OCI_API OCI_NumberFree(OCI_Number *number)
Free a number object.
OCI_HandleGetDate
OCI_EXPORT const void *OCI_API OCI_HandleGetDate(OCI_Date *date)
Return the OCI Date Handle (OCIDate *) of an OCILIB OCI_Date object.
OCI_LobWrite2
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_GetUnsignedInt2
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_ObjectGetTimestamp
OCI_EXPORT OCI_Timestamp *OCI_API OCI_ObjectGetTimestamp(OCI_Object *obj, const otext *attr)
Return the timestamp value of the given object attribute.
OCI_BindSetDirection
OCI_EXPORT boolean OCI_API OCI_BindSetDirection(OCI_Bind *bnd, unsigned int direction)
Set the direction mode of a bind handle.
OCI_EnqueueGetRelativeMsgID
OCI_EXPORT boolean OCI_API OCI_EnqueueGetRelativeMsgID(OCI_Enqueue *enqueue, void *id, unsigned int *len)
Get the current associated message identifier used for enqueuing messages using a sequence deviation...
OCI_Msg
struct OCI_Msg OCI_Msg
OCILIB encapsulation of A/Q message.
Definition: ocilib.h:749
OCI_IsRebindingAllowed
OCI_EXPORT boolean OCI_API OCI_IsRebindingAllowed(OCI_Statement *stmt)
Indicate if rebinding is allowed on the given statement.
OCI_TimestampGetTimeZoneName
OCI_EXPORT boolean OCI_API OCI_TimestampGetTimeZoneName(OCI_Timestamp *tmsp, int size, otext *str)
Return the time zone name of a timestamp handle.
OCI_TransactionGetMode
OCI_EXPORT unsigned int OCI_API OCI_TransactionGetMode(OCI_Transaction *trans)
Return global transaction mode.
OCI_BindGetStatement
OCI_EXPORT OCI_Statement *OCI_API OCI_BindGetStatement(OCI_Bind *bnd)
Return the statement handle associated with a bind handle.
OCI_IntervalGetDaySecond
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_ObjectGetStruct
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_ElemSetRef
OCI_EXPORT boolean OCI_API OCI_ElemSetRef(OCI_Elem *elem, OCI_Ref *value)
Assign a Ref handle to a collection element.
OCI_ObjectGetObject
OCI_EXPORT OCI_Object *OCI_API OCI_ObjectGetObject(OCI_Object *obj, const otext *attr)
Return the object value of the given object attribute.
OCI_EventGetOperation
OCI_EXPORT unsigned int OCI_API OCI_EventGetOperation(OCI_Event *event)
Return the type of operation reported by a notification.
OCI_ThreadKeySetValue
OCI_EXPORT boolean OCI_API OCI_ThreadKeySetValue(const otext *name, void *value)
Set a thread key value.
OCI_GetShort2
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_IterCreate
OCI_EXPORT OCI_Iter *OCI_API OCI_IterCreate(OCI_Coll *coll)
Create an iterator handle to iterate through a collection.
OCI_BindArrayOfUnsignedBigInts
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_TimestampIntervalSub
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_MutexFree
OCI_EXPORT boolean OCI_API OCI_MutexFree(OCI_Mutex *mutex)
Destroy a mutex object.
OCI_TimestampFree
OCI_EXPORT boolean OCI_API OCI_TimestampFree(OCI_Timestamp *tmsp)
Free an OCI_Timestamp handle.
OCI_BindGetSubtype
OCI_EXPORT unsigned int OCI_API OCI_BindGetSubtype(OCI_Bind *bnd)
Return the OCILIB object subtype of the given bind.
OCI_SetUserData
OCI_EXPORT boolean OCI_API OCI_SetUserData(OCI_Connection *con, void *data)
Associate a pointer to user data to the given connection.
OCI_DateCreate
OCI_EXPORT OCI_Date *OCI_API OCI_DateCreate(OCI_Connection *con)
Create a local date object.
OCI_RefCreate
OCI_EXPORT OCI_Ref *OCI_API OCI_RefCreate(OCI_Connection *con, OCI_TypeInfo *typinf)
Create a local Ref instance.
OCI_IntervalCreate
OCI_EXPORT OCI_Interval *OCI_API OCI_IntervalCreate(OCI_Connection *con, unsigned int type)
Create a local interval object.
OCI_LobGetConnection
OCI_EXPORT OCI_Connection *OCI_API OCI_LobGetConnection(OCI_Lob *lob)
Retrieve connection handle from the lob handle.
OCI_EnqueueSetSequenceDeviation
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_GetDBName
OCI_EXPORT const otext *OCI_API OCI_GetDBName(OCI_Connection *con)
Return the Oracle server database name of the connected database/service name.
OCI_ElemIsNull
OCI_EXPORT boolean OCI_API OCI_ElemIsNull(OCI_Elem *elem)
Check if the collection element value is null.
OCI_RegisterBigInt
OCI_EXPORT boolean OCI_API OCI_RegisterBigInt(OCI_Statement *stmt, const otext *name)
Register a big integer output bind placeholder.
OCI_BindArrayOfFloats
OCI_EXPORT boolean OCI_API OCI_BindArrayOfFloats(OCI_Statement *stmt, const otext *name, float *data, unsigned int nbelem)
Bind an array of floats.
OCI_FileGetOffset
OCI_EXPORT big_uint OCI_API OCI_FileGetOffset(OCI_File *file)
Return the current position in the file.
OCI_SetLongMaxSize
OCI_EXPORT boolean OCI_API OCI_SetLongMaxSize(OCI_Statement *stmt, unsigned int size)
Set the LONG data type piece buffer size.
OCI_RefGetTypeInfo
OCI_EXPORT OCI_TypeInfo *OCI_API OCI_RefGetTypeInfo(OCI_Ref *ref)
Return the type info object associated to the Ref.
OCI_ElemSetLob
OCI_EXPORT boolean OCI_API OCI_ElemSetLob(OCI_Elem *elem, OCI_Lob *value)
Assign a Lob handle to a collection element.
OCI_FileCreate
OCI_EXPORT OCI_File *OCI_API OCI_FileCreate(OCI_Connection *con, unsigned int type)
Create a file object instance.
OCI_Variant
union OCI_Variant OCI_Variant
Internal Variant type based on union C type.
OCI_BindArrayOfUnsignedInts
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_TransactionCreate
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_GetColl
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_ObjectGetUnsignedInt
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_ElemSetUnsignedShort
OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedShort(OCI_Elem *elem, unsigned short value)
Set a unsigned short value to a collection element.
OCI_ColumnGetCollationID
OCI_EXPORT unsigned int OCI_API OCI_ColumnGetCollationID(OCI_Column *col)
Return the column collation ID.
OCI_SetPassword
OCI_EXPORT boolean OCI_API OCI_SetPassword(OCI_Connection *con, const otext *password)
Change the password of the logged user.
OCI_Ref
struct OCI_Ref OCI_Ref
Oracle REF type representation.
Definition: ocilib.h:655
OCI_TimestampCheck
OCI_EXPORT int OCI_API OCI_TimestampCheck(OCI_Timestamp *tmsp)
Check if the given timestamp is valid.
OCI_GetUnsignedBigInt
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_HashGetEntry
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_TransactionForget
OCI_EXPORT boolean OCI_API OCI_TransactionForget(OCI_Transaction *trans)
Cancel the prepared global transaction validation.
OCI_GetRaw2
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_IntervalToText
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_DateFromCTime
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_EnableWarnings
OCI_EXPORT boolean OCI_API OCI_EnableWarnings(boolean value)
Enable or disable Oracle warning notifications.
OCI_HandleGetTimestamp
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_RegisterInt
OCI_EXPORT boolean OCI_API OCI_RegisterInt(OCI_Statement *stmt, const otext *name)
Register an integer output bind placeholder.
OCI_GetResultset
OCI_EXPORT OCI_Resultset *OCI_API OCI_GetResultset(OCI_Statement *stmt)
Retrieve the resultset handle from an executed statement.
OCI_GetBindIndex
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_TransactionFree
OCI_EXPORT boolean OCI_API OCI_TransactionFree(OCI_Transaction *trans)
Free current transaction.
OCI_ObjectSetUnsignedBigInt
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_GetUserData
OCI_EXPORT void *OCI_API OCI_GetUserData(OCI_Connection *con)
Return the pointer to user data previously associated with the connection.
OCI_DequeueGetMode
OCI_EXPORT unsigned int OCI_API OCI_DequeueGetMode(OCI_Dequeue *dequeue)
Get the dequeuing/locking behavior.
OCI_GetUnsignedShort
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_FetchFirst
OCI_EXPORT boolean OCI_API OCI_FetchFirst(OCI_Resultset *rs)
Fetch the first row of the resultset.
OCI_DateSetTime
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_GetTimestamp2
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_SubscriptionGetPort
OCI_EXPORT unsigned int OCI_API OCI_SubscriptionGetPort(OCI_Subscription *sub)
Return the port used by the notification.
OCI_RefGetHexSize
OCI_EXPORT unsigned int OCI_API OCI_RefGetHexSize(OCI_Ref *ref)
Returns the size of the hex representation of the given Ref handle.
OCI_AgentGetAddress
OCI_EXPORT const otext *OCI_API OCI_AgentGetAddress(OCI_Agent *agent)
Get the given AQ agent address.
OCI_GetOCICompileVersion
OCI_EXPORT unsigned int OCI_API OCI_GetOCICompileVersion(void)
Return the version of OCI used for compilation.
OCI_NumberSub
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_DatabaseStartup
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_ObjectGetFloat
OCI_EXPORT float OCI_API OCI_ObjectGetFloat(OCI_Object *obj, const otext *attr)
Return the float value of the given object attribute.
OCI_ColumnGetLeadingPrecision
OCI_EXPORT int OCI_API OCI_ColumnGetLeadingPrecision(OCI_Column *col)
Return the leading precision of the column for interval columns.
OCI_GetServerMinorVersion
OCI_EXPORT unsigned int OCI_API OCI_GetServerMinorVersion(OCI_Connection *con)
Return the minor version number of the connected database server.
OCI_DirPathReset
OCI_EXPORT boolean OCI_API OCI_DirPathReset(OCI_DirPath *dp)
Reset internal arrays and streams to prepare another load.
OCI_ElemGetInterval
OCI_EXPORT OCI_Interval *OCI_API OCI_ElemGetInterval(OCI_Elem *elem)
Return the Interval value of the given collection element.
OCI_MsgSetObject
OCI_EXPORT boolean OCI_API OCI_MsgSetObject(OCI_Msg *msg, OCI_Object *obj)
Set the object payload of the given message.
OCI_CollGetMax
OCI_EXPORT unsigned int OCI_API OCI_CollGetMax(OCI_Coll *coll)
Returns the maximum number of elements of the given collection.
OCI_DequeueGetCorrelation
OCI_EXPORT const otext *OCI_API OCI_DequeueGetCorrelation(OCI_Dequeue *dequeue)
Get the correlation identifier of the message to be dequeued.
OCI_NumberCompare
OCI_EXPORT int OCI_API OCI_NumberCompare(OCI_Number *number1, OCI_Number *number2)
Compares two number handles.
OCI_ElemGetRaw
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_HandleGetObject
OCI_EXPORT const void *OCI_API OCI_HandleGetObject(OCI_Object *obj)
Return OCI Object Handle (void *) of an OCILIB OCI_Object object.
OCI_GetDataSize2
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_GetStatement2
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_FileFree
OCI_EXPORT boolean OCI_API OCI_FileFree(OCI_File *file)
Free a local File object.
OCI_ColumnGetPropertyFlags
OCI_EXPORT unsigned int OCI_API OCI_ColumnGetPropertyFlags(OCI_Column *col)
Return the column property flags.
OCI_HashGetSize
OCI_EXPORT unsigned int OCI_API OCI_HashGetSize(OCI_HashTable *table)
Return the size of the hash table.
OCI_LobOpen
OCI_EXPORT boolean OCI_API OCI_LobOpen(OCI_Lob *lob, unsigned int mode)
Open explicitly a Lob.
OCI_Date
struct OCI_Date OCI_Date
Oracle internal date representation.
Definition: ocilib.h:578
OCI_GetBigInt
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_DequeueGetNavigation
OCI_EXPORT unsigned int OCI_API OCI_DequeueGetNavigation(OCI_Dequeue *dequeue)
Return the navigation position of messages to retrieve from the queue.
OCI_ElemGetNumber
OCI_EXPORT OCI_Number *OCI_API OCI_ElemGetNumber(OCI_Elem *elem)
Return the number value of the given collection element.
OCI_PoolGetNoWait
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_DirPathConvert
OCI_EXPORT unsigned int OCI_API OCI_DirPathConvert(OCI_DirPath *dp)
Convert provided user data to the direct path stream format.
OCI_DateSetDate
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_DateDaysBetween
OCI_EXPORT int OCI_API OCI_DateDaysBetween(OCI_Date *date, OCI_Date *date2)
Return the number of days betWeen two dates.
OCI_GetVersionConnection
OCI_EXPORT unsigned int OCI_API OCI_GetVersionConnection(OCI_Connection *con)
Return the highest Oracle version is supported by the connection.
OCI_BindGetDataSizeAtPos
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_IsTAFCapable
OCI_EXPORT boolean OCI_API OCI_IsTAFCapable(OCI_Connection *con)
Verify if the given connection support TAF events.
OCI_HashAddInt
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_HandleGetEnvironment
OCI_EXPORT const void *OCI_API OCI_HandleGetEnvironment(void)
Return the OCI Environment Handle (OCIEnv *) of OCILIB library.
OCI_MsgGetExpiration
OCI_EXPORT int OCI_API OCI_MsgGetExpiration(OCI_Msg *msg)
Return the duration that the message is available for dequeuing.
OCI_HandleGetContext
OCI_EXPORT const void *OCI_API OCI_HandleGetContext(OCI_Connection *con)
Return the OCI Context Handle (OCISvcCtx *) of an OCILIB OCI_Connection object.
OCI_BindDate
OCI_EXPORT boolean OCI_API OCI_BindDate(OCI_Statement *stmt, const otext *name, OCI_Date *data)
Bind a date variable.
OCI_CollFree
OCI_EXPORT boolean OCI_API OCI_CollFree(OCI_Coll *coll)
Free a local collection.
OCI_DateSysDate
OCI_EXPORT boolean OCI_API OCI_DateSysDate(OCI_Date *date)
Return the current system date/time into the date handle.
OCI_BindArrayOfRaws
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_RefGetObject
OCI_EXPORT OCI_Object *OCI_API OCI_RefGetObject(OCI_Ref *ref)
Returns the object pointed by the Ref handle.
OCI_TypeInfoFree
OCI_EXPORT boolean OCI_API OCI_TypeInfoFree(OCI_TypeInfo *typinf)
Free a type info object.
OCI_ElemGetColl
OCI_EXPORT OCI_Coll *OCI_API OCI_ElemGetColl(OCI_Elem *elem)
Return the collection value of the given collection element.
OCI_Transaction
struct OCI_Transaction OCI_Transaction
Oracle Transaction.
Definition: ocilib.h:537
OCI_ExecuteStmtFmt
OCI_EXPORT boolean OCI_ExecuteStmtFmt(OCI_Statement *stmt, const otext *sql,...)
Execute a formatted SQL statement or PL/SQL block.
OCI_CollGetCount
OCI_EXPORT unsigned int OCI_API OCI_CollGetCount(OCI_Coll *coll)
Returns the current number of elements of the given collection.
OCI_CollGetElem
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_NumberGetContent
OCI_EXPORT unsigned char *OCI_API OCI_NumberGetContent(OCI_Number *number)
Return the number value content.
OCI_ElemSetUnsignedInt
OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedInt(OCI_Elem *elem, unsigned int value)
Set a unsigned int value to a collection element.
OCI_ObjectGetUnsignedShort
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_HashGetPointer
OCI_EXPORT void *OCI_API OCI_HashGetPointer(OCI_HashTable *table, const otext *key)
Return a pointer associated with the given key.
OCI_GetInstanceName
OCI_EXPORT const otext *OCI_API OCI_GetInstanceName(OCI_Connection *con)
Return the Oracle server Instance name of the connected database/service name.
OCI_GetFetchMode
OCI_EXPORT unsigned int OCI_API OCI_GetFetchMode(OCI_Statement *stmt)
Return the fetch mode of a SQL statement.
OCI_SubscriptionAddStatement
OCI_EXPORT boolean OCI_API OCI_SubscriptionAddStatement(OCI_Subscription *sub, OCI_Statement *stmt)
Add a statement to the notification to monitor.
OCI_LobTruncate
OCI_EXPORT boolean OCI_API OCI_LobTruncate(OCI_Lob *lob, big_uint size)
Truncate the given lob to a shorter length.
OCI_ThreadKeyGetValue
OCI_EXPORT void *OCI_API OCI_ThreadKeyGetValue(const otext *name)
Get a thread key value.
OCI_PrepareFmt
OCI_EXPORT boolean OCI_PrepareFmt(OCI_Statement *stmt, const otext *sql,...)
Prepare a formatted SQL statement or PL/SQL block.
OCI_LobClose
OCI_EXPORT boolean OCI_API OCI_LobClose(OCI_Lob *lob)
Close explicitly a Lob.
OCI_BindArrayOfDates
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_GetInterval2
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_DateArrayFree
OCI_EXPORT boolean OCI_API OCI_DateArrayFree(OCI_Date **dates)
Free an array of date objects.
OCI_CollSetElem
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_DirPathAbort
OCI_EXPORT boolean OCI_API OCI_DirPathAbort(OCI_DirPath *dp)
Terminate a direct path operation without committing changes.
OCI_CollAppend
OCI_EXPORT boolean OCI_API OCI_CollAppend(OCI_Coll *coll, OCI_Elem *elem)
Append the given element at the end of the collection.
OCI_GetSessionMode
OCI_EXPORT unsigned int OCI_API OCI_GetSessionMode(OCI_Connection *con)
Return the current session mode.
OCI_ElemSetUnsignedBigInt
OCI_EXPORT boolean OCI_API OCI_ElemSetUnsignedBigInt(OCI_Elem *elem, big_uint value)
Set a unsigned big_int value to a collection element.
OCI_BindLob
OCI_EXPORT boolean OCI_API OCI_BindLob(OCI_Statement *stmt, const otext *name, OCI_Lob *data)
Bind a Lob variable.
OCI_RegisterDouble
OCI_EXPORT boolean OCI_API OCI_RegisterDouble(OCI_Statement *stmt, const otext *name)
Register a double output bind placeholder.
OCI_GetColumnCount
OCI_EXPORT unsigned int OCI_API OCI_GetColumnCount(OCI_Resultset *rs)
Return the number of columns in the resultset.
OCI_DirPathGetErrorColumn
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_ColumnGetCharsetForm
OCI_EXPORT unsigned int OCI_API OCI_ColumnGetCharsetForm(OCI_Column *col)
Return the charset form of the given column.
POCI_NOTIFY
void(* POCI_NOTIFY)(OCI_Event *event)
Database Change Notification User callback prototype.
Definition: ocilib.h:839
OCI_AllowRebinding
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_Describe
OCI_EXPORT boolean OCI_API OCI_Describe(OCI_Statement *stmt, const otext *sql)
Describe the select list of a SQL select statement.
OCI_BindGetName
OCI_EXPORT const otext *OCI_API OCI_BindGetName(OCI_Bind *bnd)
Return the name of the given bind.
OCI_ServerEnableOutput
OCI_EXPORT boolean OCI_API OCI_ServerEnableOutput(OCI_Connection *con, unsigned int bufsize, unsigned int arrsize, unsigned int lnsize)
Enable the server output.
OCI_LobAppend
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_GetMaxCursors
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_LobCopy
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_MsgSetSender
OCI_EXPORT boolean OCI_API OCI_MsgSetSender(OCI_Msg *msg, OCI_Agent *sender)
Set the original sender of a message.
OCI_GetSQLVerb
OCI_EXPORT const otext *OCI_API OCI_GetSQLVerb(OCI_Statement *stmt)
Return the verb of the SQL command held by the statement handle.
OCI_ErrorGetString
OCI_EXPORT const otext *OCI_API OCI_ErrorGetString(OCI_Error *err)
Retrieve error message from error handle.
OCI_Resultset
struct OCI_Resultset OCI_Resultset
Collection of output columns from a select statement.
Definition: ocilib.h:462
OCI_HandleGetError
OCI_EXPORT const void *OCI_API OCI_HandleGetError(OCI_Connection *con)
Return the OCI Error Handle (OCIError *) of an OCILIB OCI_Connection object.
OCI_GetDomainName
OCI_EXPORT const otext *OCI_API OCI_GetDomainName(OCI_Connection *con)
Return the Oracle server domain name of the connected database/service name.
OCI_ObjectIsNull
OCI_EXPORT boolean OCI_API OCI_ObjectIsNull(OCI_Object *obj, const otext *attr)
Check if an object attribute is null.
OCI_DequeueGetWaitTime
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_Execute
OCI_EXPORT boolean OCI_API OCI_Execute(OCI_Statement *stmt)
Execute a prepared SQL statement or PL/SQL block.
OCI_ObjectFree
OCI_EXPORT boolean OCI_API OCI_ObjectFree(OCI_Object *obj)
Free a local object.
OCI_NumberArrayCreate
OCI_EXPORT OCI_Number **OCI_API OCI_NumberArrayCreate(OCI_Connection *con, unsigned int nbelem)
Create an array of number object.
OCI_ElemSetFile
OCI_EXPORT boolean OCI_API OCI_ElemSetFile(OCI_Elem *elem, OCI_File *value)
Assign a File handle to a collection element.
OCI_GetLastError
OCI_EXPORT OCI_Error *OCI_API OCI_GetLastError(void)
Retrieve the last error or warning occurred within the last OCILIB call.
OCI_TransactionPrepare
OCI_EXPORT boolean OCI_API OCI_TransactionPrepare(OCI_Transaction *trans)
Prepare a global transaction validation.
OCI_FileGetDirectory
OCI_EXPORT const otext *OCI_API OCI_FileGetDirectory(OCI_File *file)
Return the directory of the given file.
OCI_BindArrayOfInts
OCI_EXPORT boolean OCI_API OCI_BindArrayOfInts(OCI_Statement *stmt, const otext *name, int *data, unsigned int nbelem)
Bind an array of integers.
OCI_MsgGetEnqueueTime
OCI_EXPORT OCI_Date *OCI_API OCI_MsgGetEnqueueTime(OCI_Msg *msg)
return the time the message was enqueued
OCI_DirPathGetAffectedRows
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_LobArrayFree
OCI_EXPORT boolean OCI_API OCI_LobArrayFree(OCI_Lob **lobs)
Free an array of lob objects.
OCI_BindBoolean
OCI_EXPORT boolean OCI_API OCI_BindBoolean(OCI_Statement *stmt, const otext *name, boolean *data)
Bind a boolean variable (PL/SQL ONLY)
OCI_IntervalArrayCreate
OCI_EXPORT OCI_Interval **OCI_API OCI_IntervalArrayCreate(OCI_Connection *con, unsigned int type, unsigned int nbelem)
Create an array of Interval object.
OCI_SetErrorHandler
OCI_EXPORT boolean OCI_API OCI_SetErrorHandler(POCI_ERROR handler)
Set the global error user handler.
OCI_GetInt
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_FileArrayCreate
OCI_EXPORT OCI_File **OCI_API OCI_FileArrayCreate(OCI_Connection *con, unsigned int type, unsigned int nbelem)
Create an array of file object.
OCI_GetCurrentRow
OCI_EXPORT unsigned int OCI_API OCI_GetCurrentRow(OCI_Resultset *rs)
Retrieve the current row number.
OCI_SubscriptionGetConnection
OCI_EXPORT OCI_Connection *OCI_API OCI_SubscriptionGetConnection(OCI_Subscription *sub)
Return the connection handle associated with a subscription handle.
OCI_ObjectSetUnsignedInt
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_GetFloat2
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_GetBigInt2
OCI_EXPORT big_int OCI_API OCI_GetBigInt2(OCI_Resultset *rs, const otext *name)
Return the current big integer value of the column from its name in the resultset.
OCI_DirPath
struct OCI_DirPath OCI_DirPath
OCILIB encapsulation of OCI Direct Path handle.
Definition: ocilib.h:719
OCI_HandleGetSubscription
OCI_EXPORT const void *OCI_API OCI_HandleGetSubscription(OCI_Subscription *sub)
Return OCI Subscription handle (OCISubscription *) of an OCILIB OCI_Subscription object.
OCI_DirPathSetCurrentRows
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_MsgGetRaw
OCI_EXPORT boolean OCI_API OCI_MsgGetRaw(OCI_Msg *msg, void *raw, unsigned int *size)
Get the RAW payload of the given message.
OCI_MutexRelease
OCI_EXPORT boolean OCI_API OCI_MutexRelease(OCI_Mutex *mutex)
Release a mutex lock.
OCI_TimestampConstruct
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_TimestampSubtract
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_MsgGetPriority
OCI_EXPORT int OCI_API OCI_MsgGetPriority(OCI_Msg *msg)
Return the priority of the message.
OCI_HandleGetLob
OCI_EXPORT const void *OCI_API OCI_HandleGetLob(OCI_Lob *lob)
Return the OCI LobLocator Handle (OCILobLocator *) of an OCILIB OCI_Lob object.
OCI_DateZoneToZone
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_CollGetSize
OCI_EXPORT unsigned int OCI_API OCI_CollGetSize(OCI_Coll *coll)
Returns the total number of elements of the given collection.
OCI_HashCreate
OCI_EXPORT OCI_HashTable *OCI_API OCI_HashCreate(unsigned int size, unsigned int type)
Create a hash table.
OCI_HandleGetThreadID
OCI_EXPORT const void *OCI_API OCI_HandleGetThreadID(OCI_Thread *thread)
Return OCI Thread ID (OCIThreadId *) of an OCILIB OCI_Thread object.
OCI_MsgFree
OCI_EXPORT boolean OCI_API OCI_MsgFree(OCI_Msg *msg)
Free a message object.
OCI_RegisterUnsignedInt
OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedInt(OCI_Statement *stmt, const otext *name)
Register an unsigned integer output bind placeholder.
OCI_EnqueueSetVisibility
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_PoolGetBusyCount
OCI_EXPORT unsigned int OCI_API OCI_PoolGetBusyCount(OCI_Pool *pool)
Return the current number of busy connections/sessions.
OCI_ConnectionCreate
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_GetDouble
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_CollAssign
OCI_EXPORT boolean OCI_API OCI_CollAssign(OCI_Coll *coll, OCI_Coll *coll_src)
Assign a collection to another one.
OCI_SubscriptionGetTimeout
OCI_EXPORT unsigned int OCI_API OCI_SubscriptionGetTimeout(OCI_Subscription *sub)
Return the timeout of the given registered subscription.
OCI_MsgGetSender
OCI_EXPORT OCI_Agent *OCI_API OCI_MsgGetSender(OCI_Msg *msg)
Return the original sender of a message.
OCI_SetHAHandler
OCI_EXPORT boolean OCI_API OCI_SetHAHandler(POCI_HA_HANDLER handler)
Set the High availability (HA) user handler.
OCI_DateToText
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_HandleGetServer
OCI_EXPORT const void *OCI_API OCI_HandleGetServer(OCI_Connection *con)
Return the OCI Server Handle (OCIServer *) of an OCILIB OCI_Connection object.
OCI_ElemGetShort
OCI_EXPORT short OCI_API OCI_ElemGetShort(OCI_Elem *elem)
Return the short value of the given collection element.
OCI_EventGetDatabase
OCI_EXPORT const otext *OCI_API OCI_EventGetDatabase(OCI_Event *event)
Return the name of the database that generated the event.
OCI_RegisterObject
OCI_EXPORT boolean OCI_API OCI_RegisterObject(OCI_Statement *stmt, const otext *name, OCI_TypeInfo *typinf)
Register an object output bind placeholder.
OCI_ObjectSetBigInt
OCI_EXPORT boolean OCI_API OCI_ObjectSetBigInt(OCI_Object *obj, const otext *attr, big_int value)
Set an object attribute of type big int.
OCI_File
struct OCI_File OCI_File
Oracle External Large objects:
Definition: ocilib.h:522
OCI_LobCreate
OCI_EXPORT OCI_Lob *OCI_API OCI_LobCreate(OCI_Connection *con, unsigned int type)
Create a local temporary Lob instance.
OCI_Thread
struct OCI_Thread OCI_Thread
OCILIB encapsulation of OCI Threads.
Definition: ocilib.h:709
OCI_GetDatabase
OCI_EXPORT const otext *OCI_API OCI_GetDatabase(OCI_Connection *con)
Return the name of the connected database/service name.
OCI_IntervalAdd
OCI_EXPORT boolean OCI_API OCI_IntervalAdd(OCI_Interval *itv, OCI_Interval *itv2)
Adds an interval handle value to another.
OCI_BindTimestamp
OCI_EXPORT boolean OCI_API OCI_BindTimestamp(OCI_Statement *stmt, const otext *name, OCI_Timestamp *data)
Bind a timestamp variable.
OCI_SetTrace
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_ObjectSetDate
OCI_EXPORT boolean OCI_API OCI_ObjectSetDate(OCI_Object *obj, const otext *attr, OCI_Date *value)
Set an object attribute of type Date.
OCI_FetchNext
OCI_EXPORT boolean OCI_API OCI_FetchNext(OCI_Resultset *rs)
Fetch the next row of the resultset.
OCI_GetFloat
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_GetFormat
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_BindArrayOfFiles
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_MsgSetRaw
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_MsgSetConsumers
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_RegisterNumber
OCI_EXPORT boolean OCI_API OCI_RegisterNumber(OCI_Statement *stmt, const otext *name)
Register a register output bind placeholder.
OCI_QueueTableMigrate
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_ObjectSetTimestamp
OCI_EXPORT boolean OCI_API OCI_ObjectSetTimestamp(OCI_Object *obj, const otext *attr, OCI_Timestamp *value)
Set an object attribute of type Timestamp.
OCI_RegisterLob
OCI_EXPORT boolean OCI_API OCI_RegisterLob(OCI_Statement *stmt, const otext *name, unsigned int type)
Register a lob output bind placeholder.
OCI_ThreadFree
OCI_EXPORT boolean OCI_API OCI_ThreadFree(OCI_Thread *thread)
Destroy a thread object.
OCI_RefArrayFree
OCI_EXPORT boolean OCI_API OCI_RefArrayFree(OCI_Ref **refs)
Free an array of Ref objects.
OCI_HashGetString
OCI_EXPORT const otext *OCI_API OCI_HashGetString(OCI_HashTable *table, const otext *key)
Return the string value associated to the given key.
OCI_TimestampIntervalAdd
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_ObjectGetDate
OCI_EXPORT OCI_Date *OCI_API OCI_ObjectGetDate(OCI_Object *obj, const otext *attr)
Return the date value of the given object attribute.
OCI_BindArrayOfStrings
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_ObjectGetSelfRef
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_PoolFree
OCI_EXPORT boolean OCI_API OCI_PoolFree(OCI_Pool *pool)
Destroy a pool object.
OCI_ElemSetNumber
OCI_EXPORT boolean OCI_API OCI_ElemSetNumber(OCI_Elem *elem, OCI_Number *value)
Set a number value to a collection element.
OCI_CollCreate
OCI_EXPORT OCI_Coll *OCI_API OCI_CollCreate(OCI_TypeInfo *typinf)
Create a local collection instance.
OCI_Number
struct OCI_Number OCI_Number
Oracle NUMBER representation.
Definition: ocilib.h:568
OCI_GetFetchSize
OCI_EXPORT unsigned int OCI_API OCI_GetFetchSize(OCI_Statement *stmt)
Return the number of rows fetched per internal server fetch call.
OCI_ColumnGetNullable
OCI_EXPORT boolean OCI_API OCI_ColumnGetNullable(OCI_Column *col)
Return the nullable attribute of the column.
OCI_FileGetName
OCI_EXPORT const otext *OCI_API OCI_FileGetName(OCI_File *file)
Return the name of the given file.
OCI_GetStatementType
OCI_EXPORT unsigned int OCI_API OCI_GetStatementType(OCI_Statement *stmt)
Return the type of a SQL statement.
OCI_QueueCreate
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_GetRaw
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_IntervalArrayFree
OCI_EXPORT boolean OCI_API OCI_IntervalArrayFree(OCI_Interval **itvs)
Free an array of Interval objects.
OCI_FileSeek
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_SetAutoCommit
OCI_EXPORT boolean OCI_API OCI_SetAutoCommit(OCI_Connection *con, boolean enable)
Enable / disable auto commit mode.
OCI_LobIsTemporary
OCI_EXPORT boolean OCI_API OCI_LobIsTemporary(OCI_Lob *lob)
Check if the given lob is a temporary lob.
OCI_DirPathSetColumn
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_NumberSetValue
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_DirPathSetNoLog
OCI_EXPORT boolean OCI_API OCI_DirPathSetNoLog(OCI_DirPath *dp, boolean value)
Set the logging mode for the loading operation.
OCI_IsConnected
OCI_EXPORT boolean OCI_API OCI_IsConnected(OCI_Connection *con)
Returns TRUE is the given connection is still connected otherwise FALSE.
OCI_QueueTableCreate
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_GetBind2
OCI_EXPORT OCI_Bind *OCI_API OCI_GetBind2(OCI_Statement *stmt, const otext *name)
Return a bind handle from its name.
OCI_Prepare
OCI_EXPORT boolean OCI_API OCI_Prepare(OCI_Statement *stmt, const otext *sql)
Prepare a SQL statement or PL/SQL block.
OCI_DequeueSetAgentList
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_PoolSetTimeout
OCI_EXPORT boolean OCI_API OCI_PoolSetTimeout(OCI_Pool *pool, unsigned int value)
Set the connections/sessions idle timeout.
OCI_GetFile
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_ObjectArrayCreate
OCI_EXPORT OCI_Object **OCI_API OCI_ObjectArrayCreate(OCI_Connection *con, OCI_TypeInfo *typinf, unsigned int nbelem)
Create an array of Object objects.
OCI_DateSetDateTime
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_ObjectSetInt
OCI_EXPORT boolean OCI_API OCI_ObjectSetInt(OCI_Object *obj, const otext *attr, int value)
Set an object attribute of type int.
OCI_LobGetLength
OCI_EXPORT big_uint OCI_API OCI_LobGetLength(OCI_Lob *lob)
Return the actual length of a lob.
OCI_GetServerMajorVersion
OCI_EXPORT unsigned int OCI_API OCI_GetServerMajorVersion(OCI_Connection *con)
Return the major version number of the connected database server.
OCI_DirPathSetEntry
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_ElemGetLob
OCI_EXPORT OCI_Lob *OCI_API OCI_ElemGetLob(OCI_Elem *elem)
Return the Lob value of the given collection element.
OCI_LobEnableBuffering
OCI_EXPORT boolean OCI_API OCI_LobEnableBuffering(OCI_Lob *lob, boolean value)
Enable / disable buffering mode on the given lob handle.
POCI_NOTIFY_AQ
void(* POCI_NOTIFY_AQ)(OCI_Dequeue *dequeue)
AQ notification callback prototype.
Definition: ocilib.h:854
OCI_GetStatementCacheSize
OCI_EXPORT unsigned int OCI_API OCI_GetStatementCacheSize(OCI_Connection *con)
Return the maximum number of statements to keep in the statement cache.
OCI_SetTransaction
OCI_EXPORT boolean OCI_API OCI_SetTransaction(OCI_Connection *con, OCI_Transaction *trans)
Set a transaction to a connection.
OCI_CollTrim
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_RefFree
OCI_EXPORT boolean OCI_API OCI_RefFree(OCI_Ref *ref)
Free a local Ref.
OCI_GetTransaction
OCI_EXPORT OCI_Transaction *OCI_API OCI_GetTransaction(OCI_Connection *con)
Return the current transaction of the connection.
OCI_DateNextDay
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_Rollback
OCI_EXPORT boolean OCI_API OCI_Rollback(OCI_Connection *con)
Cancel current pending changes.
OCI_ObjectGetTypeInfo
OCI_EXPORT OCI_TypeInfo *OCI_API OCI_ObjectGetTypeInfo(OCI_Object *obj)
Return the type info object associated to the object.
OCI_LongGetSize
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_FileOpen
OCI_EXPORT boolean OCI_API OCI_FileOpen(OCI_File *file)
Open a file for reading.
OCI_FetchSeek
OCI_EXPORT boolean OCI_API OCI_FetchSeek(OCI_Resultset *rs, unsigned int mode, int offset)
Custom Fetch of the resultset.
OCI_IntervalGetYearMonth
OCI_EXPORT boolean OCI_API OCI_IntervalGetYearMonth(OCI_Interval *itv, int *year, int *month)
Return the year / month portion of an interval handle.
OCI_IntervalSetDaySecond
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_ElemSetColl
OCI_EXPORT boolean OCI_API OCI_ElemSetColl(OCI_Elem *elem, OCI_Coll *value)
Assign a Collection handle to a collection element.
OCI_DequeueGetVisibility
OCI_EXPORT unsigned int OCI_API OCI_DequeueGetVisibility(OCI_Dequeue *dequeue)
Get the dequeuing/locking behavior.
OCI_ObjectSetUnsignedShort
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_ElemSetDate
OCI_EXPORT boolean OCI_API OCI_ElemSetDate(OCI_Elem *elem, OCI_Date *value)
Assign a Date handle to a collection element.
OCI_GetDataLength
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_ReleaseResultsets
OCI_EXPORT boolean OCI_API OCI_ReleaseResultsets(OCI_Statement *stmt)
Free the statement resultsets.
OCI_RegisterString
OCI_EXPORT boolean OCI_API OCI_RegisterString(OCI_Statement *stmt, const otext *name, unsigned int len)
Register a string output bind placeholder.
OCI_RegisterShort
OCI_EXPORT boolean OCI_API OCI_RegisterShort(OCI_Statement *stmt, const otext *name)
Register a short output bind placeholder.
OCI_ElemGetObject
OCI_EXPORT OCI_Object *OCI_API OCI_ElemGetObject(OCI_Elem *elem)
Return the object value of the given collection element.
OCI_GetSQLCommand
OCI_EXPORT unsigned int OCI_API OCI_GetSQLCommand(OCI_Statement *stmt)
Return the Oracle SQL code the command held by the statement handle.
OCI_DirPathGetRowCount
OCI_EXPORT unsigned int OCI_API OCI_DirPathGetRowCount(OCI_DirPath *dp)
Return the number of rows successfully loaded into the database so far.
OCI_TimestampAssign
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_DirPathSetConvertMode
OCI_EXPORT boolean OCI_API OCI_DirPathSetConvertMode(OCI_DirPath *dp, unsigned int mode)
Set the direct path conversion mode.
OCI_ColumnGetFractionalPrecision
OCI_EXPORT int OCI_API OCI_ColumnGetFractionalPrecision(OCI_Column *col)
Return the fractional precision of the column for timestamp and interval columns. ...
OCI_GetPrefetchMemory
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_SetPrefetchSize
OCI_EXPORT boolean OCI_API OCI_SetPrefetchSize(OCI_Statement *stmt, unsigned int size)
Set the number of rows pre-fetched by OCI Client.
OCI_DequeueGetRelativeMsgID
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_DequeueSetCorrelation
OCI_EXPORT boolean OCI_API OCI_DequeueSetCorrelation(OCI_Dequeue *dequeue, const otext *pattern)
set the correlation identifier of the message to be dequeued
OCI_DirPathSetParallel
OCI_EXPORT boolean OCI_API OCI_DirPathSetParallel(OCI_DirPath *dp, boolean value)
Set the parallel loading mode.
OCI_NumberAssign
OCI_EXPORT int OCI_API OCI_NumberAssign(OCI_Number *number, OCI_Number *number_src)
Assign the value of a number handle to another one.
POCI_THREADKEYDEST
void(* POCI_THREADKEYDEST)(void *data)
Thread key destructor prototype.
Definition: ocilib.h:824
OCI_BindArrayOfRefs
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_QueueAlter
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_DequeueCreate
OCI_EXPORT OCI_Dequeue *OCI_API OCI_DequeueCreate(OCI_TypeInfo *typinf, const otext *name)
Create a Dequeue object for the given queue.
OCI_GetBatchError
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_HashGetValue
OCI_EXPORT OCI_HashValue *OCI_API OCI_HashGetValue(OCI_HashTable *table, const otext *key)
Return the first hash slot that matches the key.
OCI_HashValue
struct OCI_HashValue OCI_HashValue
Hash table entry value.
OCI_GetNextResultset
OCI_EXPORT OCI_Resultset *OCI_API OCI_GetNextResultset(OCI_Statement *stmt)
Retrieve the next available resultset.
OCI_TransactionGetTimeout
OCI_EXPORT unsigned int OCI_API OCI_TransactionGetTimeout(OCI_Transaction *trans)
Return global transaction Timeout.
OCI_TimestampArrayFree
OCI_EXPORT boolean OCI_API OCI_TimestampArrayFree(OCI_Timestamp **tmsps)
Free an array of timestamp objects.
OCI_ElemSetInt
OCI_EXPORT boolean OCI_API OCI_ElemSetInt(OCI_Elem *elem, int value)
Set a int value to a collection element.
OCI_LongFree
OCI_EXPORT boolean OCI_API OCI_LongFree(OCI_Long *lg)
Free a local temporary long.
OCI_SetStructNumericType
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...
OCI_Long
struct OCI_Long OCI_Long
Oracle Long data type.
Definition: ocilib.h:559
OCI_ElemGetDouble
OCI_EXPORT double OCI_API OCI_ElemGetDouble(OCI_Elem *elem)
Return the Double value of the given collection element.
OCI_RegisterRef
OCI_EXPORT boolean OCI_API OCI_RegisterRef(OCI_Statement *stmt, const otext *name, OCI_TypeInfo *typinf)
Register a Ref output bind placeholder.
OCI_TimestampToText
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_GetShort
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_SetPrefetchMemory
OCI_EXPORT boolean OCI_API OCI_SetPrefetchMemory(OCI_Statement *stmt, unsigned int size)
Set the amount of memory pre-fetched by OCI Client.
OCI_CollGetElem2
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_TypeInfoGetColumn
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_GetNumber
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_EventGetRowid
OCI_EXPORT const otext *OCI_API OCI_EventGetRowid(OCI_Event *event)
Return the rowid of the altered database object row.
OCI_TypeInfo
struct OCI_TypeInfo OCI_TypeInfo
Type info metadata handle.
Definition: ocilib.h:665
OCI_DirPathGetErrorRow
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_ObjectGetBoolean
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_ElemGetString
OCI_EXPORT const otext *OCI_API OCI_ElemGetString(OCI_Elem *elem)
Return the String value of the given collection element.
OCI_GetServiceName
OCI_EXPORT const otext *OCI_API OCI_GetServiceName(OCI_Connection *con)
Return the Oracle server service name of the connected database/service name.
OCI_MsgGetObject
OCI_EXPORT OCI_Object *OCI_API OCI_MsgGetObject(OCI_Msg *msg)
Get the object payload of the given message.
OCI_BindShort
OCI_EXPORT boolean OCI_API OCI_BindShort(OCI_Statement *stmt, const otext *name, short *data)
Bind an short variable.
OCI_ElemSetDouble
OCI_EXPORT boolean OCI_API OCI_ElemSetDouble(OCI_Elem *elem, double value)
Set a double value to a collection element.
OCI_DequeueGetConsumer
OCI_EXPORT const otext *OCI_API OCI_DequeueGetConsumer(OCI_Dequeue *dequeue)
Get the current consumer name associated with the dequeuing process.
OCI_ElemSetObject
OCI_EXPORT boolean OCI_API OCI_ElemSetObject(OCI_Elem *elem, OCI_Object *value)
Assign an Object handle to a collection element.
OCI_GetUnsignedInt
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_RefIsNull
OCI_EXPORT boolean OCI_API OCI_RefIsNull(OCI_Ref *ref)
Check if the Ref points to an object or not.
OCI_HashAddPointer
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_GetOCIRuntimeVersion
OCI_EXPORT unsigned int OCI_API OCI_GetOCIRuntimeVersion(void)
Return the version of OCI used at runtime.
OCI_BindFloat
OCI_EXPORT boolean OCI_API OCI_BindFloat(OCI_Statement *stmt, const otext *name, float *data)
Bind a float variable.
OCI_HashAddString
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_IsNull2
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_TimestampGetDate
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_DequeueSetMode
OCI_EXPORT boolean OCI_API OCI_DequeueSetMode(OCI_Dequeue *dequeue, unsigned int mode)
Set the dequeuing/locking behavior.
OCI_LobGetMaxSize
OCI_EXPORT big_uint OCI_API OCI_LobGetMaxSize(OCI_Lob *lob)
Return the maximum size that the lob can contain.
OCI_ElemGetInt
OCI_EXPORT int OCI_API OCI_ElemGetInt(OCI_Elem *elem)
Return the int value of the given collection element.
OCI_FileClose
OCI_EXPORT boolean OCI_API OCI_FileClose(OCI_File *file)
Close a file.
OCI_DirPathPrepare
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_LongGetBuffer
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_TypeInfoGetType
OCI_EXPORT unsigned int OCI_API OCI_TypeInfoGetType(OCI_TypeInfo *typinf)
Return the type of the type info object.
OCI_DateArrayCreate
OCI_EXPORT OCI_Date **OCI_API OCI_DateArrayCreate(OCI_Connection *con, unsigned int nbelem)
Create an array of date object.
OCI_SetFetchSize
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_CollArrayCreate
OCI_EXPORT OCI_Coll **OCI_API OCI_CollArrayCreate(OCI_Connection *con, OCI_TypeInfo *typinf, unsigned int nbelem)
Create an array of Collection object.
OCI_DirPathGetMaxRows
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_EnqueueGetSequenceDeviation
OCI_EXPORT unsigned int OCI_API OCI_EnqueueGetSequenceDeviation(OCI_Enqueue *enqueue)
Return the sequence deviation of messages to enqueue to the queue.
OCI_DequeueGet
OCI_EXPORT OCI_Msg *OCI_API OCI_DequeueGet(OCI_Dequeue *dequeue)
Dequeue messages from the given queue.
OCI_AgentCreate
OCI_EXPORT OCI_Agent *OCI_API OCI_AgentCreate(OCI_Connection *con, const otext *name, const otext *address)
Create an AQ agent object.
OCI_HashTable
struct OCI_HashTable OCI_HashTable
OCILIB implementation of hash tables.
Definition: ocilib.h:675
OCI_GetBindMode
OCI_EXPORT unsigned int OCI_API OCI_GetBindMode(OCI_Statement *stmt)
Return the binding mode of a SQL statement.
OCI_ObjectGetBigInt
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_TimestampSysTimestamp
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_IterGetPrev
OCI_EXPORT OCI_Elem *OCI_API OCI_IterGetPrev(OCI_Iter *iter)
Get the previous element in the collection.
OCI_CollGetType
OCI_EXPORT unsigned int OCI_API OCI_CollGetType(OCI_Coll *coll)
Return the collection type.
OCI_CollToText
OCI_EXPORT boolean OCI_API OCI_CollToText(OCI_Coll *coll, unsigned int *size, otext *str)
Convert a collection handle value to a string.
OCI_SetSessionTag
OCI_EXPORT boolean OCI_API OCI_SetSessionTag(OCI_Connection *con, const otext *tag)
Associate a tag to the given connection/session.
OCI_BindIsNullAtPos
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_MsgSetExpiration
OCI_EXPORT boolean OCI_API OCI_MsgSetExpiration(OCI_Msg *msg, int value)
set the duration that the message is available for dequeuing
OCI_TimestampGetType
OCI_EXPORT unsigned int OCI_API OCI_TimestampGetType(OCI_Timestamp *tmsp)
Return the type of the given Timestamp object.
OCI_IntervalFromText
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_TimestampCreate
OCI_EXPORT OCI_Timestamp *OCI_API OCI_TimestampCreate(OCI_Connection *con, unsigned int type)
Create a local Timestamp instance.
OCI_ObjectSetInterval
OCI_EXPORT boolean OCI_API OCI_ObjectSetInterval(OCI_Object *obj, const otext *attr, OCI_Interval *value)
Set an object attribute of type Interval.
OCI_SetStatementCacheSize
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_ObjectSetBoolean
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_LongGetType
OCI_EXPORT unsigned int OCI_API OCI_LongGetType(OCI_Long *lg)
Return the type of the given Long object.
OCI_ThreadCreate
OCI_EXPORT OCI_Thread *OCI_API OCI_ThreadCreate(void)
Create a Thread object.
OCI_SetFormat
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_TypeInfoGetColumnCount
OCI_EXPORT unsigned int OCI_API OCI_TypeInfoGetColumnCount(OCI_TypeInfo *typinf)
Return the number of columns of a table/view/object.
OCI_ObjectSetFloat
OCI_EXPORT boolean OCI_API OCI_ObjectSetFloat(OCI_Object *obj, const otext *attr, float value)
Set an object attribute of type float.
OCI_ObjectGetColl
OCI_EXPORT OCI_Coll *OCI_API OCI_ObjectGetColl(OCI_Object *obj, const otext *attr)
Return the collection value of the given object attribute.
OCI_SetLongMode
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_AgentFree
OCI_EXPORT boolean OCI_API OCI_AgentFree(OCI_Agent *agent)
Free an AQ agent object.
OCI_GetLong2
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_IntervalCheck
OCI_EXPORT int OCI_API OCI_IntervalCheck(OCI_Interval *itv)
Check if the given interval is valid.
OCI_StatementGetConnection
OCI_EXPORT OCI_Connection *OCI_API OCI_StatementGetConnection(OCI_Statement *stmt)
Return the connection handle associated with a statement handle.
OCI_QueueTableDrop
OCI_EXPORT boolean OCI_API OCI_QueueTableDrop(OCI_Connection *con, const otext *queue_table, boolean force)
Drop the given queue table.
OCI_GetTimestamp
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_BindLong
OCI_EXPORT boolean OCI_API OCI_BindLong(OCI_Statement *stmt, const otext *name, OCI_Long *data, unsigned int size)
Bind a Long variable.
OCI_GetBindCount
OCI_EXPORT unsigned int OCI_API OCI_GetBindCount(OCI_Statement *stmt)
Return the number of binds currently associated to a statement.
OCI_DequeueListen
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_MsgSetPriority
OCI_EXPORT boolean OCI_API OCI_MsgSetPriority(OCI_Msg *msg, int value)
Set the priority of the message.
OCI_MsgGetEnqueueDelay
OCI_EXPORT int OCI_API OCI_MsgGetEnqueueDelay(OCI_Msg *msg)
Return the number of seconds that a message is delayed for dequeuing.
OCI_ColumnGetTypeInfo
OCI_EXPORT OCI_TypeInfo *OCI_API OCI_ColumnGetTypeInfo(OCI_Column *col)
Return the type information object associated to the column.
OCI_PoolGetTimeout
OCI_EXPORT unsigned int OCI_API OCI_PoolGetTimeout(OCI_Pool *pool)
Get the idle timeout for connections/sessions in the pool.
OCI_RegisterTimestamp
OCI_EXPORT boolean OCI_API OCI_RegisterTimestamp(OCI_Statement *stmt, const otext *name, unsigned int type)
Register a timestamp output bind placeholder.
OCI_ObjectGetFile
OCI_EXPORT OCI_File *OCI_API OCI_ObjectGetFile(OCI_Object *obj, const otext *attr)
Return the file value of the given object attribute.
OCI_ObjectGetInterval
OCI_EXPORT OCI_Interval *OCI_API OCI_ObjectGetInterval(OCI_Object *obj, const otext *attr)
Return the interval value of the given object attribute.
OCI_IntervalFree
OCI_EXPORT boolean OCI_API OCI_IntervalFree(OCI_Interval *itv)
Free an OCI_Interval handle.
OCI_DirPathSave
OCI_EXPORT boolean OCI_API OCI_DirPathSave(OCI_DirPath *dp)
Execute a data save-point (server side)
OCI_BindSetNotNull
OCI_EXPORT boolean OCI_API OCI_BindSetNotNull(OCI_Bind *bnd)
Set the bind variable to NOT null.
OCI_MsgSetEnqueueDelay
OCI_EXPORT boolean OCI_API OCI_MsgSetEnqueueDelay(OCI_Msg *msg, int value)
set the number of seconds to delay the enqueued message
OCI_DateGetDate
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_TimestampFromCTime
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_ColumnGetSize
OCI_EXPORT unsigned int OCI_API OCI_ColumnGetSize(OCI_Column *col)
Return the size of the column.
OCI_TransactionStart
OCI_EXPORT boolean OCI_API OCI_TransactionStart(OCI_Transaction *trans)
Start global transaction.
OCI_BindGetAllocationMode
OCI_EXPORT unsigned int OCI_API OCI_BindGetAllocationMode(OCI_Bind *bnd)
Get the allocaton mode of a bind handle.
OCI_GetColumnIndex
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_BindColl
OCI_EXPORT boolean OCI_API OCI_BindColl(OCI_Statement *stmt, const otext *name, OCI_Coll *data)
Bind a Collection variable.
OCI_LongWrite
OCI_EXPORT unsigned int OCI_API OCI_LongWrite(OCI_Long *lg, void *buffer, unsigned int len)
Write a buffer into a Long.
OCI_Coll
struct OCI_Coll OCI_Coll
Oracle Collections (VARRAYs and Nested Tables) representation.
Definition: ocilib.h:618
OCI_QueueDrop
OCI_EXPORT boolean OCI_API OCI_QueueDrop(OCI_Connection *con, const otext *queue_name)
Drop the given queue.
OCI_ColumnGetPrecision
OCI_EXPORT int OCI_API OCI_ColumnGetPrecision(OCI_Column *col)
Return the precision of the column for numeric columns.
OCI_GetServerName
OCI_EXPORT const otext *OCI_API OCI_GetServerName(OCI_Connection *con)
Return the Oracle server machine name of the connected database/service name.
OCI_DequeueUnsubscribe
OCI_EXPORT boolean OCI_API OCI_DequeueUnsubscribe(OCI_Dequeue *dequeue)
Unsubscribe for asynchronous messages notifications.
OCI_TransactionStop
OCI_EXPORT boolean OCI_API OCI_TransactionStop(OCI_Transaction *trans)
Stop current global transaction.
OCI_HandleGetFile
OCI_EXPORT const void *OCI_API OCI_HandleGetFile(OCI_File *file)
Return the OCI LobLocator Handle (OCILobLocator *) of an OCILIB OCI_File object.
OCI_NumberFromText
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_BindArrayOfNumbers
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_DirPathGetCurrentRows
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_MsgSetCorrelation
OCI_EXPORT boolean OCI_API OCI_MsgSetCorrelation(OCI_Msg *msg, const otext *correlation)
set the correlation identifier of the message
OCI_ErrorGetRow
OCI_EXPORT unsigned int OCI_API OCI_ErrorGetRow(OCI_Error *err)
Return the row index which caused an error during statement execution.
OCI_ElemFree
OCI_EXPORT boolean OCI_API OCI_ElemFree(OCI_Elem *elem)
Free a local collection element.
OCI_AgentGetName
OCI_EXPORT const otext *OCI_API OCI_AgentGetName(OCI_Agent *agent)
Get the given AQ agent name.
OCI_DirPathCreate
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_LobSeek
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_BindArrayOfObjects
OCI_EXPORT boolean OCI_API OCI_BindArrayOfObjects(OCI_Statement *stmt, const otext *name, OCI_Object **data, OCI_TypeInfo *typinf, unsigned int nbelem)
Bind an array of object handles.
OCI_Elem
struct OCI_Elem OCI_Elem
Oracle Collection item representation.
Definition: ocilib.h:628
OCI_DirPathFlushRow
OCI_EXPORT boolean OCI_API OCI_DirPathFlushRow(OCI_DirPath *dp)
Flushes a partially loaded row from server.
OCI_ElemSetTimestamp
OCI_EXPORT boolean OCI_API OCI_ElemSetTimestamp(OCI_Elem *elem, OCI_Timestamp *value)
Assign a Timestamp handle to a collection element.
OCI_Initialize
OCI_EXPORT boolean OCI_API OCI_Initialize(POCI_ERROR err_handler, const otext *lib_path, unsigned int mode)
Initialize the library.
OCI_GetSql
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_ObjectGetNumber
OCI_EXPORT OCI_Number *OCI_API OCI_ObjectGetNumber(OCI_Object *obj, const otext *attr)
Return the number value of the given object attribute.
OCI_GetColl2
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_ObjectSetString
OCI_EXPORT boolean OCI_API OCI_ObjectSetString(OCI_Object *obj, const otext *attr, const otext *value)
Set an object attribute of type string.
OCI_ElemGetUnsignedBigInt
OCI_EXPORT big_uint OCI_API OCI_ElemGetUnsignedBigInt(OCI_Elem *elem)
Return the unsigned big int value of the given collection element.
OCI_PoolGetMin
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_TimestampArrayCreate
OCI_EXPORT OCI_Timestamp **OCI_API OCI_TimestampArrayCreate(OCI_Connection *con, unsigned int type, unsigned int nbelem)
Create an array of timestamp object.
OCI_FileArrayFree
OCI_EXPORT boolean OCI_API OCI_FileArrayFree(OCI_File **files)
Free an array of file objects.
OCI_HashGetInt
OCI_EXPORT int OCI_API OCI_HashGetInt(OCI_HashTable *table, const otext *key)
Return the integer value associated to the given key.
OCI_MsgGetAttemptCount
OCI_EXPORT int OCI_API OCI_MsgGetAttemptCount(OCI_Msg *msg)
Return the number of attempts that have been made to dequeue the message.
OCI_ElemSetShort
OCI_EXPORT boolean OCI_API OCI_ElemSetShort(OCI_Elem *elem, short value)
Set a short value to a collection element.
OCI_Object
struct OCI_Object OCI_Object
Oracle Named types representation.
Definition: ocilib.h:608
OCI_BindGetDataCount
OCI_EXPORT unsigned int OCI_API OCI_BindGetDataCount(OCI_Bind *bnd)
Return the number of elements of the bind handle.
OCI_MutexCreate
OCI_EXPORT OCI_Mutex *OCI_API OCI_MutexCreate(void)
Create a Mutex object.
OCI_LongCreate
OCI_EXPORT OCI_Long *OCI_API OCI_LongCreate(OCI_Statement *stmt, unsigned int type)
Create a local temporary Long instance.
OCI_IntervalAssign
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_IntervalCompare
OCI_EXPORT int OCI_API OCI_IntervalCompare(OCI_Interval *itv, OCI_Interval *itv2)
Compares two interval handles.
OCI_BindArrayOfBigInts
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_ElemGetTimestamp
OCI_EXPORT OCI_Timestamp *OCI_API OCI_ElemGetTimestamp(OCI_Elem *elem)
Return the Timestamp value of the given collection element.
OCI_TimestampToCTime
OCI_EXPORT boolean OCI_API OCI_TimestampToCTime(OCI_Timestamp *tmsp, struct tm *ptm, time_t *pt)
Affect an OCI_Timestamp handle value to ISO C time data types.
OCI_Column
struct OCI_Column OCI_Column
Oracle SQL Column and Type member representation.
Definition: ocilib.h:474
OCI_IterGetNext
OCI_EXPORT OCI_Elem *OCI_API OCI_IterGetNext(OCI_Iter *iter)
Get the next element in the collection.
OCI_GetDefaultLobPrefetchSize
OCI_EXPORT unsigned int OCI_API OCI_GetDefaultLobPrefetchSize(OCI_Connection *con)
Return the default LOB prefetch buffer size for the connection.
OCI_LobFree
OCI_EXPORT boolean OCI_API OCI_LobFree(OCI_Lob *lob)
Free a local temporary lob.
OCI_ColumnGetType
OCI_EXPORT unsigned int OCI_API OCI_ColumnGetType(OCI_Column *col)
Return the type of the given column.
OCI_GetObject
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_TimestampGetTimeZoneOffset
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_BindSetNull
OCI_EXPORT boolean OCI_API OCI_BindSetNull(OCI_Bind *bnd)
Set the bind variable to null.
OCI_IterFree
OCI_EXPORT boolean OCI_API OCI_IterFree(OCI_Iter *iter)
Free an iterator handle.
OCI_EnqueuePut
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_TransactionResume
OCI_EXPORT boolean OCI_API OCI_TransactionResume(OCI_Transaction *trans)
Resume a stopped global transaction.
OCI_GetSqlErrorPos
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_QueueStop
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_LobAppendLob
OCI_EXPORT boolean OCI_API OCI_LobAppendLob(OCI_Lob *lob, OCI_Lob *lob_src)
Append a source LOB at the end of a destination LOB.
OCI_Iter
struct OCI_Iter OCI_Iter
Oracle Collection iterator representation.
Definition: ocilib.h:637
OCI_MsgSetExceptionQueue
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_NumberArrayFree
OCI_EXPORT boolean OCI_API OCI_NumberArrayFree(OCI_Number **numbers)
Free an array of number objects.
OCI_RegisterInterval
OCI_EXPORT boolean OCI_API OCI_RegisterInterval(OCI_Statement *stmt, const otext *name, unsigned int type)
Register an interval output bind placeholder.
OCI_Error
struct OCI_Error OCI_Error
Encapsulates an Oracle or OCILIB exception.
Definition: ocilib.h:689
OCI_HashGetType
OCI_EXPORT unsigned int OCI_API OCI_HashGetType(OCI_HashTable *table)
Return the type of the hash table.
OCI_Parse
OCI_EXPORT boolean OCI_API OCI_Parse(OCI_Statement *stmt, const otext *sql)
Parse a SQL statement or PL/SQL block.
OCI_IntervalSetYearMonth
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_ErrorGetStatement
OCI_EXPORT OCI_Statement *OCI_API OCI_ErrorGetStatement(OCI_Error *err)
Retrieve statement handle within the error occurred.
OCI_HandleGetThread
OCI_EXPORT const void *OCI_API OCI_HandleGetThread(OCI_Thread *thread)
Return OCI Thread handle (OCIThreadHandle *) of an OCILIB OCI_Thread object.
OCI_SetFetchMode
OCI_EXPORT boolean OCI_API OCI_SetFetchMode(OCI_Statement *stmt, unsigned int mode)
Set the fetch mode of a SQL statement.
OCI_GetNumber2
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_BindArrayOfColls
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_DirPathSetDateFormat
OCI_EXPORT boolean OCI_API OCI_DirPathSetDateFormat(OCI_DirPath *dp, const otext *format)
Set the default date format string for input conversion.
OCI_DateToCTime
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_DequeueSetRelativeMsgID
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_RegisterRaw
OCI_EXPORT boolean OCI_API OCI_RegisterRaw(OCI_Statement *stmt, const otext *name, unsigned int len)
Register an raw output bind placeholder.
OCI_DirPathFinish
OCI_EXPORT boolean OCI_API OCI_DirPathFinish(OCI_DirPath *dp)
Terminate a direct path operation and commit changes into the database.
OCI_EnqueueFree
OCI_EXPORT boolean OCI_API OCI_EnqueueFree(OCI_Enqueue *enqueue)
Free a Enqueue object.
OCI_HashLookup
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_RefAssign
OCI_EXPORT boolean OCI_API OCI_RefAssign(OCI_Ref *ref, OCI_Ref *ref_src)
Assign a Ref to another one.
OCI_GetTrace
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_MsgCreate
OCI_EXPORT OCI_Msg *OCI_API OCI_MsgCreate(OCI_TypeInfo *typinf)
Create a message object based on the given payload type.
OCI_AgentSetAddress
OCI_EXPORT boolean OCI_API OCI_AgentSetAddress(OCI_Agent *agent, const otext *address)
Set the given AQ agent address.
OCI_LobFlush
OCI_EXPORT boolean OCI_API OCI_LobFlush(OCI_Lob *lob)
Flush Lob content to the server.
OCI_GetLob
OCI_EXPORT OCI_Lob *OCI_API OCI_GetLob(OCI_Resultset *rs, unsigned int index)
Return the current lob value of the column at the given index in the resultset.
OCI_Event
struct OCI_Event OCI_Event
OCILIB encapsulation of Oracle DCN event.
Definition: ocilib.h:739
OCI_BindUnsignedShort
OCI_EXPORT boolean OCI_API OCI_BindUnsignedShort(OCI_Statement *stmt, const otext *name, unsigned short *data)
Bind an unsigned short variable.
OCI_SubscriptionRegister
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_ElemGetRef
OCI_EXPORT OCI_Ref *OCI_API OCI_ElemGetRef(OCI_Elem *elem)
Return the Ref value of the given collection element.
OCI_RegisterFloat
OCI_EXPORT boolean OCI_API OCI_RegisterFloat(OCI_Statement *stmt, const otext *name)
Register a float output bind placeholder.
OCI_NumberMultiply
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_RefArrayCreate
OCI_EXPORT OCI_Ref **OCI_API OCI_RefArrayCreate(OCI_Connection *con, OCI_TypeInfo *typinf, unsigned int nbelem)
Create an array of Ref object.
OCI_ElemSetFloat
OCI_EXPORT boolean OCI_API OCI_ElemSetFloat(OCI_Elem *elem, float value)
Set a float value to a collection element.
OCI_HandleGetTransaction
OCI_EXPORT const void *OCI_API OCI_HandleGetTransaction(OCI_Transaction *trans)
Return the OCI Transaction Handle (OCITrans *) of an OCILIB OCI_Transaction object.
OCI_ObjectGetRawSize
OCI_EXPORT unsigned int OCI_API OCI_ObjectGetRawSize(OCI_Object *obj, const otext *attr)
Return the raw attribute value size of the given object attribute into the given buffer.
OCI_Lob
struct OCI_Lob OCI_Lob
Oracle Internal Large objects:
Definition: ocilib.h:497
OCI_BindRef
OCI_EXPORT boolean OCI_API OCI_BindRef(OCI_Statement *stmt, const otext *name, OCI_Ref *data)
Bind a Ref variable.
OCI_HandleGetDirPathColArray
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_FileIsEqual
OCI_EXPORT boolean OCI_API OCI_FileIsEqual(OCI_File *file, OCI_File *file2)
Compare two file handle for equality.
OCI_Cleanup
OCI_EXPORT boolean OCI_API OCI_Cleanup(void)
Clean up all resources allocated by the library.
OCI_HandleGetRef
OCI_EXPORT const void *OCI_API OCI_HandleGetRef(OCI_Ref *ref)
Return OCI Ref Handle (OCIRef *) of an OCILIB OCI_Ref object.
OCI_HandleGetInterval
OCI_EXPORT const void *OCI_API OCI_HandleGetInterval(OCI_Interval *itv)
Return OCI Interval Handle (OCIInterval *) of an OCILIB OCI_Interval object.
OCI_BindGetType
OCI_EXPORT unsigned int OCI_API OCI_BindGetType(OCI_Bind *bnd)
Return the OCILIB type of the given bind.
OCI_NumberCreate
OCI_EXPORT OCI_Number *OCI_API OCI_NumberCreate(OCI_Connection *con)
Create a local number object.
OCI_PoolCreate
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_BindNumber
OCI_EXPORT boolean OCI_API OCI_BindNumber(OCI_Statement *stmt, const otext *name, OCI_Number *data)
Bind an Number variable.
OCI_TimestampConvert
OCI_EXPORT boolean OCI_API OCI_TimestampConvert(OCI_Timestamp *tmsp, OCI_Timestamp *tmsp_src)
Convert one timestamp value from one type to another.