ranlib.h revision 236769
1210284Sjmallett/*	@(#)ranlib.h 1.6 88/08/19 SMI; from UCB 4.1 83/05/03	*/
2232812Sjmallett/*	$Id: ranlib.h,v 1.5 2005/11/01 02:35:15 sjg Exp $	*/
3215990Sjmallett
4210284Sjmallett/*
5210284Sjmallett * Structure of the __.SYMDEF table of contents for an archive.
6215990Sjmallett * __.SYMDEF begins with a word giving the number of ranlib structures
7215990Sjmallett * which immediately follow, and then continues with a string
8215990Sjmallett * table consisting of a word giving the number of bytes of strings
9210284Sjmallett * which follow and then the strings themselves.
10215990Sjmallett * The ran_strx fields index the string table whose first byte is numbered 0.
11215990Sjmallett */
12210284Sjmallett
13215990Sjmallett#if !defined(IRIX) && !defined(__digital__) && !defined(__osf__)
14215990Sjmallett#ifndef _ranlib_h
15215990Sjmallett#define _ranlib_h
16215990Sjmallett
17215990Sjmallett#if 0
18232812Sjmallett#define RANLIBMAG	"!<arch>\n__.SYMDEF"	/* archive file name */
19215990Sjmallett#endif
20215990Sjmallett#define RANLIBMAG	"__.SYMDEF"	/* archive file name */
21215990Sjmallett#define RANLIBSKEW	3		/* creation time offset */
22215990Sjmallett
23215990Sjmallettstruct	ranlib {
24215990Sjmallett	union {
25215990Sjmallett		off_t	ran_strx;	/* string table index of */
26215990Sjmallett		char	*ran_name;	/* symbol defined by */
27215990Sjmallett	} ran_un;
28215990Sjmallett	off_t	ran_off;		/* library member at this offset */
29232812Sjmallett};
30215990Sjmallett
31215990Sjmallett#endif /*!_ranlib_h*/
32215990Sjmallett#endif
33215990Sjmallett