home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_09_06 / 9n06036a < prev    next >
Text File  |  1991-03-05  |  2KB  |  73 lines

  1. /*---------------------------------------------------
  2.     HEADER FILE: XQLM.H
  3.  
  4.     created 09/03/90 by Mark Pruett
  5.  
  6.     Function prototypes for XQLM functions.
  7.  
  8.     This header file should be included in all
  9.     source files that use the routines below.
  10. ---------------------------------------------------*/
  11.  
  12. int XQLCompile  (int  iCursorID,
  13.                  int  *iStatementLen,
  14.                  char *sStatement);
  15.  
  16. int XQLConvert  (int  iOption,
  17.                  int  iType,
  18.                  int  iSize,
  19.                  int  iDec,
  20.                  int  iDSize,
  21.                  char *sValue,
  22.                  char *sRetVal,
  23.                  char *sMask,
  24.                  int  iJustify );
  25.  
  26. int XQLCursor   (int  *iCursorID );
  27.  
  28. int XQLDescribe (int  iCursorID,
  29.                  int  iPosition,
  30.                  int  *iDataType,
  31.                  int  *iSize,
  32.                  int  *iDecPlaces,
  33.                  int  *iDisplayLen,
  34.                  int  *iNameLen,
  35.                  char *sName);
  36.  
  37. int XQLFetch    (int  iCursorID,
  38.                  int  iOption,
  39.                  int  *iBufLen,
  40.                  char *bDataBuf,
  41.                  long *lCount,
  42.                  int  iASCIIFlag,
  43.                  int  iSpacing );
  44.  
  45. int XQLFormat   (int  iCursorID,
  46.                  int  iPosition,
  47.                  int  iMaskLen,
  48.                  char *sMask);
  49.  
  50. int XQLFree     (int  iCursorID);
  51.  
  52. int XQLLogin    (char *sUser,
  53.                  char *sPassword,
  54.                  char *sDDPath,
  55.                  char *sDataPath,
  56.                  char *sReserved,
  57.                  int  iReserved );
  58.  
  59. int XQLLogout   (void);
  60.  
  61. int XQLStatus   (int  iCursorID,
  62.                  int  iOption,
  63.                  char *sStatBuf );
  64.  
  65. int XQLValidate (int  *iCount,
  66.                  char *sFieldName,
  67.                  int  iBufLen,
  68.                  char *bDataBuf );
  69.  
  70.  
  71.  
  72.  
  73.