All OCI headers, datatypes, prototypes are imported internally (linkage or runtime import).
OCILIB public interface exposes only ISO C scalar types and OCILIB objects
OCI is a wide and rich API that can deals with hundreds of options !
OCILIB tries to implements most of it. But, sometimes in really specific contexts, it might be necessary to directly call OCI APIs in order to use uncovered OCI functionalities or options
OCILIB proposes now a set of functions to retrieve its internal OCI handles
Functions | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetEnvironment (void) |
Return the OCI Environment Handle (OCIEnv *) of OCILIB library. | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetContext (OCI_Connection *con) |
Return the OCI Context Handle (OCISvcCtx *) of an OCILIB OCI_Connection object. | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetServer (OCI_Connection *con) |
Return the OCI Server Handle (OCIServer *) of an OCILIB OCI_Connection object. | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetError (OCI_Connection *con) |
Return the OCI Error Handle (OCIError *) of an OCILIB OCI_Connection object. | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetSession (OCI_Connection *con) |
Return the OCI Session Handle (OCISession *) of an OCILIB OCI_Connection object. | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetTransaction (OCI_Transaction *trans) |
Return the OCI Trasanction Handle (OCITrans *) of an OCILIB OCI_Transaction object. | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetStatement (OCI_Statement *stmt) |
Return the OCI Statement Handle (OCIStmt *) of an OCILIB OCI_Statement object. | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetLob (OCI_Lob *lob) |
Return the OCI LobLocator Handle (OCILobLocator *) of an OCILIB OCI_Lob object. | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetFile (OCI_File *file) |
Return the OCI LobLocator Handle (OCILobLocator *) of an OCILIB OCI_File object. | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetDate (OCI_Date *date) |
Return the OCI Date Handle (OCIDate *) of an OCILIB OCI_Date object. | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetTimestamp (OCI_Timestamp *tmsp) |
Return the OCI Datetime Handle (OCIDatetime *) of an OCILIB OCI_Timestamp object. | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetInterval (OCI_Interval *itv) |
Return OCI Interval Handle (OCIInterval *) of an OCILIB OCI_Interval object. | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetObject (OCI_Object *obj) |
Return OCI Object Handle (void *) of an OCILIB OCI_Object object. | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetColl (OCI_Coll *coll) |
Return OCI Collection Handle (OCIColl *) of an OCILIB OCI_Coll object. | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetRef (OCI_Ref *ref) |
Return OCI Ref Handle (OCIRef *) of an OCILIB OCI_Ref object. | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetMutex (OCI_Mutex *mutex) |
Return OCI Mutex handle (OCIThreadMutex *) of an OCILIB OCI_Mutex object. | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetThreadID (OCI_Thread *thread) |
Return OCI Thread ID (OCIThreadId *) of an OCILIB OCI_Thread object. | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetThread (OCI_Thread *thread) |
Return OCI Thread handle (OCIThreadHandle *) of an OCILIB OCI_Thread object. | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetDirPathCtx (OCI_DirPath *dp) |
Return OCI DirectPath Context handle (OCIDirPathCtx *) of an OCILIB OCI_DirPath object. | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetDirPathColArray (OCI_DirPath *dp) |
Return OCI DirectPath Column array handle (OCIDirPathColArray *) of an OCILIB OCI_DirPath object. | |
OCI_EXPORT const void *OCI_API | OCI_HandleGetDirPathStream (OCI_DirPath *dp) |
Return OCI DirectPath Stream handle (OCIDirPathStream *) of an OCILIB OCI_DirPath object. |
OCI_EXPORT const void* OCI_API OCI_HandleGetColl | ( | OCI_Coll * | coll | ) |
Return OCI Collection Handle (OCIColl *) of an OCILIB OCI_Coll object.
coll | - Collection handle |
Definition at line 210 of file handle.c.
References OCI_Coll::handle.
OCI_EXPORT const void* OCI_API OCI_HandleGetContext | ( | OCI_Connection * | con | ) |
Return the OCI Context Handle (OCISvcCtx *) of an OCILIB OCI_Connection object.
con | - Connection handle |
Definition at line 54 of file handle.c.
References OCI_Connection::cxt.
OCI_EXPORT const void* OCI_API OCI_HandleGetDate | ( | OCI_Date * | date | ) |
Return the OCI Date Handle (OCIDate *) of an OCILIB OCI_Date object.
date | - Date handle |
Definition at line 158 of file handle.c.
References OCI_Date::handle.
OCI_EXPORT const void* OCI_API OCI_HandleGetDirPathColArray | ( | OCI_DirPath * | dp | ) |
Return OCI DirectPath Column array handle (OCIDirPathColArray *) of an OCILIB OCI_DirPath object.
dp | - DirectPath handle |
Definition at line 288 of file handle.c.
References OCI_DirPath::arr.
OCI_EXPORT const void* OCI_API OCI_HandleGetDirPathCtx | ( | OCI_DirPath * | dp | ) |
Return OCI DirectPath Context handle (OCIDirPathCtx *) of an OCILIB OCI_DirPath object.
dp | - DirectPath handle |
Definition at line 275 of file handle.c.
References OCI_DirPath::ctx.
OCI_EXPORT const void* OCI_API OCI_HandleGetDirPathStream | ( | OCI_DirPath * | dp | ) |
Return OCI DirectPath Stream handle (OCIDirPathStream *) of an OCILIB OCI_DirPath object.
dp | - DirectPath handle |
Definition at line 301 of file handle.c.
References OCI_DirPath::strm.
OCI_EXPORT const void* OCI_API OCI_HandleGetEnvironment | ( | void | ) |
OCI_EXPORT const void* OCI_API OCI_HandleGetError | ( | OCI_Connection * | con | ) |
Return the OCI Error Handle (OCIError *) of an OCILIB OCI_Connection object.
con | - Connection handle |
Definition at line 80 of file handle.c.
References OCI_Connection::err.
OCI_EXPORT const void* OCI_API OCI_HandleGetFile | ( | OCI_File * | file | ) |
Return the OCI LobLocator Handle (OCILobLocator *) of an OCILIB OCI_File object.
file | - File handle |
Definition at line 145 of file handle.c.
References OCI_File::handle.
OCI_EXPORT const void* OCI_API OCI_HandleGetInterval | ( | OCI_Interval * | itv | ) |
Return OCI Interval Handle (OCIInterval *) of an OCILIB OCI_Interval object.
itv | - Interval handle |
Definition at line 184 of file handle.c.
References OCI_Interval::handle.
OCI_EXPORT const void* OCI_API OCI_HandleGetLob | ( | OCI_Lob * | lob | ) |
Return the OCI LobLocator Handle (OCILobLocator *) of an OCILIB OCI_Lob object.
lob | - Lob handle |
Definition at line 132 of file handle.c.
References OCI_Lob::handle.
OCI_EXPORT const void* OCI_API OCI_HandleGetMutex | ( | OCI_Mutex * | mutex | ) |
Return OCI Mutex handle (OCIThreadMutex *) of an OCILIB OCI_Mutex object.
mutex | - Mutex handle |
Definition at line 236 of file handle.c.
References OCI_Mutex::handle.
OCI_EXPORT const void* OCI_API OCI_HandleGetObject | ( | OCI_Object * | obj | ) |
Return OCI Object Handle (void *) of an OCILIB OCI_Object object.
obj | - Object handle |
Definition at line 197 of file handle.c.
References OCI_Object::handle.
OCI_EXPORT const void* OCI_API OCI_HandleGetRef | ( | OCI_Ref * | ref | ) |
Return OCI Ref Handle (OCIRef *) of an OCILIB OCI_Ref object.
ref | - Ref handle |
Definition at line 223 of file handle.c.
References OCI_Ref::handle.
OCI_EXPORT const void* OCI_API OCI_HandleGetServer | ( | OCI_Connection * | con | ) |
Return the OCI Server Handle (OCIServer *) of an OCILIB OCI_Connection object.
con | - Connection handle |
Definition at line 67 of file handle.c.
References OCI_Connection::svr.
OCI_EXPORT const void* OCI_API OCI_HandleGetSession | ( | OCI_Connection * | con | ) |
Return the OCI Session Handle (OCISession *) of an OCILIB OCI_Connection object.
con | - Connection handle |
Definition at line 93 of file handle.c.
References OCI_Connection::ses.
OCI_EXPORT const void* OCI_API OCI_HandleGetStatement | ( | OCI_Statement * | stmt | ) |
Return the OCI Statement Handle (OCIStmt *) of an OCILIB OCI_Statement object.
stmt | - Statement handle |
Definition at line 119 of file handle.c.
References OCI_Statement::stmt.
OCI_EXPORT const void* OCI_API OCI_HandleGetThread | ( | OCI_Thread * | thread | ) |
Return OCI Thread handle (OCIThreadHandle *) of an OCILIB OCI_Thread object.
thread | - Thread handle |
Definition at line 262 of file handle.c.
References OCI_Thread::handle.
OCI_EXPORT const void* OCI_API OCI_HandleGetThreadID | ( | OCI_Thread * | thread | ) |
Return OCI Thread ID (OCIThreadId *) of an OCILIB OCI_Thread object.
thread | - Thread handle |
Definition at line 249 of file handle.c.
References OCI_Thread::id.
OCI_EXPORT const void* OCI_API OCI_HandleGetTimestamp | ( | OCI_Timestamp * | tmsp | ) |
Return the OCI Datetime Handle (OCIDatetime *) of an OCILIB OCI_Timestamp object.
tmsp | - Timesstamp handle |
Definition at line 171 of file handle.c.
References OCI_Timestamp::handle.
OCI_EXPORT const void* OCI_API OCI_HandleGetTransaction | ( | OCI_Transaction * | trans | ) |
Return the OCI Trasanction Handle (OCITrans *) of an OCILIB OCI_Transaction object.
trans | - Trasanction handle |
Definition at line 106 of file handle.c.
References OCI_Transaction::htr.