home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0000 - 0009 / ibm0000-0009 / ibm0003.tar / ibm0003 / ORACLE15.ZIP / SQLDA.H < prev    next >
Encoding:
C/C++ Source or Header  |  1987-07-06  |  1.4 KB  |  40 lines

  1. /* Copyright (c) 1986 by Oracle Corporation */
  2.  
  3. /***************************************************************
  4. *      The SQLDA descriptor definition                   *
  5. *--------------------------------------------------------------*
  6. *      8086/MSDOS Version                    *
  7. *                                   *
  8. * 01/30/87  J. Noa   Make conform to SQLLIB pc2dcd()           *
  9. *              and sqlgd2()                   *
  10. ****************************************************************/
  11.  
  12. #ifndef SQLDA_
  13. #define SQLDA_ 1
  14.  
  15. #ifdef T
  16. # undef T
  17. #endif
  18. #ifdef F
  19. # undef F
  20. #endif
  21.  
  22. struct SQLDA {
  23.   int            N;     /* Descriptor size in number of entries     */
  24.   unsigned char   **V;     /* Ptr to Arr of addresses of main variables     */
  25.   unsigned long    *L;     /* Ptr to Arr of lengths of buffers         */
  26.   unsigned short   *T;     /* Ptr to Arr of types of buffers         */
  27.   unsigned short  **I;     /* Ptr to Arr of addresses of indicator vars     */
  28.   int            F;     /* Number of variables found by DESCRIBE     */
  29.   unsigned char   **S;     /* Ptr to Arr of variable name pointers     */
  30.   unsigned short   *M;     /* Ptr to Arr of max lengths of var. names     */
  31.   unsigned short   *C;     /* Ptr to Arr of current lengths of var. names  */
  32.   unsigned char   **X;     /* Ptr to Arr of ind. var. name pointers     */
  33.   unsigned short   *Y;     /* Ptr to Arr of max lengths of ind. var. names */
  34.   unsigned short   *Z;     /* Ptr to Arr of cur lengths of ind. var. names */
  35.   };
  36.  
  37. typedef struct SQLDA SQLDA;
  38.  
  39. #endif
  40.