aboutsummaryrefslogtreecommitdiff
path: root/include/ar_.h
blob: 386fe04560c05a279ee26a1f47a4332e667772c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * busybox ar archive data structures
 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
 */
#ifndef AR_H
#define AR_H

PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN

struct ar_header {
	char name[16];
	char date[12];
	char uid[6];
	char gid[6];
	char mode[8];
	char size[10];
	char magic[2];
};

#define AR_HEADER_LEN sizeof(struct ar_header)
#define AR_MAGIC      "!<arch>"
#define AR_MAGIC_LEN  7

POP_SAVED_FUNCTION_VISIBILITY

#endif