~vcs-imports/busybox/trunk

« back to all changes in this revision

Viewing changes to include/ar_.h

  • Committer: Denys Vlasenko
  • Author(s): Christian Franke
  • Date: 2023-11-13 10:32:35 UTC
  • Revision ID: git-v1:a63b60bdd6fa26b867c80d44074118babbae7ffd
Cygwin: regenerate defconfig

Signed-off-by: Christian Franke <christian.franke@t-online.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
8
PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
 
9
 
 
10
struct 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
 
 
24
POP_SAVED_FUNCTION_VISIBILITY
 
25
 
 
26
#endif