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