ranlib.h

Go to the documentation of this file.
00001 /*
00002  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
00003  * See the copyright notice in the ACK home directory, in the file "Copyright".
00004  */
00005 /* $Header: /opt/proj/minix/cvsroot/src/commands/aal/ranlib.h,v 1.1.1.1 2005/04/21 14:53:58 beng Exp $ */
00006 
00007 #ifndef __RANLIB_H_INCLUDED
00008 #define __RANLIB_H_INCLUDED
00009 
00010 #ifndef SYMDEF
00011 #       define SYMDEF   "__.SYMDEF"
00012 #endif /* SYMDEF */
00013 
00014 /*
00015  * Structure of the SYMDEF table of contents for an archive.
00016  * SYMDEF begins with a long giving the number of ranlib
00017  * structures that immediately follow, and then continues with a string
00018  * table consisting of a long giving the number of bytes of
00019  * strings that follow and then the strings themselves.
00020  */
00021 struct ranlib {
00022         union {
00023           char  *ran__ptr;      /* symbol name (in core) */
00024           long  ran__off;       /* symbol name (in file) */
00025         }       ran_u;
00026 #define ran_ptr ran_u.ran__ptr
00027 #define ran_off ran_u.ran__off
00028         long    ran_pos;        /* library member is at this position */
00029 };
00030 
00031 #define SZ_RAN  8
00032 #define SF_RAN  "44"
00033 
00034 #endif /* __RANLIB_H_INCLUDED */

Generated on Fri Apr 14 22:56:37 2006 for minix by  doxygen 1.4.6