aboutsummaryrefslogtreecommitdiff
path: root/include/ar_.h
diff options
context:
space:
mode:
authorJoachim Nilsson <troglobit@gmail.com>2020-05-09 13:31:33 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2020-11-16 13:24:24 +0100
commitbd46f64dcb2cf4f37c2cbfeb808f4e380d9d5931 (patch)
tree90f078e89b29cf033c1c58bad0cdeb1393530c05 /include/ar_.h
parent4ac35a30db0c9badd9895c5eaa1d4d3a118b5259 (diff)
downloadbusybox-w32-bd46f64dcb2cf4f37c2cbfeb808f4e380d9d5931.tar.gz
busybox-w32-bd46f64dcb2cf4f37c2cbfeb808f4e380d9d5931.tar.bz2
busybox-w32-bd46f64dcb2cf4f37c2cbfeb808f4e380d9d5931.zip
archival: avoid std namespace for local includes
Avoid using same include file naming pattern as available in GLIBC. Renamed to match grp_.h et al. Signed-off-by: Joachim Nilsson <troglobit@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/ar_.h')
-rw-r--r--include/ar_.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/ar_.h b/include/ar_.h
new file mode 100644
index 000000000..386fe0456
--- /dev/null
+++ b/include/ar_.h
@@ -0,0 +1,26 @@
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
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