diff options
author | midipix <writeonce@midipix.org> | 2024-01-29 01:23:57 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-01-29 01:23:57 +0000 |
commit | f188e8f85522312ef04b8d1d162d8586b964975e (patch) | |
tree | f4a430cb1eab2dc4fed4336ac469e6da53a871fd /src/internal | |
parent | 5ac87ef92cab60af788bef6b5a069f5a49e61a74 (diff) | |
download | slibtool-f188e8f85522312ef04b8d1d162d8586b964975e.tar.bz2 slibtool-f188e8f85522312ef04b8d1d162d8586b964975e.tar.xz |
archiver implementation: move internal macros to the ar internal header.
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/slibtool_ar_impl.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/internal/slibtool_ar_impl.h b/src/internal/slibtool_ar_impl.h index 48cdec8..0aa0526 100644 --- a/src/internal/slibtool_ar_impl.h +++ b/src/internal/slibtool_ar_impl.h @@ -5,6 +5,15 @@ #include <slibtool/slibtool.h> #include <slibtool/slibtool_arbits.h> +/* decimal values in archive header are right padded with ascii spaces */ +#define AR_DEC_PADDING (0x20) + +/* archive file members are right padded as needed with ascii newline */ +#define AR_OBJ_PADDING (0x0A) + +/* initial number of elements in the transient, on-stack vector */ +# define AR_STACK_VECTOR_ELEMENTS (0x200) + extern const struct argv_option slbt_ar_options[]; struct ar_armaps_impl { |