ranlib.h 838 B

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