mirror of
https://github.com/sheumann/hush.git
synced 2024-11-05 06:07:00 +00:00
0ef64bdb40
This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
27 lines
460 B
C
27 lines
460 B
C
/*
|
|
* 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
|