home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 February / PCWK0296.iso / po7_win / db / rdbms71 / ocikpr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-07  |  4.2 KB  |  91 lines

  1. /*
  2.  * $Header: ocikpr.h 7001200.2 92/12/20 17:46:23 twang Generic<base> $ 
  3.  */
  4.  
  5. /* Copyright (c) 1991 by Oracle Corporation */
  6. /*
  7.    NAME
  8.      ocikpr.h - header of K & R compilers
  9.    MODIFIED   (MM/DD/YY)
  10.     rkooi2     11/27/92 -  Changing datatypes (in comments) and return types 
  11.     rkooi2     10/26/92 -  More portability mods 
  12.     rkooi2     10/18/92 -  Changed to agree with oci.c 
  13.     sjain      03/16/92 -  Creation 
  14. */
  15.  
  16. /*
  17.  *  Declare the OCI functions.
  18.  *  Prototype information is commented out.
  19.  *  Use this header for non-ANSI C compilers.
  20.  *  Note that you will need to include ocidfn.h in the .c files
  21.  *    to get the definition for cda_def.
  22.  */
  23.  
  24. #ifndef OCIKPR
  25. #define OCIKPR
  26.  
  27. #include <oratypes.h>
  28.  
  29. sword  obndra( /*_ struct cda_def *cursor, text *sqlvar, sword sqlvl,
  30.                  ub1 *progv, sword progvl, sword ftype, sword scale,
  31.                  sb2 *indp, ub2 *alen, ub2 *arcode, ub4 maxsiz,
  32.                  ub4 *cursiz, text *fmt, sword fmtl, sword fmtt _*/ );
  33. sword  obndrn( /*_ struct cda_def *cursor, sword sqlvn, ub1 *progv,
  34.                  sword progvl, sword ftype, sword scale, sb2 *indp,
  35.                  text *fmt, sword fmtl, sword fmtt _*/ );
  36. sword  obndrv( /*_ struct cda_def *cursor, text *sqlvar, sword sqlvl,
  37.                  ub1 *progv, sword progvl, sword ftype, sword scale,
  38.                  sb2 *indp, text *fmt, sword fmtl, sword fmtt _*/ );
  39. sword  obreak( /*_ struct cda_def *lda _*/ );
  40. sword  ocan  ( /*_ struct cda_def *cursor _*/ );
  41. sword  oclose( /*_ struct cda_def *cursor _*/ );
  42. sword  ocof  ( /*_ struct cda_def *lda _*/ );
  43. sword  ocom  ( /*_ struct cda_def *lda _*/ );
  44. sword  ocon  ( /*_ struct cda_def *lda _*/ );
  45. sword  odefin( /*_ struct cda_def *cursor, sword pos, ub1 *buf,
  46.                  sword bufl, sword ftype, sword scale, sb2 *indp,
  47.                  text *fmt, sword fmtl, sword fmtt, ub2 *rlen, ub2 *rcode _*/ );
  48. sword  odsc  ( /*_ struct cda_def *cursor, sword pos, sb2 *dbsize,
  49.                  sb2 *fsize, sb2 *rcode, sb2 *dtype, sb1 *buf,
  50.                  sb2 *bufl, sb2 *dsize _*/ );
  51. sword  odescr( /*_ struct cda_def *cursor, sword pos, sb4 *dbsize,
  52.                  sb2 *dbtype, sb1 *cbuf, sb4 *cbufl, sb4 *dsize,
  53.                  sb2 *prec, sb2 *scale, sb2 *nullok _*/ );
  54. sword  odessp( /*_ struct cda_def *cursor, text *objnam, size_t onlen,
  55.               ub1 *rsv1, size_t rsv1ln, ub1 *rsv2, size_t rsv2ln,
  56.               ub2 *ovrld, ub2 *pos, ub2 *level, text **argnam,
  57.               ub2 *arnlen, ub2 *dtype, ub1 *defsup, ub1* mode,
  58.               ub4 *dtsiz, sb2 *prec, sb2 *scale, ub1 *radix,
  59.               ub4 *spare, ub4 *arrsiz _*/ );
  60. sword  oerhms( /*_ struct cda_def *lda, sb2 rcode, text *buf,
  61.                  sword bufsiz _*/ );
  62. sword  oermsg( /*_ sb2 rcode, text *buf _*/ );
  63. sword  oexec ( /*_ struct cda_def *cursor _*/ );
  64. sword  oexfet( /*_ struct cda_def *cursor, ub4 nrows,
  65.                  sword cancel, sword exact _*/ );
  66. sword  oexn  ( /*_ struct cda_def *cursor, sword iters, sword rowoff _*/ );
  67. sword  ofen  ( /*_ struct cda_def *cursor, sword nrows _*/ );
  68. sword  ofetch( /*_ struct cda_def *cursor _*/ );
  69. sword  oflng ( /*_ struct cda_def *cursor, sword pos, ub1 *buf,
  70.                  sb4 bufl, sword dtype, ub4 *retl, sb4 offset _*/ );
  71. sword  ologof( /*_ struct cda_def *lda _*/ );
  72. sword  olon  ( /*_ struct cda_def *lda, text *uid, sword uidl,
  73.                  text *pswd, sword pswdl, sword audit _*/ );
  74. sword  oopen ( /*_ struct cda_def *cursor, struct cda_def *lda,
  75.                  text *dbn, sword dbnl, sword arsize,
  76.                  text *uid, sword uidl _*/ );
  77. sword  oopt  ( /*_ struct cda_def *cursor, sword rbopt, sword waitopt _*/ );
  78. sword  oname ( /*_ struct cda_def *cursor, sword pos, sb1 *tbuf,
  79.                  sb2 *tbufl, sb1 *buf, sb2 *bufl _*/ );
  80. sword  oparse( /*_ struct cda_def *cursor, text *sqlstm, sb4 sqllen,
  81.                  sword defflg, ub4 lngflg _*/ );
  82. sword  orlon ( /*_ struct cda_def *lda, ub1 *hda, text *uid,
  83.                  sword uidl, text *pswd, sword pswdl, sword audit _*/ );
  84. sword  orol  ( /*_ struct cda_def *lda _*/ );
  85. sword  osql3 ( /*_ struct cda_def *cda, text *sqlstm, sword sqllen _*/ );
  86. void sqlld2( /*_ struct cda_def *lda, text *cname, sb4 *cnlen _*/ );
  87. void sqllda( /*_ struct cda_def *lda _*/ );
  88.  
  89.  
  90. #endif  /* OCIKPR */
  91.