blob: 386fe04560c05a279ee26a1f47a4332e667772c0 [file] [log] [blame]
Alexander Shishkin535584c2010-03-15 15:38:09 +01001/*
2 * busybox ar archive data structures
Denys Vlasenko0ef64bd2010-08-16 20:14:46 +02003 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
Alexander Shishkin535584c2010-03-15 15:38:09 +01004 */
5#ifndef AR_H
6#define AR_H
7
8PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
9
10struct ar_header {
11 char name[16];
12 char date[12];
13 char uid[6];
14 char gid[6];
15 char mode[8];
16 char size[10];
17 char magic[2];
18};
19
20#define AR_HEADER_LEN sizeof(struct ar_header)
21#define AR_MAGIC "!<arch>"
22#define AR_MAGIC_LEN 7
23
24POP_SAVED_FUNCTION_VISIBILITY
25
26#endif