/patches/qt/databases-x86_64/oci/include/oci.h

https://github.com/ivn/Qt-builds · C++ Header · 3066 lines · 1674 code · 416 blank · 976 comment · 0 complexity · a2d30940e61ae0d54f479b2a89785769 MD5 · raw file

Large files are truncated click here to view the full file

  1. /* Copyright (c) 1995, 2011, Oracle and/or its affiliates.
  2. All rights reserved. */
  3. /*
  4. NAME
  5. oci.h - V8 Oracle Call Interface public definitions
  6. DESCRIPTION
  7. This file defines all the constants and structures required by a V8
  8. OCI programmer.
  9. RELATED DOCUMENTS
  10. V8 OCI Functional Specification
  11. Oracle Call Interface Programmer's Guide Vol 1 and 2
  12. INSPECTION STATUS
  13. Inspection date:
  14. Inspection status:
  15. Estimated increasing cost defects per page:
  16. Rule sets:
  17. ACCEPTANCE REVIEW STATUS
  18. Review date:
  19. Review status:
  20. Reviewers:
  21. PUBLIC FUNCTION(S)
  22. None
  23. PRIVATE FUNCTION(S)
  24. None
  25. EXAMPLES
  26. NOTES
  27. MODIFIED (MM/DD/YY)
  28. umabhat 05/29/11 - Backport umabhat_bug-10209825 from main
  29. slari 03/24/11 - add OCI_ATTR_RESERVED_438 and OCI_ATTR_RESERVED_439
  30. rphillip 09/28/10 - Bug 9835605: recnum changes
  31. rphillip 08/03/09 - Bug 8720046: add OCI_ATTR_DIRPATH_USE_ACTIVE_TRANS
  32. mbastawa 03/15/10 - add OCI_FETCH_RESERVED_6
  33. ebatbout 12/28/09 - 8465341: Add OCI_ATTR_DIRPATH_RESERVED_22
  34. ssahu 04/15/09 - Add user handle as an attribute to session pool
  35. handle
  36. dalpern 03/17/09 - bug 7646876: applying_crossedition_trigger
  37. kneel 11/21/08 - bump OCI version to 11.2
  38. thoang 09/24/08 - include ocixstream.h
  39. asohi 08/25/08 - Bug 7320582 : AQ dequeue navigation flags fix
  40. thoang 08/04/08 - Add XStream attributes
  41. msowdaga 07/23/08 - Add flag OCI_SESSGET_SYSDBA
  42. rphillip 03/21/08 - Add partition memory attribute
  43. nikeda 04/15/08 - Support OCIP_ATTR_CONTYPE
  44. mbastawa 12/24/07 - add server, envhp attributes
  45. slynn 03/18/08 -
  46. amullick 02/11/08 - add support for OCILobGet/SetContentType
  47. tbhosle 01/07/08 - add OCI_ATTR_SUBSCR_IPADDR
  48. nikeda 12/19/07 - Add OCI_SUBSCR_QOS_HAREG
  49. rphillip 10/22/07 - Add OCI_ATTR_DIRPATH_NO_INDEX_ERRORS
  50. debanerj 12/14/07 - Added OCI_ATTR_RESERVED_38 and OCI_ATTR_RESERVED_39
  51. umabhat 09/20/07 - bug6119750 added OCI_FNCODE_APPCTXSET &
  52. OCI_FNCODE_APPCTXCLEARALL
  53. debanerj 04/10/07 - XDS Attributes
  54. msakayed 05/24/07 - Bug #5095734: add OCI_ATTR_DIRPATH_RESERVED_19
  55. schoi 03/02/07 - Get/SetOptions API change
  56. ebatbout 03/30/07 - 5598333: Add OCI_ATTR_DIRPATH_RESERVED_18
  57. nikeda 03/21/07 - Add OCI_ATTR_RESERVED_37
  58. abande 03/06/07 - Remove attributes for global stmt cache and
  59. metadata cache
  60. rphillip 02/20/07 - Add OCI_ATTR_DIRPATH_RESERVED_17
  61. shan 11/16/06 - bug 5595911.
  62. msakayed 12/04/06 - Bug #5660845: add OCI_DIRPATH_INPUT_OCI
  63. gviswana 10/26/06 - Remove OCI_ATTR_CURRENT_EDITION
  64. maramali 09/29/06 - bug 5568492, added OCI_NLS_LOCALE_A2_ISO_2_ORA
  65. gviswana 09/29/06 - CURRENT_EDITION -> EDITION
  66. aramappa 09/20/06 - Update major and minor version information
  67. slynn 07/28/06 - Migrate to new 11g LOB terminiology
  68. debanerj 07/20/06 - Add OCI_ATTR_LOBPREFETCH_LENGTH
  69. mbastawa 06/25/06 - add OCI_ATTR_RESERVED_36
  70. hqian 05/22/06 - 11gR1 proj-18303: add OCI_SYSASM
  71. dkogan 04/06/06 - disable charset validation by default
  72. jhealy 05/15/06 - Add TimesTen OCI adapter.
  73. slynn 06/20/06 - GetSharedRegions
  74. rthammai 06/13/06 - add reserved attribute
  75. msakayed 06/15/06 - Project 20586: interval partitioning support
  76. debanerj 10/25/05 - LOB prefetch
  77. slynn 05/25/06 - New NG Lob Functionality.
  78. yujwang 05/16/06 - Add OCI_ATTR_RESERVED_33, OCI_ATTR_RESERVED_34
  79. abande 04/25/06 - 18297: Add attributes for global stmt cache and
  80. metadata cache
  81. ssvemuri 04/26/06 - Constants for Query Notification support
  82. jgiloni 05/05/06 - Add OCI_ATCH_RESERVED_7
  83. mxyang 02/01/06 - Added OCI_ATTR_CURRENT_EDITION attribute
  84. hqian 05/04/06 - new runtime capability attribute for asm volume
  85. nikeda 06/06/06 - OCI_TT: Add new OCIP attributes
  86. aramappa 04/17/06 - Added OCI_FNCODE_ARRAYDESCRIPTORALLOC and
  87. OCI_FNCODE_ARRAYDESCRIPTORFREE
  88. debanerj 05/04/06 - 18313: OCI Net Fusion
  89. rupsingh 05/26/06 -
  90. jacao 05/11/06 -
  91. absaxena 04/17/06 - add notification grouping attributes
  92. rpingte 02/02/06 - add OCI_ATCH_RESERVED_6
  93. rpingte 04/27/06 - Add OCI_ATTR_DRIVER_NAME
  94. jawilson 02/14/06 - add OCI_FNCODE_AQENQSTREAM
  95. kneel 04/03/06 - Adding support in kjhn for critical severity
  96. rphillip 03/31/06 - Add OCI_ATTR_DIRPATH_RESERVED_14
  97. mxyang 02/01/06 - Added OCI_ATTR_APPLICATION_EDITION attribute
  98. rphillip 01/30/06 - Add new DPAPI attrs
  99. ebatbout 11/03/05 - Add direct path support for multiple subtypes
  100. porangas 02/22/06 - 5055398: Define OCI_STMT_CALL
  101. mbastawa 01/31/06 - add OCI_ATTR_RESERVED_26
  102. yohu 01/27/06 - align Execution Modes macros
  103. sjanardh 01/25/06 - add OCI_EXEC_RESERVED_6
  104. sichandr 01/18/06 - add OCI_ATTR_XMLTYPE_BINARY_XML
  105. yohu 12/22/05 - add OCI_TRANS_PROMOTE
  106. srseshad 09/12/05 - stmtcache: callback
  107. krajan 10/25/05 - Added ENABLE_BEQUEATH attach flag
  108. mbastawa 09/16/05 - dbhygiene
  109. porangas 07/20/04 - 1175350: adding attribute for ognfd
  110. chliang 06/30/05 - add OCI_SUPPRESS_NLS_VALIDATION mode
  111. aahluwal 03/15/05 - [Bug 4235014]:add ASM, Preconnect events
  112. ssappara 08/12/04 - Bug3669429 add OCI_ATTR_DESC_SYNBAS
  113. absaxena 03/24/05 - remove OCI_AQ_RESERVED_5
  114. mbastawa 03/01/05 - add OCI_EXEC_RESERVED_5
  115. msakayed 02/15/05 - Bug #3147299: Add OCI_ATTR_CURRENT_ERRCOL
  116. aahluwal 01/11/05 - [Bug 3944589]: add OCI_AUTH_RESERVED_5
  117. nikeda 11/15/04 - Add OCIP_IIO
  118. rvissapr 11/10/04 - bug 3843644 - isencrypted
  119. hohung 11/22/04 - add OCI_BIND_RESERVED_3
  120. cchui 10/25/04 - add OCI_ATTR_PROXY_CLIENT
  121. aahluwal 09/27/04 - add incarnation, reason, cardinality to event handle
  122. msakayed 09/14/04 - column encryption support (project id 5578)
  123. jacao 08/17/04 - Add OCI_ATTR_DB_CHARSET_ID
  124. mhho 08/29/04 - resolve conflicting mode declaration
  125. sgollapu 05/28/04 - Add OCI_AUTH_RESERVED_3
  126. mbastawa 08/05/04 - add OCI_ATTR_RESERVED_21
  127. ebatbout 07/27/04 - add OCI_ATTR_DIRPATH_RESERVED_9 and move all direct
  128. path attributes into a separate area in this file.
  129. clei 06/29/04 - add OCI_ATTR_ENCC_SIZE
  130. weiwang 05/06/04 - add OCIAQListenOpts and OCIAQLisMsgProps
  131. weiwang 04/30/04 - add OCI_AQ_RESERVED_5
  132. nbhatt 04/27/04 - add new attribute
  133. ssvemuri 06/19/04 - change notification descriptors and attributes
  134. ksurlake 06/01/04 - grabtrans 'ksurlake_txn_skmishra_clone'
  135. ksurlake 05/13/04 - add subscriber handle attributes
  136. mbastawa 06/01/04 - add 3 more OCI_FETCH_RESERVED modes
  137. chliang 05/28/04 - add nchar literal replacement modes
  138. nikeda 05/14/04 - [OLS on RAC] new authentication mode
  139. debanerj 05/17/04 - 13064: add fncodes for LOB array Read and Write
  140. nikeda 05/20/04 - [OCI Events] Add incarnation, cardinality,reason
  141. nikeda 05/18/04 - [OCI Events] Add OCI_ATTR_SERVICENAME
  142. nikeda 05/17/04 - Add event handle
  143. nikeda 05/13/04 - [OCI Events] Rename HACBK->EVTCBK, HACTX->EVTCTX
  144. nikeda 05/10/04 - [OCI Events] code review changes
  145. nikeda 04/15/04 - [OCI Events] OCI_SESSRLS_DROPSESS_FORCE
  146. nikeda 04/12/04 - [OCI Events] Add OCI_ATTR_USER_MEMORY
  147. aahluwal 04/12/04 - add OCI_HNDLFR_RESERVED5
  148. vraja 04/28/04 - add options for redo sync on commit
  149. aahluwal 05/29/04 - [OCI Events]: add support for svc, svc member events
  150. nikeda 05/28/04 - grabtrans 'nikeda_oci_events_copy'
  151. nikeda 05/18/04 - [OCI Events] Add OCI_ATTR_SERVICENAME
  152. nikeda 05/17/04 - Add event handle
  153. nikeda 05/13/04 - [OCI Events] Rename HACBK->EVTCBK, HACTX->EVTCTX
  154. nikeda 05/10/04 - [OCI Events] code review changes
  155. nikeda 04/15/04 - [OCI Events] OCI_SESSRLS_DROPSESS_FORCE
  156. nikeda 04/12/04 - [OCI Events] Add OCI_ATTR_USER_MEMORY
  157. aahluwal 04/12/04 - add OCI_HNDLFR_RESERVED5
  158. jciminsk 04/28/04 - merge from RDBMS_MAIN_SOLARIS_040426
  159. jacao 03/06/04 - add OCI_ATTR_CURRENT_SCHEMA
  160. aahluwal 01/20/04 - remove OCI_KEEP_FETCH_STATE
  161. aahluwal 03/25/04 - [OCI Events] add OCI_HTYPE_HAEVENT and related attrs
  162. nikeda 03/19/04 - [OCI Events] Add OCI_ATTR_HACBK and OCI_ATTR_HACTX
  163. dfrumkin 12/04/03 - Add database startup/shutdown
  164. chliang 12/22/03 - grid/main merge: add OCI_ATTR_RESERVED_20
  165. jciminsk 12/12/03 - merge from RDBMS_MAIN_SOLARIS_031209
  166. sgollapu 09/19/03 - Add fetch modes
  167. sgollapu 07/30/03 - Add TSM attributes
  168. sgollapu 06/26/03 - Add OCI_MUTEX_TRY
  169. aime 06/23/03 - sync grid with main
  170. sgollapu 06/07/03 - Add reserved attribute
  171. sgollapu 06/05/03 - Add reserved auth flag
  172. rpingte 05/22/03 - Add OCI_ATCH_RESERVED_5
  173. sgollapu 05/06/03 - Add TSM attributes
  174. sgollapu 04/10/03 - Session migration Flags/interfaces
  175. dfrumkin 04/23/04 - add OCI_PREP2_RESERVED_1
  176. rpingte 05/06/04 - add major and minor version information
  177. bsinha 04/06/04 - add new OCI_TRANS flag
  178. chliang 11/26/03 - add OCI_ATTR_RESERVED_19
  179. preilly 10/23/03 - Make OCI_ATTR_DIRPATH_METADATA_BUF private
  180. chliang 08/07/03 - add OCI_ATTR_SKIP_BUFFER
  181. srseshad 03/12/03 - convert public oci api to ansi
  182. weiwang 05/14/03 - remove iot creation for rule sets
  183. rkoti 04/15/03 - [2746515] add fntcodes for Unlimited size LOB 6003
  184. tcruanes 05/13/03 - add slave SQL OCI execution mode
  185. rkoti 02/21/03 - [2761455] add OCI_FNCODE_AQENQARRAY,
  186. OCI_FNCODE_AQDEQARRAY and update OCI_FNCODE_MAXFCN
  187. tkeefe 01/29/03 - bug-2773794: Add new interface for setting Kerb attrs
  188. aahluwal 02/06/03 - add OCI_ATTR_TRANSFORMATION_NO
  189. weiwang 12/05/02 - add OCI_ATTR_USER_PROPERTY
  190. ataracha 01/03/03 - include ocixmldb.h
  191. preilly 12/05/02 - Add wait attribute for locking when using dir path
  192. tkeefe 01/03/03 - bug-2623771: Added OCI_ATTR_KERBEROS_KEY
  193. lchidamb 12/13/02 - end-to-end tracing attributes
  194. msakayed 10/28/02 - Bug #2643907: add OCI_ATTR_DIRPATH_SKIPINDEX_METHOD
  195. rphillip 11/13/02 - Add OCIP_ATTR_DIRPATH_INDEX
  196. sagrawal 10/13/02 - liniting
  197. sagrawal 10/03/02 - PL/SQL Compiler warnings
  198. jstenois 11/07/02 - remove ocixad.h
  199. chliang 10/21/02 - add OCI_ATTR_RESERVED_16,17
  200. hsbedi 10/30/02 - grabtrans 'jstenois_fix_xt_convert'
  201. aahluwal 10/12/02 - add OCI_ATTR_AQ_NUM_E_ERRORS/OCI_ATTR_AQ_ERROR_INDEX
  202. bdagevil 10/21/02 - add SQL analyze internal exec mode
  203. csteinba 10/11/02 - add OCI_ATTR_RESERVED_16
  204. chliang 10/12/02 - add bind row callback attributes
  205. preilly 10/25/02 - Add new reserved parameters
  206. tkeefe 10/31/02 - bug-2623771: Added OCI_ATTR_AUDIT_SESSION_ID
  207. csteinba 10/04/02 - Add OCI_ATTR_RESERVED_15
  208. mhho 10/11/02 - add new credential constant
  209. thoang 09/25/02 - Add OCI_XMLTYPE_CREATE_CLOB
  210. skaluska 10/07/02 - describe rules objects
  211. csteinba 09/16/02 - Remove OCI_CACHE
  212. gtarora 10/03/02 - OCI_ATTR_COL_SUBS => OCI_ATTR_OBJ_SUBS
  213. msakayed 09/09/02 - Bug #2482469: add OCI_ATTR_DIRPATH_RESERVED_[3-6]
  214. aahluwal 08/30/02 - adding dequeue across txn group
  215. srseshad 04/24/02 - Add attribute OCI_ATTR_SPOOL_STMTCACHESIZE.
  216. ebatbout 07/22/02 - Remove OCI_ATTR_RESERVED_11.
  217. abande 01/17/02 - Bug 1788921; Add external attribute.
  218. aahluwal 06/04/02 - bug 2360115
  219. pbagal 05/24/02 - Incorporate review comments
  220. pbagal 05/22/02 - Introduce instance type attribute.
  221. whe 07/01/02 - add OCI_BIND_DEFINE_SOFT flags
  222. gtarora 07/01/02 - Add OCI_ATTR_COL_SUBS
  223. tkeefe 05/30/02 - Add support for new proxy authentication credentials
  224. dgprice 12/18/01 - bug 2102779 add reserved force describe
  225. schandir 11/19/01 - add/modify modes.
  226. schandir 11/15/01 - add OCI_SPC_STMTCACHE.
  227. schandir 12/06/01 - change mode value of OCI_SPOOL.
  228. msakayed 11/02/01 - Bug #2094292: add OCI_ATTR_DIRPATH_INPUT
  229. dsaha 11/09/01 - add OCI_DTYPE_RESERVED1
  230. skabraha 11/05/01 - new method flag
  231. skabraha 10/25/01 - another flag for XML
  232. skabraha 10/11/01 - describe flags for subtypes
  233. nbhatt 09/18/01 - new reserved AQ flags
  234. celsbern 10/19/01 - merge LOG to MAIN
  235. ksurlake 10/12/01 - add OCI_ATTR_RESERVED_13
  236. ksurlake 08/13/01 - add OCI_ATTR_RESERVED_12
  237. schandir 09/24/01 - Adding stmt caching
  238. abande 09/04/01 - Adding session pooling
  239. sagrawal 10/23/01 - add new bit for OCIPHandleFree
  240. preilly 10/25/01 - Add support for specifying metadata on DirPathCtx
  241. skabraha 09/24/01 - describe flags for XML type
  242. schandir 09/24/01 - Adding stmt caching
  243. abande 09/04/01 - Adding session pooling
  244. stakeda 09/17/01 - add OCI_NLS_CHARSET_ID
  245. whe 09/19/01 - add OCIXMLType create options
  246. rpingte 09/11/01 - add OCI_MUTEX_ENV_ONLY and OCI_NO_MUTEX_STMT
  247. cmlim 08/28/01 - mod datecache attrs to use same naming as dpapi attrs
  248. wzhang 08/24/01 - Add new keywords for OCINlsNameMap.
  249. rphillip 05/02/01 - Add date cache attributes
  250. rphillip 08/22/01 - Add new stream version
  251. ebatbout 04/13/01 - add definition, OCI_ATTR_RESERVED_11
  252. chliang 04/12/01 - add shortnames for newer oci funcation
  253. wzhang 04/11/01 - Add new OCI NLS constants.
  254. cmlim 04/13/01 - remove attrs not used by dpapi (151 & 152 avail)
  255. rkambo 03/23/01 - bugfix 1421793
  256. cmlim 04/02/01 - remove OCI_ATTR_DIRPATH_{NESTED_TBL, SUBST_OBJ_TBL}
  257. - note: attribute #s 186 & 205 available
  258. whe 03/28/01 - add OCI_AFC_PAD_ON/OFF mode
  259. preilly 03/05/01 - Add stream versioning support to DirPath context
  260. schandir 12/18/00 - remove attr CONN_INCR_DELAY.
  261. schandir 12/12/00 - change mode from OCI_POOL to OCI_CPOOL.
  262. cbarclay 01/12/01 - add atribute for OCIP_ATTR_TMZ
  263. whe 01/07/01 - add attributes related to UTF16 env mode
  264. slari 12/29/00 - add blank line
  265. slari 12/28/00 - OCI_ATTR_RESERVED_10
  266. whe 12/19/00 - add OCI_ENVCR_RESERVED3
  267. rpang 11/29/00 - Added OCI_ATTR_ORA_DEBUG_JDWP attribute
  268. cmlim 11/28/00 - support substitutable object tables in dpapi
  269. akatti 10/09/00 - [198379]:add OCIRowidToChar
  270. sgollapu 10/11/00 - Add OCI_PREP_RESERVED_1
  271. sgollapu 08/27/00 - add attribute to get erroneous column
  272. sgollapu 07/29/00 - Add snapshot attributes
  273. kmohan 09/18/00 - add OCI_FNCODE_LOGON2
  274. abrumm 10/08/00 - include ocixad.h
  275. mbastawa 10/04/00 - add OCI_ATTR_ROWS_FETCHED
  276. nbhatt 08/24/00 - add transformation attribute
  277. dmwong 08/22/00 - OCI_ATTR_CID_VALUE -> OCI_ATTR_CLIENT_IDENTIFIER.
  278. cmlim 08/30/00 - add OCI_ATTR_DIRPATH_SID
  279. dsaha 08/18/00 - add OCI_ATTR_RESERVED_5
  280. amangal 08/17/00 - Merge into 8.2 : 1194361
  281. slari 08/03/00 - add OCI_ATTR_HANDLE_POSITION
  282. dsaha 07/20/00 - 2rt exec
  283. sgollapu 07/04/00 - Add virtual session flag
  284. cmlim 07/07/00 - add OCI_ATTR_DIRPATH_OID, OCI_ATTR_DIRPATH_NESTED_TBL
  285. etucker 07/28/00 - add OCIIntervalFromTZ
  286. rwessman 06/26/00 - N-tier: added new credential attributes
  287. whe 07/27/00 - add OCI_UTF16 mode
  288. vjayaram 07/18/00 - add connection pooling changes
  289. etucker 07/12/00 - add dls apis
  290. cmlim 07/07/00 - add OCI_ATTR_DIRPATH_OID, OCI_ATTR_DIRPATH_NESTED_TBL
  291. sgollapu 07/04/00 - Add virtual session flag
  292. najain 05/01/00 - AQ Signature support
  293. sgollapu 06/14/00 - Add reserved OCI mode
  294. rkambo 06/08/00 - notification presentation support
  295. sagrawal 06/04/00 - ref cursor to c
  296. ksurlake 06/07/00 - define OCI_POOL
  297. mbastawa 06/05/00 - added scrollable cursor attributes
  298. weiwang 03/31/00 - add LDAP support
  299. whe 05/30/00 - add OCI_ATTR_MAXCHAR_SIZE
  300. whe 05/23/00 - validate OCI_NO_CACHE mode
  301. dsaha 02/02/00 - Add no-cache attr in statement handle
  302. whe 05/23/00 - add OCIP_ICACHE
  303. allee 05/17/00 - describe support for JAVA implmented TYPE
  304. preilly 05/30/00 - Continue adding support for objects in direct path lo
  305. cmlim 05/16/00 - 8.2 dpapi support of ADTs
  306. rxgovind 05/04/00 - OCIAnyDataSet changes
  307. rkasamse 05/25/00 - add OCIAnyDataCtx
  308. rmurthy 04/26/00 - describe support for inheritance
  309. ksurlake 04/18/00 - Add credential type
  310. whe 05/24/00 - add OCI_ATTR_CHAR_ attrs
  311. rkambo 04/19/00 - subscription enhancement
  312. rmurthy 04/26/00 - describe support for inheritance
  313. delson 03/28/00 - add OCI_ATTR_RESERVED_2
  314. abrumm 03/31/00 - external table support
  315. rkasamse 03/13/00 - add declarations for OCIAnyData
  316. najain 02/24/00 - support for dequeue as select
  317. dsaha 03/10/00 - Add OCI_ALWAYS_BLOCKING
  318. esoyleme 04/25/00 - separated transactions
  319. sgollapu 12/23/99 - OCIServerAttach extensions
  320. slari 08/23/99 - add OCI_DTYPE_UCB
  321. slari 08/20/99 - add OCI_UCBTYPE_REPLACE
  322. hsbedi 08/31/99 - Memory Stats .
  323. sgollapu 08/02/99 - oci sql routing
  324. slari 08/06/99 - rename values for OCI_SERVER_STATUS
  325. slari 08/02/99 - add OCI_ATTR_SERVER_STATUS
  326. tnbui 07/28/99 - Remove OCI_DTYPE_TIMESTAMP_ITZ
  327. amangal 07/19/99 - Merge into 8.1.6 : bug 785797
  328. tnbui 07/07/99 - Change ADJUSTMENT modes
  329. dsaha 07/07/99 - OCI_SAHRED_EXT
  330. dmwong 06/08/99 - add OCI_ATTR_APPCTX_*
  331. vyanaman 06/23/99 -
  332. vyanaman 06/21/99 - Add new OCI Datetime and Interval descriptors
  333. esoyleme 06/29/99 - expose MTS performance enhancements
  334. rshaikh 04/23/99 - add OCI_SQL_VERSION_*
  335. tnbui 05/24/99 - Remove OCIAdjStr
  336. dsaha 05/21/99 - Add OCI_ADJUST_UNK
  337. mluong 05/17/99 - fix merge
  338. tnbui 04/05/99 - ADJUSTMENT values
  339. abrumm 04/16/99 - dpapi: more attributes
  340. dsaha 02/24/99 - Add OCI_SHOW_DML_WARNINGS
  341. jiyang 12/07/98 - Add OCI_NLS_DUAL_CURRENCY
  342. slari 12/07/98 - change OCI_NOMUTEX to OCI_NO_MUTEX
  343. aroy 11/30/98 - change OCI_NOCALLBACK to OCI_NO_UCB
  344. aroy 11/13/98 - add env modes to process modes
  345. slari 09/08/98 - add OCI_FNCODE_SVC2HST and _SVCRH
  346. aroy 09/04/98 - Add OCI_ATTR_MIGSESSION
  347. skray 08/14/98 - server groups for session switching
  348. mluong 08/11/98 - add back OCI_HTYPE_LAST.
  349. aroy 05/25/98 - add process handle type
  350. aroy 04/06/98 - add shared mode
  351. slari 07/13/98 - merge forward to 8.1.4
  352. slari 07/09/98 - add OCI_BIND_RESERVED_2
  353. slari 07/08/98 - add OCI_EXACT_FETCH_RESERVED_1
  354. dsaha 07/07/98 - Add OCI_PARSE_ONLY
  355. dsaha 06/29/98 - Add OCI_PARSE_ONLY
  356. slari 07/01/98 - add OCI_BIND_RESERVED_2
  357. sgollapu 06/25/98 - Fix bug 683565
  358. slari 06/17/98 - remove OC_FETCH_RESERVED_2
  359. slari 06/11/98 - add OCI_FETCH_RESERVED_1 and 2
  360. jhasenbe 05/27/98 - Remove definitions for U-Calls (Unicode)
  361. jiyang 05/18/98 - remove OCI_ATTR_CARTLANG
  362. nbhatt 05/20/98 - OCI_DEQ_REMOVE_NODATA
  363. nbhatt 05/19/98 - correct AQ opcode
  364. skmishra 05/06/98 - Add precision attribute to Attributes list
  365. aroy 04/20/98 - merge forward 8.0.5 -> 8.1.3
  366. schandra 05/01/98 - OCI sender id
  367. sgollapu 02/19/98 - enhanced array DML
  368. nbhatt 05/15/98 - AQ listen call
  369. sgollapu 04/27/98 - more attributes
  370. skaluska 04/06/98 - Add OCI_PTYPE_SCHEMA, OCI_PTYPE_DATABASE
  371. slari 04/28/98 - add OCI_ATTR_PDPRC
  372. lchidamb 05/05/98 - change OCI_NAMESPACE_AQ to 1
  373. nbhatt 04/27/98 - AQ Notification Descriptor
  374. abrumm 06/24/98 - more direct path attributes
  375. abrumm 05/27/98 - OCI direct path interface support
  376. abrumm 05/08/98 - OCI direct path interface support
  377. lchidamb 03/02/98 - client notification additions
  378. kkarun 04/17/98 - Add more Interval functions
  379. vyanaman 04/16/98 - Add get/set TZ
  380. kkarun 04/14/98 - Add OCI Datetime shortnames
  381. vyanaman 04/13/98 - Add OCI DateTime and Interval check error codes
  382. kkarun 04/07/98 - Add OCI_DTYPE_DATETIME and OCI_DTYPE_INTERVAL
  383. esoyleme 12/15/97 - support failover callback retry
  384. esoyleme 04/22/98 - merge support for failover callback retry
  385. mluong 04/16/98 - add OCI_FNCODE_LOBLOCATORASSIGN
  386. rkasamse 04/17/98 - add short names for OCIPickler(Memory/Ctx) cart servi
  387. slari 04/10/98 - add OCI_FNCODE_SVCCTXTOLDA
  388. slari 04/09/98 - add OCI_FNCODE_RESET
  389. slari 04/07/98 - add OCI_FNCODE_LOBFILEISOPEN
  390. slari 04/06/98 - add OCI_FNCODE_LOBOPEN
  391. slari 03/20/98 - change OCI_CBTYPE_xxx to OCI_UCBTYPE_xxx
  392. slari 03/18/98 - add OCI_FNCODE_MAXFCN
  393. slari 02/12/98 - add OCI_ENV_NO_USRCB
  394. skabraha 04/09/98 - adding shortnames for OCIFile
  395. rhwu 04/03/98 - Add short names for the OCIThread package
  396. tanguyen 04/03/98 - add OCI_ATTR_xxxx for type inheritance
  397. rkasamse 04/02/98 - add OCI_ATTR_UCI_REFRESH
  398. nramakri 04/01/98 - Add short names for the OCIExtract package
  399. ewaugh 03/31/98 - Add short names for the OCIFormat package.
  400. jhasenbe 04/06/98 - Add definitions for U-Calls (Unicode)
  401. (OCI_TEXT, OCI_UTEXT, OCI_UTEXT4)
  402. skmishra 03/03/98 - Add OCI_ATTR_PARSE_ERROR_OFFSET
  403. rwessman 03/11/98 - Added OCI_CRED_PROXY for proxy authentication
  404. abrumm 03/31/98 - OCI direct path interface support
  405. nmallava 03/03/98 - add constants for temp lob apis
  406. skotsovo 03/05/98 - resolve merge conflicts
  407. skotsovo 02/24/98 - add OCI_DTYPE_LOC
  408. skaluska 01/21/98 - Add OCI_ATTR_LTYPE
  409. rkasamse 01/06/98 - add OCI_ATTR* for obj cache enhancements
  410. dchatter 01/08/98 - more comments
  411. skabraha 12/02/97 - moved oci1.h to the front of include files.
  412. jiyang 12/18/97 - Add OCI_NLS_MAX_BUFSZ
  413. rhwu 12/02/97 - move oci1.h up
  414. ewaugh 12/15/97 - Add short names for the OCIFormat package.
  415. rkasamse 12/02/97 - Add a constant for memory cartridge services -- OCI_M
  416. nmallava 12/31/97 - open/close for internal lobs
  417. khnguyen 11/27/97 - add OCI_ATTR_LFPRECISION, OCI_ATTR_FSPRECISION
  418. rkasamse 11/03/97 - add types for pickler cartridge services
  419. mluong 11/20/97 - changed ubig_ora to ub4 per skotsovo
  420. ssamu 11/14/97 - add oci1.h
  421. jiyang 11/13/97 - Add NLS service for cartridge
  422. esoyleme 12/15/97 - support failover callback retry
  423. jwijaya 10/21/97 - change OCILobOffset/Length from ubig_ora to ub4
  424. cxcheng 07/28/97 - fix compile with SLSHORTNAME
  425. schandra 06/25/97 - AQ OCI interface
  426. sgollapu 07/25/97 - Add OCI_ATTR_DESC_PUBLIC
  427. cxcheng 06/16/97 - add OCI_ATTR_TDO
  428. skotsovo 06/05/97 - add fntcodes for lob buffering subsystem
  429. esoyleme 05/13/97 - move failover callback prototype
  430. skmishra 05/06/97 - stdc compiler fixes
  431. skmishra 04/22/97 - Provide C++ compatibility
  432. lchidamb 04/19/97 - add OCI_ATTR_SESSLANG
  433. ramkrish 04/15/97 - Add OCI_LOB_BUFFER_(NO)FREE
  434. sgollapu 04/18/97 - Add OCI_ATTR_TABLESPACE
  435. skaluska 04/17/97 - Add OCI_ATTR_SUB_NAME
  436. schandra 04/10/97 - Use long OCI names
  437. aroy 03/27/97 - add OCI_DTYPE_FILE
  438. sgollapu 03/26/97 - Add OCI_OTYPEs
  439. skmishra 04/09/97 - Added constant OCI_ROWID_LEN
  440. dchatter 03/21/97 - add attr OCI_ATTR_IN_V8_MODE
  441. lchidamb 03/21/97 - add OCI_COMMIT_ON_SUCCESS execution mode
  442. skmishra 03/20/97 - Added OCI_ATTR_LOBEMPTY
  443. sgollapu 03/19/97 - Add OCI_ATTR_OVRLD_ID
  444. aroy 03/17/97 - add postprocessing callback
  445. sgollapu 03/15/97 - Add OCI_ATTR_PARAM
  446. cxcheng 02/07/97 - change OCI_PTYPE codes for type method for consistenc
  447. cxcheng 02/05/97 - add OCI_PTYPE_TYPE_RESULT
  448. cxcheng 02/04/97 - rename OCI_PTYPE constants to be more consistent
  449. cxcheng 02/03/97 - add OCI_ATTR, OCI_PTYPE contants for describe type
  450. esoyleme 01/23/97 - merge neerja callback
  451. sgollapu 12/30/96 - Remove OCI_DTYPE_SECURITY
  452. asurpur 12/26/96 - CHanging OCI_NO_AUTH to OCI_AUTH
  453. sgollapu 12/23/96 - Add more attrs to COL, ARG, and SEQ
  454. sgollapu 12/12/96 - Add OCI_DESCRIBE_ONLY
  455. slari 12/11/96 - change prototype of OCICallbackInBind
  456. nbhatt 12/05/96 - "callback"
  457. lchidamb 11/19/96 - handle subclassing
  458. sgollapu 11/09/96 - OCI_PATTR_*
  459. dchatter 11/04/96 - add attr OCI_ATTR_CHRCNT
  460. mluong 11/01/96 - test
  461. cxcheng 10/31/96 - add #defines for OCILobLength etc
  462. dchatter 10/31/96 - add lob read write call back fp defs
  463. dchatter 10/30/96 - more changes
  464. rhari 10/30/96 - Include ociextp.h at the very end
  465. lchidamb 10/22/96 - add fdo attribute for bind/server handle
  466. dchatter 10/22/96 - change attr defn for prefetch parameters & lobs/file
  467. calls
  468. slari 10/21/96 - add OCI_ENV_NO_MUTEX
  469. rhari 10/25/96 - Include ociextp.h
  470. rxgovind 10/25/96 - add OCI_LOBMAXSIZE, remove OCI_FILE_READWRITE
  471. sgollapu 10/24/96 - Correct OCILogon and OCILogoff
  472. sgollapu 10/24/96 - Correct to OCILogon and OCILogoff
  473. sgollapu 10/21/96 - Add ocilon and ociloff
  474. skaluska 10/31/96 - Add OCI_PTYPE values
  475. sgollapu 10/17/96 - correct OCI_ATTR_SVCCTX to OCI_ATTR_SERVER
  476. rwessman 10/16/96 - Added security functions and fixed olint errors.
  477. sthakur 10/14/96 - add more COR attributes
  478. cxcheng 10/14/96 - re-enable LOB functions
  479. sgollapu 10/10/96 - Add ocibdp and ocibdn
  480. slari 10/07/96 - add back OCIRowid
  481. aroy 10/08/96 - add typedef ocibfill for PRO*C
  482. mluong 10/11/96 - replace OCI_ATTR_CHARSET* with OCI_ATTR_CHARSET_*
  483. cxcheng 10/10/96 - temporarily take out #define for lob functions
  484. sgollapu 10/02/96 - Rename OCI functions and datatypes
  485. skotsovo 10/01/96 - move orl lob fnts to oci
  486. aroy 09/10/96 - fix merge errors
  487. aroy 08/19/96 - NCHAR support
  488. jboonleu 09/05/96 - add OCI attributes for object cache
  489. dchatter 08/20/96 - HTYPE ranges from 1-50; DTYPE from 50-255
  490. slari 08/06/96 - define OCI_DTYPE_ROWID
  491. sthakur 08/14/96 - complex object support
  492. schandra 06/17/96 - Convert XA to use new OCI
  493. abrik 08/15/96 - OCI_ATTR_HEAPALLOC added
  494. aroy 07/17/96 - terminology change: ocilobd => ocilobl
  495. aroy 07/03/96 - add lob typedefs for Pro*C
  496. slari 06/28/96 - add OCI_ATTR_STMT_TYPE
  497. lchidamb 06/26/96 - reorg #ifndef
  498. schandra 05/31/96 - attribute types for internal and external client name
  499. asurpur 05/30/96 - Changing the value of mode
  500. schandra 05/18/96 - OCI_TRANS_TWOPHASE -> 0x00000001 to 0x00100000
  501. slari 05/30/96 - add callback function prototypes
  502. jbellemo 05/23/96 - remove ociisc
  503. schandra 04/23/96 - loosely-coupled branches
  504. asurpur 05/15/96 - New mode for ocicpw
  505. aroy 04/24/96 - making ocihandles opaque
  506. slari 04/18/96 - add missing defines
  507. schandra 03/27/96 - V8OCI - add transaction related calls
  508. dchatter 04/01/96 - add OCI_FILE options
  509. dchatter 03/21/96 - add oci2lda conversion routines
  510. dchatter 03/07/96 - add OCI piece definition
  511. slari 03/12/96 - add describe attributes
  512. slari 03/12/96 - add OCI_OTYPE_QUERY
  513. aroy 02/28/96 - Add column attributes
  514. slari 02/09/96 - add OCI_OBJECT
  515. slari 02/07/96 - add OCI_HYTPE_DSC
  516. aroy 01/10/96 - adding function code defines...
  517. dchatter 01/03/96 - define OCI_NON_BLOCKING
  518. dchatter 01/02/96 - Add Any descriptor
  519. dchatter 01/02/96 - Add Select List descriptor
  520. dchatter 12/29/95 - V8 OCI definitions
  521. dchatter 12/29/95 - Creation
  522. */
  523. #ifdef __cplusplus
  524. extern "C" {
  525. #endif
  526. #ifndef ORATYPES
  527. #include <oratypes.h>
  528. #endif
  529. #ifndef OCIDFN
  530. #include <ocidfn.h>
  531. #endif
  532. #ifndef OCI_ORACLE
  533. # define OCI_ORACLE
  534. /*---------------------------------------------------------------------------
  535. Short names provided for platforms which do not allow extended symbolic names
  536. ---------------------------------------------------------------------------*/
  537. #ifdef SLSHORTNAME
  538. /* Translation of the long function/type names to short names for IBM only */
  539. /* maybe lint will use this too */
  540. #define OCISessionEnd ocitac
  541. #define OCIResultSetToStmt ocirs2sh
  542. #define OCISessionBegin ociauth
  543. #define OCIServerAttach ociatch
  544. #define OCIDescriptorAlloc ocigdesc
  545. #define OCIServerDetach ocidtch
  546. #define OCIDescriptorFree ocifdesc
  547. #define OCIServerVersion ocivers
  548. #define OCIDescribeAny ocidsca
  549. #define OCIBindDynamic ocibda
  550. #define OCIBindByName ocibdn
  551. #define OCIBindByPos ocibdp
  552. #define OCIErrorGet ocigdr
  553. #define OCIBindArrayOfStruct ocibsa
  554. #define OCIEnvInit ociinit
  555. #define OCIBindObject ocibndt
  556. #define OCIHandleAlloc ocighndl
  557. #define OCIHandleFree ocifhndl
  558. #define OCIRowidToChar ociri2c
  559. #ifdef NEVER
  560. #define OCIStmtBindByPos ocibndp
  561. #define OCIStmtBindByName ocibndn
  562. #endif
  563. #define OCIAttrGet ocigattr
  564. #define OCIDefineByPos ocidfne
  565. #define OCIAttrSet ocisattr
  566. #define OCIDefineDynamic ociddf
  567. #define OCILdaToSvcCtx ocild2sv
  568. #define OCIDefineArrayOfStruct ocidarr
  569. #define OCIInitialize ocipi
  570. #define OCIDefineObject ocidndt
  571. #define OCIStmtExecute ociexec
  572. #define OCILobAppend ocilfap
  573. #define OCILobOpenFile ocifopn
  574. #define OCILobCloseFile ocifcls
  575. #define OCILobLocator ocilobd
  576. #define OCILobGetDeduplicateRegions ocilgshr
  577. #define OCILobRegion ocilregd
  578. #define OCILobCopy ocilfcp
  579. #define OCILobFileCreate ocifcrt
  580. #define OCILobFileDelete ocifdel
  581. #define OCILobGetLength ocilfln
  582. #define OCILobWrite ocilfwr
  583. #define OCILobRead ocilfrd
  584. #define OCILobErase ocilfer
  585. #define OCILobTrim ocilftr
  586. #define OCILobSetOptions ocinglso
  587. #define OCILobGetOptions ocinglgo
  588. #define OCILobFragmentInsert ocinglfi
  589. #define OCILobFragmentDelete ocinglfd
  590. #define OCILobFragmentMove ocinglfm
  591. #define OCILobFragmentReplace ocinglfr
  592. #define OCILobSetContentType ocinglsct
  593. #define OCILobGetContentType ocinglgct
  594. #define OCIStmtFetch ocifch
  595. #define OCIStmtGetBindInfo ocigbp
  596. #define OCIStmtGetPieceInfo ocigpi
  597. #define OCIStmtPrepare ocireq
  598. #define OCIStmtSetPieceInfo ocispi
  599. #define OCISvcCtxToLda ocisv2ld
  600. #define OCITransCommit ocitxcm
  601. #define OCITransDetach ocitxdt
  602. #define OCITransForget ocitxfgt
  603. #define OCITransPrepare ocitxpre
  604. #define OCITransRollback ocitxrl
  605. #define OCIPasswordChange ocicpw
  606. #define OCITransStart ocitxst
  607. #define OCITransMultiPrepare ocitxmp
  608. #define OCIBreak ocibreak
  609. #define OCIParamGet ocigparm
  610. #define OCIParamSet ocisparm
  611. #define OCISecurityOpenWallet ocizwOpenWallet
  612. #define OCISecurityCloseWallet ocizwCloseWallet
  613. #define OCISecurityCreateWallet ocizwCreateWallet
  614. #define OCISecurityDestroyWallet ocizwDestroyWallet
  615. #define OCISecurityStorePersona ocizeStorePersona
  616. #define OCISecurityOpenPersona ocizeOpenPersona
  617. #define OCISecurityClosePersona ocizeClosePersona
  618. #define OCISecurityRemovePersona ocizeRemovePersona
  619. #define OCISecurityCreatePersona ocizeCreatePersona
  620. #define OCISecuritySetProtection ocizeSetProtection
  621. #define OCISecurityGetProtection ocizeGetProtection
  622. #define OCISecurityRemoveIdentity ociziRemoveIdentity
  623. #define OCISecurityCreateIdentity ociziCreateIdentity
  624. #define OCISecurityAbortIdentity ociziAbortIdentity
  625. #define OCISecurityFreeIdentity ociziFreeIdentity
  626. #define OCISecurityStoreTrustedIdentity ociziStoreTrustedIdentity
  627. #define OCISecuritySign ocizSign
  628. #define OCISecuritySignExpansion ocizxSignExpansion
  629. #define OCISecurityVerify ocizVerify
  630. #define OCISecurityValidate ocizValidate
  631. #define OCISecuritySignDetached ocizsd_SignDetached
  632. #define OCISecuritySignDetExpansion ocizxsd_SignDetachedExpansion
  633. #define OCISecurityVerifyDetached ocizved_VerifyDetached
  634. #define OCISecurity_PKEncrypt ocizkec_PKEncrypt
  635. #define OCISecurityPKEncryptExpansion ocizxkec_PKEncryptExpansion
  636. #define OCISecurityPKDecrypt ocizkdc_PKDecrypt
  637. #define OCISecurityEncrypt ocizEncrypt
  638. #define OCISecurityEncryptExpansion ocizxEncryptExpansion
  639. #define OCISecurityDecrypt ocizDecrypt
  640. #define OCISecurityEnvelope ocizEnvelope
  641. #define OCISecurityDeEnvelope ocizDeEnvelope
  642. #define OCISecurityKeyedHash ocizKeyedHash
  643. #define OCISecurityKeyedHashExpansion ocizxKeyedHashExpansion
  644. #define OCISecurityHash ocizHash
  645. #define OCISecurityHashExpansion ocizxHashExpansion
  646. #define OCISecuritySeedRandom ocizSeedRandom
  647. #define OCISecurityRandomBytes ocizrb_RandomBytes
  648. #define OCISecurityRandomNumber ocizrn_RandomNumber
  649. #define OCISecurityInitBlock ocizibInitBlock
  650. #define OCISecurityReuseBlock ocizrbReuseBlock
  651. #define OCISecurityPurgeBlock ocizpbPurgeBlock
  652. #define OCISecuritySetBlock ocizsbSetBlock
  653. #define OCISecurityGetIdentity ocizgi_GetIdentity
  654. #define OCIExtractInit ocixeini
  655. #define OCIExtractTerm ocixetrm
  656. #define OCIExtractReset ocixerst
  657. #define OCIExtractSetNumKeys ocixesnk
  658. #define OCIExtractSetKey ocixesk
  659. #define OCIExtractFromFile ocixeff
  660. #define OCIExtractFromStr ocixefs
  661. #define OCIExtractToInt ocixeti
  662. #define OCIExtractToBool ocixetb
  663. #define OCIExtractToStr ocixets
  664. #define OCIExtractToOCINum ocixeton
  665. #define OCIExtractToList ocixetl
  666. #define OCIExtractFromList ocixefl
  667. #define OCIDateTimeGetTime ocidt01_GetTime
  668. #define OCIDateTimeGetDate ocidt02_GetDate
  669. #define OCIDateTimeGetTimeZoneOffset ocidt03_GetTZ
  670. #define OCIDateTimeSysTimeStamp ocidt07_SysTS
  671. #define OCIDateTimeAssign ocidt08_Assign
  672. #define OCIDateTimeToText ocidt09_ToText
  673. #define OCIDateTimeFromText ocidt10_FromText
  674. #define OCIDateTimeCompare ocidt11_Compare
  675. #define OCIDateTimeCheck ocidt12_Check
  676. #define OCIDateTimeConvert ocidt13_Convert
  677. #define OCIDateTimeSubtract ocidt14_Subtract
  678. #define OCIDateTimeIntervalAdd ocidt15_IntervalAdd
  679. #define OCIDateTimeIntervalSub ocidt16_IntervalSub
  680. #define OCIDateTimeGetTimeZoneName ocidt17_Gettzname
  681. #define OCIDateTimeToArray ocidt18_ToArray
  682. #define OCIDateTimeFromArray ocidt19_FromArray
  683. #define OCIIntervalSubtract ociint01_Subtract
  684. #define OCIIntervalAdd ociint02_Add
  685. #define OCIIntervalMultiply ociint03_Multiply
  686. #define OCIIntervalDivide ociint04_Divide
  687. #define OCIIntervalCompare ociint05_Compare
  688. #define OCIIntervalFromText ociint06_FromText
  689. #define OCIIntervalToText ociint07_ToText
  690. #define OCIIntervalToNumber ociint08_ToNumber
  691. #define OCIIntervalCheck ociint09_Check
  692. #define OCIIntervalAssign ociint10_Assign
  693. #define OCIIntervalGetYearMonth ociint11_GetYearMonth
  694. #define OCIIntervalSetYearMonth ociint12_SetYearMonth
  695. #define OCIIntervalGetDaySecond ociint13_GetDaySecond
  696. #define OCIIntervalSetDaySecond ociint14_SetDaySecond
  697. #define OCIIntervalFromNumber ociint15_FromNumber
  698. #define OCIIntervalFromTZ ociint16_FromTZ
  699. #define OCIFormatInit ocixs01_Init
  700. #define OCIFormatString ocixs02_Format
  701. #define OCIFormatTerm ocixs03_Term
  702. #define OCIFormatTUb1 ocixs04_TUb1
  703. #define OCIFormatTUb2 ocixs05_TUb2
  704. #define OCIFormatTUb4 ocixs06_TUb4
  705. #define OCIFormatTUword ocixs07_TUword
  706. #define OCIFormatTUbig_ora ocixs08_TUbig_ora
  707. #define OCIFormatTSb1 ocixs09_TSb1
  708. #define OCIFormatTSb2 ocixs10_TSb2
  709. #define OCIFormatTSb4 ocixs11_TSb4
  710. #define OCIFormatTSword ocixs12_TSword
  711. #define OCIFormatTSbig_ora ocixs13_TSbig_ora
  712. #define OCIFormatTEb1 ocixs14_TEb1
  713. #define OCIFormatTEb2 ocixs15_TEb2
  714. #define OCIFormatTEb4 ocixs16_TEb4
  715. #define OCIFormatTEword ocixs17_TEword
  716. #define OCIFormatTChar ocixs18_TChar
  717. #define OCIFormatTText ocixs19_TText
  718. #define OCIFormatTDouble ocixs20_TDouble
  719. #define OCIFormatTDvoid ocixs21_TDvoid
  720. #define OCIFormatTEnd ocixs22_TEnd
  721. #define OCIFileInit ocifinit
  722. #define OCIFileTerm ocifterm
  723. #define OCIFileOpen ocifopen
  724. #define OCIFileClose ocifclose
  725. #define OCIFileRead ocifread
  726. #define OCIFileWrite ocifwrite
  727. #define OCIFileSeek ocifseek
  728. #define OCIFileExists ocifexists
  729. #define OCIFileGetLength ocifglen
  730. #define OCIFileFlush ocifflush
  731. /* OCIThread short name */
  732. #define OCIThreadProcessInit ocitt01_ProcessInit
  733. #define OCIThreadInit ocitt02_Init
  734. #define OCIThreadTerm ocitt03_Term
  735. #define OCIThreadIsMulti ocitt04_IsMulti
  736. #define OCIThreadMutexInit ocitt05_MutexInit
  737. #define OCIThreadMutexDestroy ocitt06_MutexDestroy
  738. #define OCIThreadMutexAcquire ocitt07_MutexAcquire
  739. #define OCIThreadMutexRelease ocitt08_MutexRelease
  740. #define OCIThreadKeyInit ocitt09_KeyInit
  741. #define OCIThreadKeyDestroy ocitt10_KeyDestroy
  742. #define OCIThreadKeyGet ocitt11_KeyGet
  743. #define OCIThreadKeySet ocitt12_KeySet
  744. #define OCIThreadIdInit ocitt13_IdInit
  745. #define OCIThreadIdDestroy ocitt14_IdDestroy
  746. #define OCIThreadIdSet ocitt15_IdSet
  747. #define OCIThreadIdSetNull ocitt16_IdSetNull
  748. #define OCIThreadIdGet ocitt17_IdGet
  749. #define OCIThreadIdSame ocitt18_IdSame
  750. #define OCIThreadIdNull ocitt19_IdNull
  751. #define OCIThreadHndInit ocitt20_HndInit
  752. #define OCIThreadHndDestroy ocitt21_HndDestroy
  753. #define OCIThreadCreate ocitt22_Create
  754. #define OCIThreadJoin ocitt23_Join
  755. #define OCIThreadClose ocitt24_Close
  756. #define OCIThreadHandleGet ocitt25_HandleGet
  757. /* Translation between the old and new datatypes */
  758. #define OCISession ociusrh
  759. #define OCIBind ocibndh
  760. #define OCIDescribe ocidsch
  761. #define OCIDefine ocidfnh
  762. #define OCIEnv ocienvh
  763. #define OCIError ocierrh
  764. #define OCICPool ocicpool
  765. #define OCISPool ocispool
  766. #define OCIAuthInfo ociauthinfo
  767. #define OCILob ocilobd
  768. #define OCILobLength ocillen
  769. #define OCILobMode ocilmo
  770. #define OCILobOffset ociloff
  771. #define OCILobLocator ocilobd
  772. #define OCIBlobLocator ociblobl
  773. #define OCIClobLocator ociclobl
  774. #define OCILobRegion ocilregd
  775. #define OCIBFileLocator ocibfilel
  776. #define OCIParam ocipard
  777. #define OCIResult ocirstd
  778. #define OCISnapshot ocisnad
  779. #define OCIServer ocisrvh
  780. #define OCIStmt ocistmh
  781. #define OCISvcCtx ocisvch
  782. #define OCITrans ocitxnh
  783. #define OCICallbackInBind ocibicfp
  784. #define OCICallbackOutBind ocibocfp
  785. #define OCICallbackDefine ocidcfp
  786. #define OCICallbackLobRead ocilrfp
  787. #define OCICallbackLobWrite ocilwfp
  788. #define OCICallbackLobGetDededuplicateRegions ocilgshr
  789. #define OCISecurity ociossh
  790. #define OCIComplexObject ocicorh
  791. #define OCIComplexObjectComp ocicord
  792. #define OCIRowid ociridd
  793. #define OCIAQDeq ociaqdeq
  794. #define OCIAQEnq ociaqenq
  795. #define OCIConnectionPoolCreate ociconpc
  796. #define OCIConnectionPoolDestroy ociconpd
  797. #define OCIEnvCreate ocienvct
  798. #define OCILobAssign ociloass
  799. #define OCILobCharSetForm ocilocfm
  800. #define OCILobCharSetId ocilocid
  801. #define OCILobDisableBuffering ocilodbf
  802. #define OCILobEnableBuffering ociloebf
  803. #define OCILobFileClose ocilofcl
  804. #define OCILobFileCloseAll ocilofca
  805. #define OCILobFileExists ocilofex
  806. #define OCILobFileGetName ocilofgn
  807. #define OCILobFileIsOpen ocifiopn
  808. #define OCILobFileOpen ocilofop
  809. #define OCILobFileSetName ocilofsn
  810. #define OCILobFlushBuffer ocilofbf
  811. #define OCILobIsEqual ociloieq
  812. #define OCILobLoadFromFile ocilolff
  813. #define OCILobLocatorIsInit ocilolii
  814. #define OCILobLocatorAssign ocilolas
  815. #define OCILogon ocilogon
  816. #define OCILogon2 ocilgon2
  817. #define OCILogoff ocilgoff
  818. #endif /* ifdef SLSHORTNAME */
  819. /*---------------------------------------------------------------------------
  820. PUBLIC TYPES AND CONSTANTS
  821. ---------------------------------------------------------------------------*/
  822. /*-----------------------------Handle Types----------------------------------*/
  823. /* handle types range from 1 - 49 */
  824. #define OCI_HTYPE_FIRST 1 /* start value of handle type */
  825. #define OCI_HTYPE_ENV 1 /* environment handle */
  826. #define OCI_HTYPE_ERROR 2 /* error handle */
  827. #define OCI_HTYPE_SVCCTX 3 /* service handle */
  828. #define OCI_HTYPE_STMT 4 /* statement handle */
  829. #define OCI_HTYPE_BIND 5 /* bind handle */
  830. #define OCI_HTYPE_DEFINE 6 /* define handle */
  831. #define OCI_HTYPE_DESCRIBE 7 /* describe handle */
  832. #define OCI_HTYPE_SERVER 8 /* server handle */
  833. #define OCI_HTYPE_SESSION 9 /* authentication handle */
  834. #define OCI_HTYPE_AUTHINFO OCI_HTYPE_SESSION /* SessionGet auth handle */
  835. #define OCI_HTYPE_TRANS 10 /* transaction handle */
  836. #define OCI_HTYPE_COMPLEXOBJECT 11 /* complex object retrieval handle */
  837. #define OCI_HTYPE_SECURITY 12 /* security handle */
  838. #define OCI_HTYPE_SUBSCRIPTION 13 /* subscription handle */
  839. #define OCI_HTYPE_DIRPATH_CTX 14 /* direct path context */
  840. #define OCI_HTYPE_DIRPATH_COLUMN_ARRAY 15 /* direct path column array */
  841. #define OCI_HTYPE_DIRPATH_STREAM 16 /* direct path stream */
  842. #define OCI_HTYPE_PROC 17 /* process handle */
  843. #define OCI_HTYPE_DIRPATH_FN_CTX 18 /* direct path function context */
  844. #define OCI_HTYPE_DIRPATH_FN_COL_ARRAY 19 /* dp object column array */
  845. #define OCI_HTYPE_XADSESSION 20 /* access driver session */
  846. #define OCI_HTYPE_XADTABLE 21 /* access driver table */
  847. #define OCI_HTYPE_XADFIELD 22 /* access driver field */
  848. #define OCI_HTYPE_XADGRANULE 23 /* access driver granule */
  849. #define OCI_HTYPE_XADRECORD 24 /* access driver record */
  850. #define OCI_HTYPE_XADIO 25 /* access driver I/O */
  851. #define OCI_HTYPE_CPOOL 26 /* connection pool handle */
  852. #define OCI_HTYPE_SPOOL 27 /* session pool handle */
  853. #define OCI_HTYPE_ADMIN 28 /* admin handle */
  854. #define OCI_HTYPE_EVENT 29 /* HA event handle */
  855. #define OCI_HTYPE_LAST 29 /* last value of a handle type */
  856. /*---------------------------------------------------------------------------*/
  857. /*-------------------------Descriptor Types----------------------------------*/
  858. /* descriptor values range from 50 - 255 */
  859. #define OCI_DTYPE_FIRST 50 /* start value of descriptor type */
  860. #define OCI_DTYPE_LOB 50 /* lob locator */
  861. #define OCI_DTYPE_SNAP 51 /* snapshot descriptor */
  862. #define OCI_DTYPE_RSET 52 /* result set descriptor */
  863. #define OCI_DTYPE_PARAM 53 /* a parameter descriptor obtained from ocigparm */
  864. #define OCI_DTYPE_ROWID 54 /* rowid descriptor */
  865. #define OCI_DTYPE_COMPLEXOBJECTCOMP 55
  866. /* complex object retrieval descriptor */
  867. #define OCI_DTYPE_FILE 56 /* File Lob locator */
  868. #define OCI_DTYPE_AQENQ_OPTIONS 57 /* enqueue options */
  869. #define OCI_DTYPE_AQDEQ_OPTIONS 58 /* dequeue options */
  870. #define OCI_DTYPE_AQMSG_PROPERTIES 59 /* message properties */
  871. #define OCI_DTYPE_AQAGENT 60 /* aq agent */
  872. #define OCI_DTYPE_LOCATOR 61 /* LOB locator */
  873. #define OCI_DTYPE_INTERVAL_YM 62 /* Interval year month */
  874. #define OCI_DTYPE_INTERVAL_DS 63 /* Interval day second */
  875. #define OCI_DTYPE_AQNFY_DESCRIPTOR 64 /* AQ notify descriptor */
  876. #define OCI_DTYPE_DATE 65 /* Date */
  877. #define OCI_DTYPE_TIME 66 /* Time */
  878. #define OCI_DTYPE_TIME_TZ 67 /* Time with timezone */
  879. #define OCI_DTYPE_TIMESTAMP 68 /* Timestamp */
  880. #define OCI_DTYPE_TIMESTAMP_TZ 69 /* Timestamp with timezone */
  881. #define OCI_DTYPE_TIMESTAMP_LTZ 70 /* Timestamp with local tz */
  882. #define OCI_DTYPE_UCB 71 /* user callback descriptor */
  883. #define OCI_DTYPE_SRVDN 72 /* server DN list descriptor */
  884. #define OCI_DTYPE_SIGNATURE 73 /* signature */
  885. #define OCI_DTYPE_RESERVED_1 74 /* reserved for internal use */
  886. #define OCI_DTYPE_AQLIS_OPTIONS 75 /* AQ listen options */
  887. #define OCI_DTYPE_AQLIS_MSG_PROPERTIES 76 /* AQ listen msg props */
  888. #define OCI_DTYPE_CHDES 77 /* Top level change notification desc */
  889. #define OCI_DTYPE_TABLE_CHDES 78 /* Table change descriptor */
  890. #define OCI_DTYPE_ROW_CHDES 79 /* Row change descriptor */
  891. #define OCI_DTYPE_CQDES 80 /* Query change descriptor */
  892. #define OCI_DTYPE_LOB_REGION 81 /* LOB Share region descriptor */
  893. #define OCI_DTYPE_LAST 81 /* last value of a descriptor type */
  894. /*---------------------------------------------------------------------------*/
  895. /*--------------------------------LOB types ---------------------------------*/
  896. #define OCI_TEMP_BLOB 1 /* LOB type - BLOB ------------------ */
  897. #define OCI_TEMP_CLOB 2 /* LOB type - CLOB ------------------ */
  898. /*---------------------------------------------------------------------------*/
  899. /*-------------------------Object Ptr Types----------------------------------*/
  900. #define OCI_OTYPE_NAME 1 /* object name */
  901. #define OCI_OTYPE_REF 2 /* REF to TDO */
  902. #define OCI_OTYPE_PTR 3 /* PTR to TDO */
  903. /*---------------------------------------------------------------------------*/
  904. /*=============================Attribute Types===============================*/
  905. /*
  906. Note: All attributes are global. New attibutes should be added to the end
  907. of the list. Before you add an attribute see if an existing one can be
  908. used for your handle.
  909. If you see any holes please use the holes first.
  910. */
  911. /*===========================================================================*/
  912. #define OCI_ATTR_FNCODE 1 /* the OCI function code */
  913. #define OCI_ATTR_OBJECT 2 /* is the environment initialized in object mode */
  914. #define OCI_ATTR_NONBLOCKING_MODE 3 /* non blocking mode */
  915. #define OCI_ATTR_SQLCODE 4 /* the SQL verb */
  916. #define OCI_ATTR_ENV 5 /* the environment handle */
  917. #def