Pristine Ack-5.5
[Ack-5.5.git] / h / ranlib.h
1 /*
2  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3  * See the copyright notice in the ACK home directory, in the file "Copyright".
4  */
5 /* $Id: ranlib.h,v 2.4 1994/06/24 10:08:50 ceriel Exp $ */
6
7 #ifndef __RANLIB_H_INCLUDED
8 #define __RANLIB_H_INCLUDED
9
10 #ifndef SYMDEF
11 #       define SYMDEF   "__.SYMDEF"
12 #endif /* SYMDEF */
13
14 /*
15  * Structure of the SYMDEF table of contents for an archive.
16  * SYMDEF begins with a long giving the number of ranlib
17  * structures that immediately follow, and then continues with a string
18  * table consisting of a long giving the number of bytes of
19  * strings that follow and then the strings themselves.
20  */
21 struct ranlib {
22         union {
23           char  *ran__ptr;      /* symbol name (in core) */
24           long  ran__off;       /* symbol name (in file) */
25         }       ran_u;
26 #define ran_ptr ran_u.ran__ptr
27 #define ran_off ran_u.ran__off
28         long    ran_pos;        /* library member is at this position */
29 };
30
31 #define SZ_RAN  8
32 #define SF_RAN  "44"
33
34 #endif /* __RANLIB_H_INCLUDED */