6811333 Remove prom_printf() message in emlxs driver
[opensolaris.git] / usr / src / lib / libcurses / screen / object.h
blob3e23e0f887641dae0f66a6372ba058d272daff77
1 /*
2 * CDDL HEADER START
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.
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.
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]
20 * CDDL HEADER END
23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 /* Copyright (c) 1988 AT&T */
28 /* All Rights Reserved */
31 * University Copyright- Copyright (c) 1982, 1986, 1988
32 * The Regents of the University of California
33 * All Rights Reserved
35 * University Acknowledgment- Portions of this document are derived from
36 * software developed by the University of California, Berkeley, and its
37 * contributors.
41 #ifndef _OBJECT_H
42 #define _OBJECT_H
44 #pragma ident "%Z%%M% %I% %E% SMI"
46 /*LINTLIBRARY*/
49 * COPYRIGHT NOTICE
51 * This software is copyright(C) 1982 by Pavel Curtis
53 * Permission is granted to reproduce and distribute
54 * this file by any means so long as no fee is charged
55 * above a nominal handling fee and so long as this
56 * notice is always included in the copies.
58 * Other rights are reserved except as explicitly granted
59 * by written permission of the author.
60 * Pavel Curtis
61 * Computer Science Dept.
62 * 405 Upson Hall
63 * Cornell University
64 * Ithaca, NY 14853
66 * Ph- (607) 256-4934
68 * Pavel.Cornell@Udel-Relay (ARPAnet)
69 * decvax!cornell!pavel(UUCPnet)
73 * $Header: RCS/object.v Revision 2.1 82/10/25 14:49:50 pavel Exp$
75 * object.h - Format of compiled terminfo files
77 * Header(12 bytes), containing information given below
78 * Names Section, containing the names of the terminal
79 * Boolean Section, containing the values of all of the
80 * boolean capabilities
81 * A null byte may be inserted here to make
82 * sure that the Number Section begins on an
83 * even word boundary.
84 * Number Section, containing the values of all of the numeric
85 * capabilities, each as a short integer
86 * String Section, containing short integer offsets into the
87 * String Table, one per string capability
88 * String Table, containing the actual characters of the string
89 * capabilities.
91 * NOTE that all short integers in the file are stored using VAX/PDP-style
92 * byte-swapping, i.e., least-significant byte first. The code in
93 * read_entry() automatically fixes this up on machines which don't use
94 * this system(I hope).
96 * $Log: RCS/object.v $
97 * Revision 2.1 82/10/25 14:49:50 pavel
98 * Added Copyright Notice
100 * Revision 2.0 82/10/24 15:18:19 pavel
101 * Beta-one Test Release
103 * Revision 1.3 82/08/23 22:31:12 pavel
104 * The REAL Alpha-one Release Version
106 * Revision 1.2 82/08/19 19:10:18 pavel
107 * Alpha Test Release One
109 * Revision 1.1 82/08/12 18:48:55 pavel
110 * Initial revision
115 #ifdef __cplusplus
116 extern "C" {
117 #endif
119 #define MAGIC 0432
121 struct header
123 short magic; /* Magic Number (0432) */
124 short name_size; /* Size of names section */
125 short bool_count; /* Number of booleans */
126 short num_count; /* Number of numbers */
127 short str_count; /* Number of strings */
128 short str_size; /* Size of string table */
131 #ifdef __cplusplus
133 #endif
135 #endif /* _OBJECT_H */