ranlib.h 931 B

12345678910111213141516171819202122232425262728293031323334
  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$ */
  6. #ifndef __RANLIB_H_INCLUDED
  7. #define __RANLIB_H_INCLUDED
  8. #ifndef SYMDEF
  9. # define SYMDEF "__.SYMDEF"
  10. #endif /* SYMDEF */
  11. /*
  12. * Structure of the SYMDEF table of contents for an archive.
  13. * SYMDEF begins with a long giving the number of ranlib
  14. * structures that immediately follow, and then continues with a string
  15. * table consisting of a long giving the number of bytes of
  16. * strings that follow and then the strings themselves.
  17. */
  18. struct ranlib {
  19. union {
  20. char *ran__ptr; /* symbol name (in core) */
  21. long ran__off; /* symbol name (in file) */
  22. } ran_u;
  23. #define ran_ptr ran_u.ran__ptr
  24. #define ran_off ran_u.ran__off
  25. long ran_pos; /* library member is at this position */
  26. };
  27. #define SZ_RAN 8
  28. #define SF_RAN "44"
  29. #endif /* __RANLIB_H_INCLUDED */