ranlib.h 674 B

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