Annotation of win32/sql/oracle/include/oci/ociapr.h, revision 1.1.1.1

1.1       parser      1: /*
                      2:  * $Header: /var/lib/cvsroot/parser3/parser3/src/sql/oracle/oracle32/include/oci/ociapr.h,v 1.1 2001/08/22 14:02:18 parser Exp $ 
                      3:  */
                      4: 
                      5: /* Copyright (c) 1991, 1996, 1998 by Oracle Corporation */
                      6: /*
                      7:    NAME
                      8:      ociapr.h
                      9:    MODIFIED   (MM/DD/YY)
                     10:     sgollapu   05/19/98 -  Change text to OraText
                     11:     dchatter   11/10/95 -  add ognfd() - get native fd
                     12:     lchidamb   04/06/95 -  drop maxdsz from obindps/odefinps
                     13:     slari      04/07/95 -  add opinit
                     14:     dchatter   03/08/95 -  osetpi and ogetpi
                     15:     lchidamb   12/09/94 -  add obindps() and odefinps()
                     16:     dchatter   03/06/95 -  merge changes from branch 1.1.720.2
                     17:     dchatter   11/14/94 -  merge changes from branch 1.1.720.1
                     18:     dchatter   02/08/95 -  olog call; drop onblon
                     19:     dchatter   10/31/94 -  new functions for non-blocking oci
                     20:     rkooi2     11/27/92 -  Changing datatypes to agree with ocidef.h 
                     21:     rkooi2     10/26/92 -  More portability mods 
                     22:     rkooi2     10/18/92 -  Changed to agree with oci.c 
                     23:     sjain      03/16/92 -  Creation 
                     24: */
                     25: /*
                     26:  *  Declare the OCI functions.
                     27:  *  Prototype information is included.
                     28:  *  Use this header for ANSI C compilers.
                     29:  */
                     30: 
                     31: #ifndef OCIAPR
                     32: #define OCIAPR
                     33: 
                     34: #include <oratypes.h>
                     35: #include <ocidfn.h>
                     36: 
                     37: /*
                     38:  * Oci BIND (Piecewise or with Skips) 
                     39:  */
                     40: sword  obindps(struct cda_def *cursor, ub1 opcode, OraText *sqlvar, 
                     41:               sb4 sqlvl, ub1 *pvctx, sb4 progvl, 
                     42:               sword ftype, sword scale,
                     43:               sb2 *indp, ub2 *alen, ub2 *arcode, 
                     44:               sb4 pv_skip, sb4 ind_skip, sb4 alen_skip, sb4 rc_skip,
                     45:               ub4 maxsiz, ub4 *cursiz,
                     46:               OraText *fmt, sb4 fmtl, sword fmtt);
                     47: sword  obreak(struct cda_def *lda);
                     48: sword  ocan  (struct cda_def *cursor);
                     49: sword  oclose(struct cda_def *cursor);
                     50: sword  ocof  (struct cda_def *lda);
                     51: sword  ocom  (struct cda_def *lda);
                     52: sword  ocon  (struct cda_def *lda);
                     53: 
                     54: 
                     55: /*
                     56:  * Oci DEFINe (Piecewise or with Skips) 
                     57:  */
                     58: sword  odefinps(struct cda_def *cursor, ub1 opcode, sword pos,ub1 *bufctx,
                     59:                sb4 bufl, sword ftype, sword scale, 
                     60:                sb2 *indp, OraText *fmt, sb4 fmtl, sword fmtt, 
                     61:                ub2 *rlen, ub2 *rcode,
                     62:                sb4 pv_skip, sb4 ind_skip, sb4 alen_skip, sb4 rc_skip);
                     63: sword  odessp(struct cda_def *cursor, OraText *objnam, size_t onlen,
                     64:               ub1 *rsv1, size_t rsv1ln, ub1 *rsv2, size_t rsv2ln,
                     65:               ub2 *ovrld, ub2 *pos, ub2 *level, OraText **argnam,
                     66:               ub2 *arnlen, ub2 *dtype, ub1 *defsup, ub1* mode,
                     67:               ub4 *dtsiz, sb2 *prec, sb2 *scale, ub1 *radix,
                     68:               ub4 *spare, ub4 *arrsiz);
                     69: sword  odescr(struct cda_def *cursor, sword pos, sb4 *dbsize,
                     70:                  sb2 *dbtype, sb1 *cbuf, sb4 *cbufl, sb4 *dsize,
                     71:                  sb2 *prec, sb2 *scale, sb2 *nullok);
                     72: sword  oerhms   (struct cda_def *lda, sb2 rcode, OraText *buf,
                     73:                  sword bufsiz);
                     74: sword  oermsg   (sb2 rcode, OraText *buf);
                     75: sword  oexec    (struct cda_def *cursor);
                     76: sword  oexfet   (struct cda_def *cursor, ub4 nrows,
                     77:                  sword cancel, sword exact);
                     78: sword  oexn     (struct cda_def *cursor, sword iters, sword rowoff);
                     79: sword  ofen     (struct cda_def *cursor, sword nrows);
                     80: sword  ofetch   (struct cda_def *cursor);
                     81: sword  oflng    (struct cda_def *cursor, sword pos, ub1 *buf,
                     82:                  sb4 bufl, sword dtype, ub4 *retl, sb4 offset);
                     83: sword  ogetpi   (struct cda_def *cursor, ub1 *piecep, dvoid **ctxpp, 
                     84:                  ub4 *iterp, ub4 *indexp);
                     85: sword  oopt     (struct cda_def *cursor, sword rbopt, sword waitopt);
                     86: sword  opinit   (ub4 mode);
                     87: sword  olog     (struct cda_def *lda, ub1* hda,
                     88:                  OraText *uid, sword uidl,
                     89:                  OraText *pswd, sword pswdl, 
                     90:                  OraText *conn, sword connl, 
                     91:                  ub4 mode);
                     92: sword  ologof   (struct cda_def *lda);
                     93: sword  oopen    (struct cda_def *cursor, struct cda_def *lda,
                     94:                  OraText *dbn, sword dbnl, sword arsize,
                     95:                  OraText *uid, sword uidl);
                     96: sword  oparse   (struct cda_def *cursor, OraText *sqlstm, sb4 sqllen,
                     97:                  sword defflg, ub4 lngflg);
                     98: sword  orol     (struct cda_def *lda);
                     99: sword  osetpi   (struct cda_def *cursor, ub1 piece, dvoid *bufp, ub4 *lenp);
                    100: 
                    101: void sqlld2     (struct cda_def *lda, OraText *cname, sb4 *cnlen);
                    102: void sqllda     (struct cda_def *lda);
                    103: 
                    104: /* non-blocking functions */
                    105: sword onbset    (struct cda_def *lda ); 
                    106: sword onbtst    (struct cda_def *lda ); 
                    107: sword onbclr    (struct cda_def *lda ); 
                    108: sword ognfd     (struct cda_def *lda, dvoid *fdp);
                    109: 
                    110: 
                    111: /* 
                    112:  * OBSOLETE CALLS 
                    113:  */
                    114: 
                    115: /* 
                    116:  * OBSOLETE BIND CALLS
                    117:  */
                    118: sword  obndra(struct cda_def *cursor, OraText *sqlvar, sword sqlvl,
                    119:                  ub1 *progv, sword progvl, sword ftype, sword scale,
                    120:                  sb2 *indp, ub2 *alen, ub2 *arcode, ub4 maxsiz,
                    121:                  ub4 *cursiz, OraText *fmt, sword fmtl, sword fmtt);
                    122: sword  obndrn(struct cda_def *cursor, sword sqlvn, ub1 *progv,
                    123:                  sword progvl, sword ftype, sword scale, sb2 *indp,
                    124:                  OraText *fmt, sword fmtl, sword fmtt);
                    125: sword  obndrv(struct cda_def *cursor, OraText *sqlvar, sword sqlvl,
                    126:                  ub1 *progv, sword progvl, sword ftype, sword scale,
                    127:                  sb2 *indp, OraText *fmt, sword fmtl, sword fmtt);
                    128: 
                    129: /*
                    130:  * OBSOLETE DEFINE CALLS
                    131:  */
                    132: sword  odefin(struct cda_def *cursor, sword pos, ub1 *buf,
                    133:              sword bufl, sword ftype, sword scale, sb2 *indp,
                    134:              OraText *fmt, sword fmtl, sword fmtt, ub2 *rlen, ub2 *rcode);
                    135: 
                    136: /* older calls ; preferred equivalent calls above */
                    137: 
                    138: sword  oname    (struct cda_def *cursor, sword pos, sb1 *tbuf,
                    139:                  sb2 *tbufl, sb1 *buf, sb2 *bufl);
                    140: sword  orlon    (struct cda_def *lda, ub1 *hda, 
                    141:                  OraText *uid, sword uidl, 
                    142:                  OraText *pswd, sword pswdl, 
                    143:                  sword audit);
                    144: sword  olon     (struct cda_def *lda, OraText *uid, sword uidl,
                    145:                  OraText *pswd, sword pswdl, sword audit);
                    146: sword  osql3    (struct cda_def *cda, OraText *sqlstm, sword sqllen);
                    147: sword  odsc     (struct cda_def *cursor, sword pos, sb2 *dbsize,
                    148:                  sb2 *fsize, sb2 *rcode, sb2 *dtype, sb1 *buf,
                    149:                  sb2 *bufl, sb2 *dsize);
                    150: 
                    151: #endif /* OCIAPR */

E-mail: