1 | /* Alpha VMS external format of Ident Consistency check. |
---|
2 | |
---|
3 | Copyright 2010 Free Software Foundation, Inc. |
---|
4 | Written by Tristan Gingold <gingold@adacore.com>, AdaCore. |
---|
5 | |
---|
6 | This file is part of BFD, the Binary File Descriptor library. |
---|
7 | |
---|
8 | This program is free software; you can redistribute it and/or modify |
---|
9 | it under the terms of the GNU General Public License as published by |
---|
10 | the Free Software Foundation; either version 3 of the License, or |
---|
11 | (at your option) any later version. |
---|
12 | |
---|
13 | This program is distributed in the hope that it will be useful, |
---|
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | GNU General Public License for more details. |
---|
17 | |
---|
18 | You should have received a copy of the GNU General Public License |
---|
19 | along with this program; if not, write to the Free Software |
---|
20 | Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, |
---|
21 | MA 02110-1301, USA. */ |
---|
22 | |
---|
23 | #ifndef _VMS_EIDC_H |
---|
24 | #define _VMS_EIDC_H |
---|
25 | |
---|
26 | struct vms_eidc |
---|
27 | { |
---|
28 | /* Record type. */ |
---|
29 | unsigned char rectyp[2]; |
---|
30 | |
---|
31 | /* Record size. */ |
---|
32 | unsigned char recsiz[2]; |
---|
33 | |
---|
34 | unsigned char flags[4]; |
---|
35 | |
---|
36 | /* Entity name (ASCIC). */ |
---|
37 | /* Object name (ASCIC). */ |
---|
38 | /* Ident string (ASCIC or binary BINIDENT set). */ |
---|
39 | unsigned char name[1]; |
---|
40 | }; |
---|
41 | |
---|
42 | /* Fields of flags. */ |
---|
43 | #define EIDC__V_BINIDENT (1 << 0) /* Ident is a longword. */ |
---|
44 | #define EIDC__V_IDMATCH_SH 1 /* Ident match control. */ |
---|
45 | #define EIDC__V_IDMATCH_MASK 3 |
---|
46 | #define EIDC__V_ERRSEV_SH 3 /* Error severity. */ |
---|
47 | #define EIDC__V_ERRSEV_MASK 7 |
---|
48 | |
---|
49 | #endif /* _VMS_EIDC_H */ |
---|