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