⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ociap.h

📁 SQLAPI C/C++ 连接Oracle 数据库!
💻 H
📖 第 1 页 / 共 5 页
字号:
/* * $Header: /home/yas/cvs/SQLAPI/include/ora_linux/ociap.h,v 1.1.1.1 2005/05/05 08:12:35 yas Exp $ *//* Copyright (c) 1996, 2000, 2001 Oracle Corporation.  All rights reserved. */ /* NOTE:  See 'header_template.doc' in the 'doc' dve under the 'forms'       directory for the header file template that includes instructions. */ /*    NAME      ociap.h - Oracle Call Interface - Ansi Prototypes   DESCRIPTION      <short description of component this file declares/defines>    RELATED DOCUMENTS     INSPECTION STATUS      Inspection date:      Inspection status:      Estimated increasing cost defects per page:      Rule sets:     ACCEPTANCE REVIEW STATUS      Review date:      Review status:      Reviewers:     PUBLIC FUNCTION(S)      <list of external functions declared/defined - with one-line descriptions>   PRIVATE FUNCTION(S)     <list of static functions defined in .c file - with one-line descriptions>   EXAMPLES   NOTES     <other useful comments, qualifications, etc.>   MODIFIED   (MM/DD/YY)   mdmehta     04/06/01 - Bug 1683763, OCIDateTimeToText: buf_size to ub4*   schandir    12/12/00 - modify the ociconnectionpoolcreate() interface.   porangas    12/04/00 - Forward merge bug#974710 to 9i   rpingte     11/29/00 - Fix bug# 1485795.   gtarora     11/30/00 - fix comment for OCILobIsTemporary   akatti      11/07/00 - [1198379]:add OCIRowidToChar   bpalaval    10/15/00 - Forward merge 892654.   kmohan      09/18/00 - add OCILogon2   etucker     07/28/00 - add OCIIntervalFromTZ   vjayaram    07/18/00 - add connection pooling changes   etucker     07/13/00 - add dls apis for oci   hmasaki     07/05/00 - fix 1230846: forward merge into 8.2   mbastawa    06/05/00 - add OCIStmtFetch2   rxgovind    06/07/00 - update OCIAnyData interfaces   rxgovind    05/04/00 - add OCIAnyDataSet interfaces   rkasamse    05/01/00 - remove attrno from OCIAnyDataAttrGet   rkasamse    03/13/00 - add prototype s for OCCIAnyData   slari       09/01/99 - remove OCIEnvCallback   slari       08/23/99 - add OCIUcb in user callback functions   dsaha       07/07/99 - Add OCIFEnvCreate for forms   vyanaman    06/21/99 - Change OCI DateTime/Interval APIs.   esoyleme    07/01/99 - expose MTS performance enhancements                     whe         06/14/99 - bug727872:add CONST to match definitions   kkarun      02/23/99 - Fix OCIDateTime APIs   jiyang      12/07/98 - Add comments for OCI_NLS_DUAL_CURRENCY   aroy        12/01/98 - add OCIEnvCreate   slari       11/23/98 - use ORASTDARG   slari       11/21/98 - replace ellipsis by arglist in OCIUserCallback   thchang     10/20/98 - correct comment on OCILobCreateTemporary   slari       09/08/98 - allow envh to receive error info also in CallbackReg/   kkarun      09/02/98 - Change const to CONST   aroy        08/04/98 - add OCITerminate calls                                  nramakri    06/25/98 - remove CONST from some OCIPickler APIs   jiyang      06/22/98 - Fix a lint error   nmallava    06/08/98 - ociistemporary -> envhp   jhasenbe    05/27/98 - Remove definitions for U-Calls (Unicode)   nmallava    05/18/98 - add comments   sgollapu    05/19/98 - Change text to OraText   aroy        04/20/98 - merge forward 8.0.5 -> 8.1.3   nbhatt      05/14/98 -  aq listen call   lchidamb    03/02/98 - Client Notification prototypes   vyanaman    04/19/98 - System Timestamp   kkarun      04/17/98 - Add more Interval functions   vyanaman    04/17/98 - Fix min (proc error)   vyanaman    04/16/98 - Add get/set TZ   kkarun      04/13/98 - Add Datetime prototypes   rkasamse    04/13/98 - change OCIEnv* to dvoid* for context/memory cart serv   rkasamse    04/15/98 - chage pickler cart interface   slari       03/20/98 - change proto of OCIUserCallback   slari       02/17/98 - add OCIUserCallback   jiyang      04/02/98 - Accept both env and user handles for NLS   rkasamse    03/20/98 - remove prototypes for OCIMemoryDuration* functions.   tsaulys     03/20/98 - use environment or session handle   nmallava    04/09/98 - OCILobLocatorAssign   nmallava    04/07/98 - lobgetchunksize and writeappend apis   jhasenbe    04/06/98 - Add new interfaces for Unicode support   nmallava    03/17/98 - add interfaces   nmallava    03/16/98 - add open/close apis   nmallava    03/10/98 - add temporary lobs apis   sgollapu    07/10/97 - Add OCIReset   sgollapu    02/09/98 - OCI non-blocking   nramakri    01/16/98 - remove #ifdef NEVER clause for OCIExtract   rmurthy     01/08/98 - OCIContextGenerateKey: change ub1 to ub4   ewaugh      12/18/97 - Turn type wrappers into functions.   skabraha    12/02/97 - adding OCIFile functions   rhwu        12/02/97 - add OCI Thread   nramakri    12/15/97 - move to core4   nramakri    12/11/97 - modify OCIExtract prototype   ewaugh      12/10/97 - add OCIFormat prototypes   nmallava    12/17/97 - Add ilob open and close apis   rkasamse    12/03/97 - Change some of the function names for pickler cartrid   nramakri    11/12/97 - add OCIExtract prototypes   rkasamse    11/21/97 - add prototypes for memory cartridge services and cont   rkasamse    11/03/97 - Add pickler cartridge interfaces.   jiyang      11/11/97 - Add NLS service for cartridge   tanguyen    08/19/97 -   cxcheng     07/30/97 - replace OCISvcCtx with OCISvcCtx   schandra    06/25/97 - AQ OCI interface   bnainani    07/21/97 - add prototypes for Oracle XA extensions   esoyleme    05/13/97 - move failover callback prototype   skmishra    05/06/97 - stdc compiler fixes   skmishra    04/24/97 - C++ Compatibility changes   skotsovo    04/21/97 - make lob parameter names consistent   rwhitman    04/16/97 - Fix LOB prototypes - Olint OCI 8.0.3   ramkrish    04/15/97 - Add free flag to OCILobFlushBuffer   dchatter    04/10/97 - add nzt.h inclusion   cxcheng     04/09/97 - change objnamp from CONST text* to dvoid*   cxcheng     04/08/97 - fix prototype of OCIDescribeAny()   skotsovo    03/31/97 - remove OCILobLocatorSize   skotsovo    03/27/97 - add OCILobLoadFromFile   bcchang     02/18/97 - Fix syntax error   dchatter    01/13/97 - fix comments on LOB calls   aroy        01/10/97 - remove ocilobfilecreate delete   sgollapu    12/27/96 - Correct OCILogon prototype   dchatter    01/04/97 - comments to describe the functions   sgollapu    11/25/96 - Change OCILobFileIsExistent   schandra    11/18/96 - Remove xa.h include   sgollapu    11/09/96 - Change prototype of OCIDescribeAny   dchatter    10/31/96 - delete CONST from lob write cb fn   dchatter    10/30/96 - more changes   dchatter    10/26/96 - lob/file long name corrections   slari       10/16/96 - delete unused calls   rwessman    10/29/96 - Fixed OCISecurityGetIdentity prototype   bcchang     10/25/96 - Fix syntax error   sgollapu    10/22/96 - Add OCILogon and OCILogoff   rwessman    10/16/96 - Added cryptographic and digital signature functions   sgollapu    10/10/96 - Add ocibdp and ocibdn   rxgovind    10/07/96 - add oci file calls   skotsovo    10/01/96 - move orl lob fnts to oci   skotsovo    09/20/96 - in OCILobGetLength(), remove the 'isnull' parameter.   aroy        08/29/96 - change prototype for Nchar Lob support   dchatter    08/21/96 - OCIResultSetToStmt prototype change   sthakur     08/14/96 - add OCIParamSet   schandra    07/26/96 - TX OCI return values - sb4->sword   aroy        07/17/96 - terminology change: OCILobLocator => OCILobLocator   dchatter    07/01/96 - create ANSI prototypes   dchatter    07/01/96 - Creation*/ #ifndef OCIAP_ORACLE# define OCIAP_ORACLE# ifndef ORATYPES #  include <oratypes.h> # endif  #ifndef ORASTDARG#include <stdarg.h>#define ORASTDARG#endif#ifndef OCIDFN#include <ocidfn.h>#endif#ifndef NZT_ORACLE#include <nzt.h>#endif /* NZT_ORACLE */ #ifndef OCI_ORACLE#include <oci.h>#endif#ifndef ORT_ORACLE#include <ort.h>#endif/*---------------------------------------------------------------------------                     PUBLIC TYPES AND CONSTANTS  ---------------------------------------------------------------------------*//*---------------------------------------------------------------------------                     PRIVATE TYPES AND CONSTANTS  ---------------------------------------------------------------------------*//*---------------------------------------------------------------------------                           PUBLIC FUNCTIONS  ---------------------------------------------------------------------------*//*****************************************************************************                              DESCRIPTION******************************************************************************Note: the descriptions of the functions are alphabetically arranged. Please maintain the arrangement when adding a new function description. The actual prototypes are below this comment section and donot follow any alphabetical ordering. --------------------------------OCIAttrGet------------------------------------OCIAttrGet()NameOCI Attribute GetPurposeThis call is used to get a particular attribute of a handle. Syntaxsword OCIAttrGet ( CONST dvoid    *trgthndlp,                 ub4            trghndltyp,                 dvoid          *attributep,                 ub4            *sizep,                 ub4            attrtype,                 OCIError       *errhp );CommentsThis call is used to get a particular attribute of a handle.See Appendix B,  "Handle Attributes",  for a list of handle types and their readable attributes.Parameterstrgthndlp (IN) - is the pointer to a handle type. trghndltyp (IN) - is the handle type. attributep (OUT) - is a pointer to the storage for an attribute value. The attribute value is filled in. sizep (OUT) - is the size of the attribute value. This can be passed in as NULL for most parameters as the size is well known. For text* parameters, a pointer to a ub4 must be passed in to get the length of the string. attrtype (IN) - is the type of attribute.errhp (IN/OUT) - an error handle which can be passed to OCIErrorGet() for diagnostic information in the event of an error.Related FunctionsOCIAttrSet()--------------------------------OCIAttrSet------------------------------------OCIAttrSet()NameOCI Attribute SetPurposeThis call is used to set a particular attribute of a handle or a descriptor. Syntaxsword OCIAttrSet ( dvoid       *trgthndlp,                 ub4         trghndltyp,                 dvoid       *attributep,                 ub4         size,                 ub4         attrtype,                 OCIError    *errhp );CommentsThis call is used to set a particular attribute of a handle or a descriptor. See Appendix B for a list of handle types and their writeable attributes.Parameterstrghndlp (IN/OUT) - the pointer to a handle type whose attribute gets modified. trghndltyp (IN/OUT) - is the handle type. attributep (IN) - a pointer to an attribute value. The attribute value is copied into the target handle. If the attribute value is a pointer, then only the pointer is copied, not the contents of the pointer.size (IN) - is the size of an attribute value. This can be passed in as 0 for most attributes as the size is already known by the OCI library. For text*attributes, a ub4 must be passed in set to the length of the string. attrtype (IN) - the type of attribute being set.errhp (IN/OUT) - an error handle which can be passed to OCIErrorGet() for diagnostic information in the event of an error. Related FunctionsOCIAttrGet()

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -