1236769Sobrien/*	@(#)ranlib.h 1.6 88/08/19 SMI; from UCB 4.1 83/05/03	*/
2236769Sobrien/*	$Id: ranlib.h,v 1.5 2005/11/01 02:35:15 sjg Exp $	*/
3236769Sobrien
4236769Sobrien/*
5236769Sobrien * Structure of the __.SYMDEF table of contents for an archive.
6236769Sobrien * __.SYMDEF begins with a word giving the number of ranlib structures
7236769Sobrien * which immediately follow, and then continues with a string
8236769Sobrien * table consisting of a word giving the number of bytes of strings
9236769Sobrien * which follow and then the strings themselves.
10236769Sobrien * The ran_strx fields index the string table whose first byte is numbered 0.
11236769Sobrien */
12236769Sobrien
13236769Sobrien#if !defined(IRIX) && !defined(__digital__) && !defined(__osf__)
14236769Sobrien#ifndef _ranlib_h
15236769Sobrien#define _ranlib_h
16236769Sobrien
17236769Sobrien#if 0
18236769Sobrien#define RANLIBMAG	"!<arch>\n__.SYMDEF"	/* archive file name */
19236769Sobrien#endif
20236769Sobrien#define RANLIBMAG	"__.SYMDEF"	/* archive file name */
21236769Sobrien#define RANLIBSKEW	3		/* creation time offset */
22236769Sobrien
23236769Sobrienstruct	ranlib {
24236769Sobrien	union {
25236769Sobrien		off_t	ran_strx;	/* string table index of */
26236769Sobrien		char	*ran_name;	/* symbol defined by */
27236769Sobrien	} ran_un;
28236769Sobrien	off_t	ran_off;		/* library member at this offset */
29236769Sobrien};
30236769Sobrien
31236769Sobrien#endif /*!_ranlib_h*/
32236769Sobrien#endif
33