Listing 3 (xqlm.h)

/*-----------------------------------------------------
    HEADER FILE: XQLM.H

    created 09/03/90 by Mark Pruett

    Function prototypes for XQLM functions.

    This header file should be included in all
    source files that use the routines below.
-----------------------------------------------------*/

int XQLCompile  (int  iCursorID,
                int  *iStatementLen,
                char *sStatement);

int XQLConvert  (int  iOption,
                int  iType,
                int  iSize,
                int  iDec,
                int  iDSize,
                char *sValue,
                char *sRetVal,
                char *sMask,
                int  iJustify );

int XQLCursor   (int  *iCursorID );

int XQLDescribe (int  iCursorID,
                int  iPosition,
                int  *iDataType,
                int  *iSize,
                int  *iDecPlaces,
                int  *iDisplayLen,
                int  *iNameLen,
                char *sName);

int XQLFetch    (int  iCursorID,
                int  iOption,
                int  *iBufLen,
                char *bDataBuf,
                long *lCount,
                int  iASCIIFlag,
                int  iSpacing );

int XQLFormat   (int iCursorID,
                int  iPosition,
                int  iMaskLen,
                char *sMask);

int XQLFree     (int iCursorID);

int XQLLogin    (char *sUser,
                char *sPassword,
                char *sDDPath,
                char *sDataPath,
                char *sReserved,
                int  iReserved );

int XQLLogout   (void);

int XQLStatus   (int  iCursorID,
                int  iOption,
                char *sStatBuf );

int XQLValidate (int  *iCount,
                char *sFieldName,
                int  iBufLen,
                char *bDataBuf );