1*7c478bd9Sstevel@tonic-gate /*
2*7c478bd9Sstevel@tonic-gate  * CDDL HEADER START
3*7c478bd9Sstevel@tonic-gate  *
4*7c478bd9Sstevel@tonic-gate  * The contents of this file are subject to the terms of the
5*7c478bd9Sstevel@tonic-gate  * Common Development and Distribution License, Version 1.0 only
6*7c478bd9Sstevel@tonic-gate  * (the "License").  You may not use this file except in compliance
7*7c478bd9Sstevel@tonic-gate  * with the License.
8*7c478bd9Sstevel@tonic-gate  *
9*7c478bd9Sstevel@tonic-gate  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*7c478bd9Sstevel@tonic-gate  * or http://www.opensolaris.org/os/licensing.
11*7c478bd9Sstevel@tonic-gate  * See the License for the specific language governing permissions
12*7c478bd9Sstevel@tonic-gate  * and limitations under the License.
13*7c478bd9Sstevel@tonic-gate  *
14*7c478bd9Sstevel@tonic-gate  * When distributing Covered Code, include this CDDL HEADER in each
15*7c478bd9Sstevel@tonic-gate  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*7c478bd9Sstevel@tonic-gate  * If applicable, add the following below this CDDL HEADER, with the
17*7c478bd9Sstevel@tonic-gate  * fields enclosed by brackets "[]" replaced with your own identifying
18*7c478bd9Sstevel@tonic-gate  * information: Portions Copyright [yyyy] [name of copyright owner]
19*7c478bd9Sstevel@tonic-gate  *
20*7c478bd9Sstevel@tonic-gate  * CDDL HEADER END
21*7c478bd9Sstevel@tonic-gate  */
22*7c478bd9Sstevel@tonic-gate /*
23*7c478bd9Sstevel@tonic-gate  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
24*7c478bd9Sstevel@tonic-gate  * Use is subject to license terms.
25*7c478bd9Sstevel@tonic-gate  */
26*7c478bd9Sstevel@tonic-gate 
27*7c478bd9Sstevel@tonic-gate /*	Copyright (c) 1988 AT&T	*/
28*7c478bd9Sstevel@tonic-gate /*	  All Rights Reserved  	*/
29*7c478bd9Sstevel@tonic-gate 
30*7c478bd9Sstevel@tonic-gate /*
31*7c478bd9Sstevel@tonic-gate  * University Copyright- Copyright (c) 1982, 1986, 1988
32*7c478bd9Sstevel@tonic-gate  * The Regents of the University of California
33*7c478bd9Sstevel@tonic-gate  * All Rights Reserved
34*7c478bd9Sstevel@tonic-gate  *
35*7c478bd9Sstevel@tonic-gate  * University Acknowledgment- Portions of this document are derived from
36*7c478bd9Sstevel@tonic-gate  * software developed by the University of California, Berkeley, and its
37*7c478bd9Sstevel@tonic-gate  * contributors.
38*7c478bd9Sstevel@tonic-gate  */
39*7c478bd9Sstevel@tonic-gate 
40*7c478bd9Sstevel@tonic-gate 
41*7c478bd9Sstevel@tonic-gate #ifndef	_OBJECT_H
42*7c478bd9Sstevel@tonic-gate #define	_OBJECT_H
43*7c478bd9Sstevel@tonic-gate 
44*7c478bd9Sstevel@tonic-gate /*LINTLIBRARY*/
45*7c478bd9Sstevel@tonic-gate 
46*7c478bd9Sstevel@tonic-gate /*
47*7c478bd9Sstevel@tonic-gate  *			COPYRIGHT NOTICE
48*7c478bd9Sstevel@tonic-gate  *
49*7c478bd9Sstevel@tonic-gate  *	This software is copyright(C) 1982 by Pavel Curtis
50*7c478bd9Sstevel@tonic-gate  *
51*7c478bd9Sstevel@tonic-gate  *	Permission is granted to reproduce and distribute
52*7c478bd9Sstevel@tonic-gate  *	this file by any means so long as no fee is charged
53*7c478bd9Sstevel@tonic-gate  *	above a nominal handling fee and so long as this
54*7c478bd9Sstevel@tonic-gate  *	notice is always included in the copies.
55*7c478bd9Sstevel@tonic-gate  *
56*7c478bd9Sstevel@tonic-gate  *	Other rights are reserved except as explicitly granted
57*7c478bd9Sstevel@tonic-gate  *	by written permission of the author.
58*7c478bd9Sstevel@tonic-gate  *		Pavel Curtis
59*7c478bd9Sstevel@tonic-gate  *		Computer Science Dept.
60*7c478bd9Sstevel@tonic-gate  *		405 Upson Hall
61*7c478bd9Sstevel@tonic-gate  *		Cornell University
62*7c478bd9Sstevel@tonic-gate  *		Ithaca, NY 14853
63*7c478bd9Sstevel@tonic-gate  *
64*7c478bd9Sstevel@tonic-gate  *		Ph- (607) 256-4934
65*7c478bd9Sstevel@tonic-gate  *
66*7c478bd9Sstevel@tonic-gate  *		Pavel.Cornell@Udel-Relay   (ARPAnet)
67*7c478bd9Sstevel@tonic-gate  *		decvax!cornell!pavel(UUCPnet)
68*7c478bd9Sstevel@tonic-gate  */
69*7c478bd9Sstevel@tonic-gate 
70*7c478bd9Sstevel@tonic-gate /*
71*7c478bd9Sstevel@tonic-gate  * $Header:   RCS/object.v  Revision 2.1  82/10/25  14:49:50  pavel  Exp$
72*7c478bd9Sstevel@tonic-gate  *
73*7c478bd9Sstevel@tonic-gate  *	object.h - Format of compiled terminfo files
74*7c478bd9Sstevel@tonic-gate  *
75*7c478bd9Sstevel@tonic-gate  *		Header(12 bytes), containing information given below
76*7c478bd9Sstevel@tonic-gate  *		Names Section, containing the names of the terminal
77*7c478bd9Sstevel@tonic-gate  *		Boolean Section, containing the values of all of the
78*7c478bd9Sstevel@tonic-gate  *				boolean capabilities
79*7c478bd9Sstevel@tonic-gate  *				A null byte may be inserted here to make
80*7c478bd9Sstevel@tonic-gate  *				sure that the Number Section begins on an
81*7c478bd9Sstevel@tonic-gate  *				even word boundary.
82*7c478bd9Sstevel@tonic-gate  *		Number Section, containing the values of all of the numeric
83*7c478bd9Sstevel@tonic-gate  *				capabilities, each as a short integer
84*7c478bd9Sstevel@tonic-gate  *		String Section, containing short integer offsets into the
85*7c478bd9Sstevel@tonic-gate  *				String Table, one per string capability
86*7c478bd9Sstevel@tonic-gate  *		String Table, containing the actual characters of the string
87*7c478bd9Sstevel@tonic-gate  *				capabilities.
88*7c478bd9Sstevel@tonic-gate  *
89*7c478bd9Sstevel@tonic-gate  *	NOTE that all short integers in the file are stored using VAX/PDP-style
90*7c478bd9Sstevel@tonic-gate  *	byte-swapping, i.e., least-significant byte first.  The code in
91*7c478bd9Sstevel@tonic-gate  *	read_entry() automatically fixes this up on machines which don't use
92*7c478bd9Sstevel@tonic-gate  *	this system(I hope).
93*7c478bd9Sstevel@tonic-gate  *
94*7c478bd9Sstevel@tonic-gate  *  $Log:	RCS/object.v $
95*7c478bd9Sstevel@tonic-gate  * Revision 2.1  82/10/25  14:49:50  pavel
96*7c478bd9Sstevel@tonic-gate  * Added Copyright Notice
97*7c478bd9Sstevel@tonic-gate  *
98*7c478bd9Sstevel@tonic-gate  * Revision 2.0  82/10/24  15:18:19  pavel
99*7c478bd9Sstevel@tonic-gate  * Beta-one Test Release
100*7c478bd9Sstevel@tonic-gate  *
101*7c478bd9Sstevel@tonic-gate  * Revision 1.3  82/08/23  22:31:12  pavel
102*7c478bd9Sstevel@tonic-gate  * The REAL Alpha-one Release Version
103*7c478bd9Sstevel@tonic-gate  *
104*7c478bd9Sstevel@tonic-gate  * Revision 1.2  82/08/19  19:10:18  pavel
105*7c478bd9Sstevel@tonic-gate  * Alpha Test Release One
106*7c478bd9Sstevel@tonic-gate  *
107*7c478bd9Sstevel@tonic-gate  * Revision 1.1  82/08/12  18:48:55  pavel
108*7c478bd9Sstevel@tonic-gate  * Initial revision
109*7c478bd9Sstevel@tonic-gate  *
110*7c478bd9Sstevel@tonic-gate  *
111*7c478bd9Sstevel@tonic-gate  */
112*7c478bd9Sstevel@tonic-gate 
113*7c478bd9Sstevel@tonic-gate #ifdef	__cplusplus
114*7c478bd9Sstevel@tonic-gate extern "C" {
115*7c478bd9Sstevel@tonic-gate #endif
116*7c478bd9Sstevel@tonic-gate 
117*7c478bd9Sstevel@tonic-gate #define	MAGIC	0432
118*7c478bd9Sstevel@tonic-gate 
119*7c478bd9Sstevel@tonic-gate struct header
120*7c478bd9Sstevel@tonic-gate {
121*7c478bd9Sstevel@tonic-gate 	short	magic;		/* Magic Number (0432)			*/
122*7c478bd9Sstevel@tonic-gate 	short	name_size;	/* Size of names section		*/
123*7c478bd9Sstevel@tonic-gate 	short	bool_count;	/* Number of booleans			*/
124*7c478bd9Sstevel@tonic-gate 	short	num_count;	/* Number of numbers			*/
125*7c478bd9Sstevel@tonic-gate 	short	str_count;	/* Number of strings			*/
126*7c478bd9Sstevel@tonic-gate 	short	str_size;	/* Size of string table			*/
127*7c478bd9Sstevel@tonic-gate };
128*7c478bd9Sstevel@tonic-gate 
129*7c478bd9Sstevel@tonic-gate #ifdef	__cplusplus
130*7c478bd9Sstevel@tonic-gate }
131*7c478bd9Sstevel@tonic-gate #endif
132*7c478bd9Sstevel@tonic-gate 
133*7c478bd9Sstevel@tonic-gate #endif	/* _OBJECT_H */
134