xref: /titanic_44/usr/src/lib/libast/sparc/include/ast/vdb.h (revision 1e4c938b57d1656808e4112127ff1dce3eba5314)
1 
2 /* : : generated by proto : : */
3 /***********************************************************************
4 *                                                                      *
5 *               This software is part of the ast package               *
6 *          Copyright (c) 1985-2010 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  * Glenn Fowler
27  * AT&T Research
28  *
29  * virtual db file directory entry constants
30  */
31 
32 #ifndef VDB_MAGIC
33 #if !defined(__PROTO__)
34 #include <prototyped.h>
35 #endif
36 #if !defined(__LINKAGE__)
37 #define __LINKAGE__		/* 2004-08-11 transition */
38 #endif
39 
40 
41 #define VDB_MAGIC	"vdb"
42 
43 #define VDB_DIRECTORY	"DIRECTORY"
44 #define VDB_UNION	"UNION"
45 #define VDB_DATE	"DATE"
46 #define VDB_MODE	"MODE"
47 
48 #define VDB_DELIMITER	';'
49 #define VDB_IGNORE	'_'
50 #define VDB_FIXED	10
51 #define VDB_LENGTH	((int)sizeof(VDB_DIRECTORY)+2*(VDB_FIXED+1))
52 #define VDB_OFFSET	((int)sizeof(VDB_DIRECTORY))
53 #define VDB_SIZE	(VDB_OFFSET+VDB_FIXED+1)
54 
55 #endif
56