home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / easrc.zip / cutil.h next >
Text File  |  1994-09-28  |  1KB  |  35 lines

  1. /*******************************************************************
  2.    Common definitons for CUTIL.LIB
  3.  *******************************************************************/
  4. #ifndef __CUTIL__
  5.   #define __CUTIL__
  6.  
  7.   /* definitions for the history-function */
  8.   #define HISTORYTEMPLATE "%1: %2 (%3 / %4)"    /* Outline of history line */
  9.  
  10.   #define CCHMAXHISTORY         64          /* Max. length of line in protocol field  */
  11.   #define MAXHISTORYLINES       256         /* Max. number of lines in protokol field */
  12.  
  13.   #define EA_HISTORYNAME    ".HISTORY"      /* EA-name for history */
  14.  
  15.   /* structure for entry of data to EAWriteMVMT */
  16.   typedef struct _STRUC_EAT_DATA
  17.       {
  18.       USHORT          usEAType;             /* EAT_* */
  19.       USHORT          uscValue;             /* length of pValue */
  20.       PBYTE           pValue;               /* buffer */
  21.       } STRUC_EAT_DATA;
  22.   typedef STRUC_EAT_DATA *PSTRUC_EAT_DATA;
  23.  
  24.   BOOL   _System EAWriteASCII (PCHAR, PCHAR, PCHAR);
  25.   BOOL   _System EAReadASCII  (PCHAR, PCHAR, PCHAR, PUSHORT);
  26.   BOOL   _System EAWrite (PCHAR, PCHAR, PSTRUC_EAT_DATA);
  27.   BOOL   _System EARead  (PCHAR, PCHAR, PSTRUC_EAT_DATA);
  28.   BOOL   _System EAWriteMV (PCHAR, PCHAR, USHORT, PSTRUC_EAT_DATA);
  29.   BOOL   _System EAReadMV  (PCHAR, PCHAR, USHORT, PSTRUC_EAT_DATA);
  30.   BOOL   _System History (PCHAR, PCHAR, PCHAR);
  31.   APIRET _System GetDateTime (PDATETIME, PCHAR, PCHAR);
  32.  
  33. #endif /* __CUTIL__ */
  34.  
  35.