ar_.h 460 B

1234567891011121314151617181920212223242526
  1. /*
  2. * busybox ar archive data structures
  3. * Licensed under GPLv2 or later, see file LICENSE in this source tree.
  4. */
  5. #ifndef AR_H
  6. #define AR_H
  7. PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
  8. struct ar_header {
  9. char name[16];
  10. char date[12];
  11. char uid[6];
  12. char gid[6];
  13. char mode[8];
  14. char size[10];
  15. char magic[2];
  16. };
  17. #define AR_HEADER_LEN sizeof(struct ar_header)
  18. #define AR_MAGIC "!<arch>"
  19. #define AR_MAGIC_LEN 7
  20. POP_SAVED_FUNCTION_VISIBILITY
  21. #endif