dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / fm / eversholt / common / eft.h
blobdbc967c9934f896aa0387b298a07a2bcd58e77f1
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
19 * CDDL HEADER END
22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
25 * eft.h -- public definitions for eft files
29 #ifndef _ESC_COMMON_EFT_H
30 #define _ESC_COMMON_EFT_H
32 #pragma ident "%Z%%M% %I% %E% SMI"
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
38 #include <stdint.h>
40 /* eft file header */
41 #define EFT_HDR_MAGIC 0x45465400
42 #define EFT_HDR_MAJOR 3
43 #define EFT_HDR_MINOR 1
44 #define EFT_HDR_MAXCOMMENT 256
45 struct eftheader {
46 uint32_t magic;
47 uint16_t major;
48 uint16_t minor;
49 uint16_t cmajor;
50 uint16_t cminor;
51 uint32_t identlen;
52 uint32_t dictlen;
53 uint32_t unused[2];
54 uint32_t csum;
55 char comment[EFT_HDR_MAXCOMMENT];
58 #ifdef __cplusplus
60 #endif
62 #endif /* _ESC_COMMON_EFT_H */