summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-07 03:47:49 +0000
committermidipix <writeonce@midipix.org>2024-02-07 04:55:52 +0000
commitdb49afe552e44f767938d14d04e99e9e2f5d16c3 (patch)
tree554d54a55acedc1e3a499da6294d011f9a7dbc3e /include
parentd7dc5d289377e737c7adf4a3b4804f3e8a1fcc06 (diff)
downloadslibtool-db49afe552e44f767938d14d04e99e9e2f5d16c3.tar.bz2
slibtool-db49afe552e44f767938d14d04e99e9e2f5d16c3.tar.xz
slbt_merge_archives(): initial implementation.
Diffstat (limited to 'include')
-rw-r--r--include/slibtool/slibtool.h5
1 files changed, 5 insertions, 0 deletions
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 *);