vmsmunch.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. Copyright (c) 1990-1999 Info-ZIP. All rights reserved.
  3. See the accompanying file LICENSE, version 1999-Oct-05 or later
  4. (the contents of which are also included in zip.h) for terms of use.
  5. If, for some reason, both of these files are missing, the Info-ZIP license
  6. also may be found at: ftp://ftp.cdrom.com/pub/infozip/license.html
  7. */
  8. /*---------------------------------------------------------------------------
  9. vmsmunch.h
  10. A few handy #defines, plus the contents of three header files from Joe
  11. Meadows' FILE program. Used by VMSmunch and by various routines which
  12. call VMSmunch (e.g., in Zip and UnZip).
  13. 02-Apr-1994 Jamie Hanrahan jeh@cmkrnl.com
  14. Moved definition of VMStimbuf struct from vmsmunch.c
  15. to here.
  16. 06-Apr-1994 Jamie Hanrahan jeh@cmkrnl.com
  17. Moved "contents of three header files" (not needed by
  18. callers of vmsmunch) to VMSdefs.h .
  19. 07-Apr-1994 Richard Levitte levitte@e.kth.se
  20. Inserted a forward declaration of VMSmunch.
  21. 17-Sep-1995 Chr. Spieler spieler@linac.ikp.physik.th-darmstadt.de
  22. Added wrapper to prevent multiple loading of this file.
  23. 10-Oct-1995 Chr. Spieler spieler@linac.ikp.physik.th-darmstadt.de
  24. Use lowercase names for all VMS specific source files
  25. 15-Dec-1995 Chr. Spieler spieler@linac.ikp.physik.th-darmstadt.de
  26. Removed ALL "tabs" from source file.
  27. ---------------------------------------------------------------------------*/
  28. #ifndef __vmsmunch_h
  29. #define __vmsmunch_h 1
  30. #define GET_TIMES 4
  31. #define SET_TIMES 0
  32. #define GET_RTYPE 1
  33. #define CHANGE_RTYPE 2
  34. #define RESTORE_RTYPE 3
  35. struct VMStimbuf { /* VMSmunch */
  36. char *actime; /* VMS revision date, ASCII format */
  37. char *modtime; /* VMS creation date, ASCII format */
  38. };
  39. extern int VMSmunch(char *filename, int action, char *ptr);
  40. #endif /* !__vmsmunch_h */