home *** CD-ROM | disk | FTP | other *** search
- /* Copyright (c) 1986 by Oracle Corporation */
-
- /***************************************************************
- * The SQLDA descriptor definition *
- *--------------------------------------------------------------*
- * 8086/MSDOS Version *
- * *
- * 01/30/87 J. Noa Make conform to SQLLIB pc2dcd() *
- * and sqlgd2() *
- ****************************************************************/
-
- #ifndef SQLDA_
- #define SQLDA_ 1
-
- #ifdef T
- # undef T
- #endif
- #ifdef F
- # undef F
- #endif
-
- struct SQLDA {
- int N; /* Descriptor size in number of entries */
- unsigned char **V; /* Ptr to Arr of addresses of main variables */
- unsigned long *L; /* Ptr to Arr of lengths of buffers */
- unsigned short *T; /* Ptr to Arr of types of buffers */
- unsigned short **I; /* Ptr to Arr of addresses of indicator vars */
- int F; /* Number of variables found by DESCRIBE */
- unsigned char **S; /* Ptr to Arr of variable name pointers */
- unsigned short *M; /* Ptr to Arr of max lengths of var. names */
- unsigned short *C; /* Ptr to Arr of current lengths of var. names */
- unsigned char **X; /* Ptr to Arr of ind. var. name pointers */
- unsigned short *Y; /* Ptr to Arr of max lengths of ind. var. names */
- unsigned short *Z; /* Ptr to Arr of cur lengths of ind. var. names */
- };
-
- typedef struct SQLDA SQLDA;
-
- #endif