xref: /titanic_50/usr/src/lib/libast/amd64/include/ast/magicid.h (revision 3db3491215579980a91e230cf21b20608fbb8259)
1 
2 /* : : generated by proto : : */
3 /***********************************************************************
4 *                                                                      *
5 *               This software is part of the ast package               *
6 *          Copyright (c) 1985-2008 AT&T Intellectual Property          *
7 *                      and is licensed under the                       *
8 *                  Common Public License, Version 1.0                  *
9 *                    by AT&T Intellectual Property                     *
10 *                                                                      *
11 *                A copy of the License is available at                 *
12 *            http://www.opensource.org/licenses/cpl1.0.txt             *
13 *         (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9)         *
14 *                                                                      *
15 *              Information and Software Systems Research               *
16 *                            AT&T Research                             *
17 *                           Florham Park NJ                            *
18 *                                                                      *
19 *                 Glenn Fowler <gsf@research.att.com>                  *
20 *                  David Korn <dgk@research.att.com>                   *
21 *                   Phong Vo <kpv@research.att.com>                    *
22 *                                                                      *
23 ***********************************************************************/
24 
25 
26 /*
27  * generic binary magic id definitions
28  */
29 
30 #ifndef _MAGICID_H
31 #if !defined(__PROTO__)
32 #include <prototyped.h>
33 #endif
34 #if !defined(__LINKAGE__)
35 #define __LINKAGE__		/* 2004-08-11 transition */
36 #endif
37 
38 #define _MAGICID_H		1
39 
40 #include <ast_common.h>
41 
42 #define MAGICID		0x00010203
43 
44 typedef uint32_t Magicid_data_t;
45 
46 typedef struct Magicid_s
47 {
48 	Magicid_data_t	magic;		/* magic number			*/
49 	char		name[8];	/* generic data/application name*/
50 	char		type[12];	/* specific data type		*/
51 	Magicid_data_t	version;	/* YYYYMMDD or 0xWWXXYYZZ	*/
52 	Magicid_data_t	size;
53 } Magicid_t;
54 
55 #endif
56