xref: /titanic_52/usr/src/tools/protocmp/proto_list.h (revision 9acbbeaf2a1ffe5c14b244867d427714fab43c5c)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*
23  * Copyright 1993-2003 Sun Microsystems, Inc.  All rights reserved.
24  * Use is subject to license terms.
25  */
26 
27 #pragma ident	"%Z%%M%	%I%	%E% SMI"
28 
29 #define	SYM_F		1
30 #define	PERM_F		2
31 #define	REF_F		4
32 #define	TYPE_F		8
33 #define	NAME_F		16
34 #define	OWNER_F		32
35 #define	GROUP_F		64
36 #define	MAJMIN_F	128
37 
38 #define	CODE	0
39 #define	NAME	1
40 #define	SYM	2
41 #define	SRC	2
42 #define	PERM	3
43 #define	OWNR	4
44 #define	GRP	5
45 #define	INO	6
46 #define	LCNT	7
47 #define	MAJOR	8
48 #define	MINOR	9
49 #define	PROTOS	10
50 #define	FIELDS	11
51 
52 extern int read_in_protolist(const char *, elem_list *, int);
53