From db49afe552e44f767938d14d04e99e9e2f5d16c3 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 7 Feb 2024 03:47:49 +0000 Subject: slbt_merge_archives(): initial implementation. --- include/slibtool/slibtool.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/slibtool/slibtool.h') diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h index 180d009..6431a25 100644 --- a/include/slibtool/slibtool.h +++ b/include/slibtool/slibtool.h @@ -117,6 +117,8 @@ enum slbt_custom_error { SLBT_ERR_AR_MISPLACED_ARMAP_MEMBER, SLBT_ERR_AR_NO_ACTION_SPECIFIED, SLBT_ERR_AR_NO_INPUT_SPECIFIED, + SLBT_ERR_AR_DRIVER_MISMATCH, + SLBT_ERR_AR_ARMAP_MISMATCH, SLBT_ERR_AR_INVALID_ARMAP_NUMBER_OF_SYMS, SLBT_ERR_AR_INVALID_ARMAP_SIZE_OF_REFS, SLBT_ERR_AR_INVALID_ARMAP_SIZE_OF_STRS, @@ -386,6 +388,9 @@ slbt_api int slbt_get_archive_meta (const struct slbt_driver_ctx *, slbt_api void slbt_free_archive_meta (struct slbt_archive_meta *); +slbt_api int slbt_merge_archives (struct slbt_archive_ctx * const [], + struct slbt_archive_ctx **); + /* utility api */ slbt_api int slbt_main (char **, char **, const struct slbt_fd_ctx *); -- cgit v1.2.3