Apply Nindent to all .c and .h files
[nasm/avx512.git] / rdoff / rdlar.h
blobbf9e84f3463018a8f6f51ff1fedadcaa5a0e969b
1 /*
2 * rdlar.h - definitions of new RDOFF library/archive format.
3 */
5 #ifndef _RDLAR_H
6 #define _RDLAR_H
8 #ifndef _POSIX_SOURCE
9 /* For some MS-DOS C compilers */
10 #define getuid() 0
11 #define getgid() 0
12 #endif
14 #define RDLAMAG 0x414C4452 /* Archive magic */
15 #define RDLMMAG 0x4D4C4452 /* Member magic */
17 #define MAXMODNAMELEN 256 /* Maximum length of module name */
19 struct rdlm_hdr {
20 unsigned long magic; /* Must be RDLAMAG */
21 unsigned long hdrsize; /* Header size + sizeof(module_name) */
22 unsigned long date; /* Creation date */
23 unsigned long owner; /* UID */
24 unsigned long group; /* GID */
25 unsigned long mode; /* File mode */
26 unsigned long size; /* File size */
27 /* NULL-terminated module name immediately follows */
30 #endif