From f188e8f85522312ef04b8d1d162d8586b964975e Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 29 Jan 2024 01:23:57 +0000 Subject: archiver implementation: move internal macros to the ar internal header. --- src/internal/slibtool_ar_impl.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/internal') 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 #include +/* 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 { -- cgit v1.2.3