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