home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / zip22.zip / vms / vmsmunch.h < prev    next >
C/C++ Source or Header  |  1996-12-14  |  2KB  |  48 lines

  1. /*---------------------------------------------------------------------------
  2.  
  3.   vmsmunch.h
  4.  
  5.   A few handy #defines, plus the contents of three header files from Joe
  6.   Meadows' FILE program.  Used by VMSmunch and by various routines which
  7.   call VMSmunch (e.g., in Zip and UnZip).
  8.  
  9.         02-Apr-1994     Jamie Hanrahan  jeh@cmkrnl.com
  10.                         Moved definition of VMStimbuf struct from vmsmunch.c
  11.                         to here.
  12.  
  13.         06-Apr-1994     Jamie Hanrahan  jeh@cmkrnl.com
  14.                         Moved "contents of three header files" (not needed by
  15.                         callers of vmsmunch) to VMSdefs.h .
  16.  
  17.         07-Apr-1994     Richard Levitte levitte@e.kth.se
  18.                         Inserted a forward declaration of VMSmunch.
  19.  
  20.         17-Sep-1995     Chr. Spieler    spieler@linac.ikp.physik.th-darmstadt.de
  21.                         Added wrapper to prevent multiple loading of this file.
  22.  
  23.         10-Oct-1995     Chr. Spieler    spieler@linac.ikp.physik.th-darmstadt.de
  24.                         Use lowercase names for all VMS specific source files
  25.  
  26.         15-Dec-1995     Chr. Spieler    spieler@linac.ikp.physik.th-darmstadt.de
  27.                         Removed ALL "tabs" from source file.
  28.  
  29.   ---------------------------------------------------------------------------*/
  30.  
  31. #ifndef __vmsmunch_h
  32. #define __vmsmunch_h 1
  33.  
  34. #define GET_TIMES       4
  35. #define SET_TIMES       0
  36. #define GET_RTYPE       1
  37. #define CHANGE_RTYPE    2
  38. #define RESTORE_RTYPE   3
  39.  
  40. struct VMStimbuf {      /* VMSmunch */
  41.     char *actime;       /* VMS revision date, ASCII format */
  42.     char *modtime;      /* VMS creation date, ASCII format */
  43. };
  44.  
  45. extern int VMSmunch(char *filename, int action, char *ptr);
  46.  
  47. #endif /* !__vmsmunch_h */
  48.