home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a524 / 42.ddi / lib / SQLDA.H < prev   
Encoding:
C/C++ Source or Header  |  1991-03-04  |  1.7 KB  |  56 lines

  1. /*
  2.  * $Header: sqlda.h,v 10301.1 88/03/31 15:08:22 rcs Exp $ sqlda.h Copyr (c) 1987 Oracle
  3.  */
  4.  
  5. /* v1pcc,10301,v1pcc$src:[defs.10301] */
  6. /***************************************************************
  7. *      The SQLDA descriptor definition                   *
  8. *--------------------------------------------------------------*
  9. *      VAX/3B Version                           *
  10. *                                                              *
  11. *  Copyright (c) 1987 by Oracle Corporation                    *
  12. ***************************************************************/
  13.  
  14. /*  MODIFIED
  15.     Morse      12/01/87 - undef L and S for v6 include files
  16.     Richey     07/13/87 - change int defs to long 
  17.     Clare      09/13/84 - Port: Ch types to match SQLLIB structs
  18.     Clare      10/02/86 - Add ifndef SQLDA
  19. */
  20.  
  21. #ifndef SQLDA_
  22. #define SQLDA_ 1
  23.  
  24. #ifdef T
  25. # undef T
  26. #endif
  27. #ifdef F
  28. # undef F
  29. #endif
  30.  
  31. #ifdef S
  32. # undef S
  33. #endif
  34. #ifdef L
  35. # undef L
  36. #endif
  37.  
  38. struct SQLDA {
  39.   long      N;   /* Descriptor size in number of entries           */
  40.   char    **V;   /* Ptr to Arr of addresses of main variables    */
  41.   long     *L;   /* Ptr to Arr of lengths of buffers           */
  42.   short  *T;   /* Ptr to Arr of types of buffers           */
  43.   short **I;   /* Ptr to Arr of addresses of indicator vars    */
  44.   long      F;   /* Number of variables found by DESCRIBE        */
  45.   char    **S;   /* Ptr to Arr of variable name pointers           */
  46.   short  *M;   /* Ptr to Arr of max lengths of var. names      */
  47.   short  *C;   /* Ptr to Arr of current lengths of var. names  */
  48.   char    **X;   /* Ptr to Arr of ind. var. name pointers        */
  49.   short  *Y;   /* Ptr to Arr of max lengths of ind. var. names */
  50.   short  *Z;   /* Ptr to Arr of cur lengths of ind. var. names */
  51.   };
  52.  
  53. typedef struct SQLDA SQLDA;
  54.  
  55. #endif
  56.