| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/Oracle/OCI/include/ocikpr.h
Go to the documentation of this file.

    00001 /*
    00002  * $Header$
    00003  */
    00004
    00005 /* Copyright (c) 1991, 1995, 1996, 1998 by Oracle Corporation */
    00006 /*
    00007    NAME
    00008      ocikpr.h - header of K & R compilers
    00009    MODIFIED   (MM/DD/YY)
    00010     porangas   12/04/00 - Forward merge bug#974710 to 9i
    00011     sgollapu   05/19/98 - Change text to OraText
    00012     dchatter   04/21/96 -
    00013     dchatter   11/10/95 -  add ognfd() - get native fd
    00014     lchidamb   04/06/95 -  drop maxdsz from obindps/odefinps
    00015     slari      04/07/95 -  add opinit
    00016     dchatter   03/08/95 -  osetpi and ogetpi
    00017     lchidamb   12/09/94 -  add obindps() and odefinps()
    00018     dchatter   03/06/95 -  merge changes from branch 1.1.720.2
    00019     dchatter   11/14/94 -  merge changes from branch 1.1.720.1
    00020     dchatter   02/08/95 -  olog call; drop onblon
    00021     dchatter   10/31/94 -  new functions for non-blocking oci
    00022     rkooi2     11/27/92 -  Changing datatypes (in comments) and return types
    00023     rkooi2     10/26/92 -  More portability mods
    00024     rkooi2     10/18/92 -  Changed to agree with oci.c
    00025     sjain      03/16/92 -  Creation
    00026 */
    00027
    00028 /*
    00029  *  Declare the OCI functions.
    00030  *  Prototype information is commented out.
    00031  *  Use this header for non-ANSI C compilers.
    00032  *  Note that you will need to include ocidfn.h in the .c files
    00033  *    to get the definition for cda_def.
    00034  */
    00035
    00036 #ifndef OCIKPR
    00037 #define OCIKPR
    00038
    00039 #include <oratypes.h>
    00040
    00041 /*
    00042  * Oci BIND (Piecewise or with Skips)
    00043  */
    00044 sword  obindps( /*_ struct cda_def *cursor, ub1 opcode, OraText *sqlvar,
    00045                         sb4 sqlvl, ub1 *pvctx, sb4 progvl,
    00046                         sword ftype, sword scale,
    00047                         sb2 *indp, ub2 *alen, ub2 *arcode,
    00048                         sb4 pv_skip, sb4 ind_skip, sb4 alen_skip, sb4 rc_skip,
    00049                         ub4 maxsiz, ub4 *cursiz,
    00050                         OraText *fmt, sb4 fmtl, sword fmtt _*/ );
    00051 sword  obreak( /*_ struct cda_def *lda _*/ );
    00052 sword  ocan  ( /*_ struct cda_def *cursor _*/ );
    00053 sword  oclose( /*_ struct cda_def *cursor _*/ );
    00054 sword  ocof  ( /*_ struct cda_def *lda _*/ );
    00055 sword  ocom  ( /*_ struct cda_def *lda _*/ );
    00056 sword  ocon  ( /*_ struct cda_def *lda _*/ );
    00057
    00058
    00059 /*
    00060  * Oci DEFINe (Piecewise or with Skips)
    00061  */
    00062 sword  odefinps( /*_ struct cda_def *cursor, ub1 opcode, sword pos,ub1 *bufctx,
    00063                          sb4 bufl, sword ftype, sword scale,
    00064                          sb2 *indp, OraText *fmt, sb4 fmtl, sword fmtt,
    00065                          ub2 *rlen, ub2 *rcode,
    00066                          sb4 pv_skip, sb4 ind_skip, sb4 alen_skip, sb4 rc_skip _*/ );
    00067 sword  odescr( /*_ struct cda_def *cursor, sword pos, sb4 *dbsize,
    00068                    sb2 *dbtype, sb1 *cbuf, sb4 *cbufl, sb4 *dsize,
    00069                    sb2 *prec, sb2 *scale, sb2 *nullok _*/ );
    00070 sword  odessp( /*_ struct cda_def *cursor, OraText *objnam, size_t onlen,
    00071                    ub1 *rsv1, size_t rsv1ln, ub1 *rsv2, size_t rsv2ln,
    00072                    ub2 *ovrld, ub2 *pos, ub2 *level, OraText **argnam,
    00073                    ub2 *arnlen, ub2 *dtype, ub1 *defsup, ub1* mode,
    00074                    ub4 *dtsiz, sb2 *prec, sb2 *scale, ub1 *radix,
    00075                    ub4 *spare, ub4 *arrsiz _*/ );
    00076 sword  oerhms( /*_ struct cda_def *lda, sb2 rcode, OraText *buf,
    00077                    sword bufsiz _*/ );
    00078 sword  oermsg( /*_ sb2 rcode, OraText *buf _*/ );
    00079 sword  oexec ( /*_ struct cda_def *cursor _*/ );
    00080 sword  oexfet( /*_ struct cda_def *cursor, ub4 nrows,
    00081                    sword cancel, sword exact _*/ );
    00082 sword  oexn  ( /*_ struct cda_def *cursor, sword iters, sword rowoff _*/ );
    00083 sword  ofen  ( /*_ struct cda_def *cursor, sword nrows _*/ );
    00084 sword  ofetch( /*_ struct cda_def *cursor _*/ );
    00085 sword  oflng ( /*_ struct cda_def *cursor, sword pos, ub1 *buf,
    00086                    sb4 bufl, sword dtype, ub4 *retl, sb4 offset _*/ );
    00087 sword  ogetpi( /*_ struct cda_def *cursor, ub1 *piecep, dvoid **ctxpp,
    00088                    ub4 *iterp, ub4 *indexp _*/ );
    00089 sword  opinit( /*_ ub4 mode _*/ );
    00090 sword  olog  ( /*_ struct cda_def *lda, ub1 *hst,
    00091                    OraText *uid, sword uidl,
    00092                    OraText *psw, sword pswl,
    00093                    OraText *conn, sword connl,
    00094                    ub4 mode _*/ );
    00095 sword  ologof( /*_ struct cda_def *lda _*/ );
    00096 sword  oopen ( /*_ struct cda_def *cursor, struct cda_def *lda,
    00097                    OraText *dbn, sword dbnl, sword arsize,
    00098                    OraText *uid, sword uidl _*/ );
    00099 sword  oopt  ( /*_ struct cda_def *cursor, sword rbopt, sword waitopt _*/ );
    00100 sword  oparse( /*_ struct cda_def *cursor, OraText *sqlstm, sb4 sqllen,
    00101                    sword defflg, ub4 lngflg _*/ );
    00102 sword  orol  ( /*_ struct cda_def *lda _*/ );
    00103 sword  osetpi( /*_ struct cda_def *cursor, ub1 piece, dvoid *bufp,
    00104                    ub4 *lenp _*/ );
    00105 void sqlld2  ( /*_ struct cda_def *lda, OraText *cname, sb4 *cnlen _*/ );
    00106 void sqllda  ( /*_ struct cda_def *lda _*/ );
    00107
    00108 /* non-blocking functions */
    00109 sword onbset( /*_ struct cda_def *lda _*/ );
    00110 sword onbtst( /*_ struct cda_def *lda _*/ );
    00111 sword onbclr( /*_ struct cda_def *lda _*/ );
    00112 sword ognfd ( /*_ struct cda_def *lda, dvoid *fdp _*/ );
    00113
    00114
    00115
    00116 /*
    00117  * OBSOLETE FUNCTIONS
    00118  */
    00119
    00120 /*
    00121  * OBSOLETE BIND CALLS-- use obindps()
    00122  */
    00123 sword  obndra( /*_ struct cda_def *cursor, OraText *sqlvar, sword sqlvl,
    00124                  ub1 *progv, sword progvl, sword ftype, sword scale,
    00125                  sb2 *indp, ub2 *alen, ub2 *arcode, ub4 maxsiz,
    00126                  ub4 *cursiz, OraText *fmt, sword fmtl, sword fmtt _*/ );
    00127 sword  obndrn( /*_ struct cda_def *cursor, sword sqlvn, ub1 *progv,
    00128                  sword progvl, sword ftype, sword scale, sb2 *indp,
    00129                  OraText *fmt, sword fmtl, sword fmtt _*/ );
    00130 sword  obndrv( /*_ struct cda_def *cursor, OraText *sqlvar, sword sqlvl,
    00131                  ub1 *progv, sword progvl, sword ftype, sword scale,
    00132                  sb2 *indp, OraText *fmt, sword fmtl, sword fmtt _*/ );
    00133
    00134 /*
    00135  * OBSOLETE DEFINE CALLS-- use odefinps()
    00136  */
    00137 sword  odefin( /*_ struct cda_def *cursor, sword pos, ub1 *buf,
    00138                  sword bufl, sword ftype, sword scale, sb2 *indp,
    00139                  OraText *fmt, sword fmtl, sword fmtt, ub2 *rlen,
    00140                  ub2 *rcode _*/ );
    00141
    00142
    00143 /* older calls ; preferred equivalent calls above */
    00144 sword  odsc  ( /*_ struct cda_def *cursor, sword pos, sb2 *dbsize,
    00145                    sb2 *fsize, sb2 *rcode, sb2 *dtype, sb1 *buf,
    00146                    sb2 *bufl, sb2 *dsize _*/ );
    00147 sword  oname ( /*_ struct cda_def *cursor, sword pos, sb1 *tbuf,
    00148                    sb2 *tbufl, sb1 *buf, sb2 *bufl _*/ );
    00149 sword  olon  ( /*_ struct cda_def *lda, OraText *uid, sword uidl,
    00150                    OraText *pswd, sword pswdl, sword audit _*/ );
    00151 sword  orlon ( /*_ struct cda_def *lda, ub1 *hda, OraText *uid,
    00152                    sword uidl, OraText *pswd, sword pswdl, sword audit _*/ );
    00153 sword  osql3 ( /*_ struct cda_def *cda, OraText *sqlstm, sword sqllen _*/ );
    00154
    00155
    00156
    00157
    00158
    00159
    00160
    00161 #endif  /* OCIKPR */
    00162
    00163
    00164
    00165
    00166
    00167
    00168

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines