summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-13 17:26:20 -0400
committermidipix <writeonce@midipix.org>2016-04-13 23:45:16 -0400
commit4a01cf4327621ff989dc8aacce246b7f758e5572 (patch)
treebc825130c35d4f90a684440a32d2a9053dd71fe2 /include
parent7c05d6a179caa5139a48da68b350502685c60639 (diff)
downloadslibtool-4a01cf4327621ff989dc8aacce246b7f758e5572.tar.bz2
slibtool-4a01cf4327621ff989dc8aacce246b7f758e5572.tar.xz
library: helper functions: added slbt_archive_import().
Diffstat (limited to 'include')
-rw-r--r--include/slibtool/slibtool.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index c1f9ede..265ba49 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -201,8 +201,11 @@ slbt_api int slbt_exec_compile (const struct slbt_driver_ctx *, struct slbt_ex
slbt_api int slbt_exec_install (const struct slbt_driver_ctx *, struct slbt_exec_ctx *);
slbt_api int slbt_exec_link (const struct slbt_driver_ctx *, struct slbt_exec_ctx *);
+/* helper api */
slbt_api int slbt_map_input (int fd, const char * path, int prot, struct slbt_input *);
slbt_api int slbt_unmap_input (struct slbt_input *);
+slbt_api int slbt_archive_import (const struct slbt_driver_ctx *, struct slbt_exec_ctx *,
+ char * dstarchive, char * srcarchive);
/* utility api */
slbt_api int slbt_output_config (const struct slbt_driver_ctx *);