vknetd.8: Start sentences on new lines.
[dragonfly.git] / usr.sbin / kgzip / aouthdr.h
blob65515d8be1333bab0cc55afdd1a2facb73628ee1
1 /*
2 * Copyright (c) 2000 Robert Nordier
3 * All rights reserved.
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in
12 * the documentation and/or other materials provided with the
13 * distribution.
15 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS
16 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY
19 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
21 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
23 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
25 * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 * $FreeBSD: src/usr.sbin/kgzip/aouthdr.h,v 1.1.2.1 2001/07/19 04:37:24 kris Exp $
28 * $DragonFly: src/usr.sbin/kgzip/aouthdr.h,v 1.2 2003/06/17 04:29:55 dillon Exp $
31 #include <a.out.h>
32 #include "kgz.h"
34 /* Relocatable header: part 0 */
35 struct kgz_aouthdr0 {
36 struct exec a;
39 /* Symbol table entries */
40 #define KGZ__STNUM 2
42 /* Symbol table strings */
43 #define KGZ__STR_KGZ "_kgz"
44 #define KGZ__STR_KGZ_NDATA "_kgz_ndata"
46 /* String table */
47 struct kgz__strtab {
48 unsigned long length;
49 char kgz[sizeof(KGZ__STR_KGZ)];
50 char kgz_ndata[sizeof(KGZ__STR_KGZ_NDATA)];
53 /* Relocatable header: part 1 */
54 struct kgz_aouthdr1 {
55 struct nlist st[KGZ__STNUM];
56 struct kgz__strtab strtab;
59 extern const struct kgz_aouthdr0 aouthdr0;
60 extern const struct kgz_aouthdr1 aouthdr1;