/*----------------------------------------------------------------------
   cutil.h:  client-side utilities for communications with server.

   Copyright (c) 1993-1994 Raima Corporation.  All Rights Reserved.
----------------------------------------------------------------------*/

#ifndef CUTIL_H
#define CUTIL_H

short REXTERNAL newParmList(
    short nFields,
    DPLDATADESC **ppParms );

short REXTERNAL ParmListErr(
    DPLDATADESC *pParms,
    char *szFcnName
);

short REXTERNAL setParmListErr(
    DPLDATADESC *pParms,
    short sErrCode,
    unsigned short offset);     /* 0 for current parameter, 1 for next */

short REXTVARARG rpc_PutParms(
    DPLDATADESC *pParms,    /* DPL parameter list */
    char *pszFuncName,      /* caller's name (for error reporting) */
    char *format,           /* format string */
    ...);                   /* variable length arg list of (void *), null
                             * terminated */

#endif /* CUTIL_H */

/*
$Header:   P:/PAT/INCLUDE/VCS/CUTIL.H_V   1.2   19 Apr 1994 10:19:28   wayne  $
*/
