summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/slibtool/slibtool.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index 6431a25..4ca7064 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -1,6 +1,7 @@
#ifndef SLIBTOOL_H
#define SLIBTOOL_H
+#include <fcntl.h>
#include <stdint.h>
#include <stddef.h>
#include <stdio.h>
@@ -391,6 +392,9 @@ 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 **);
+slbt_api int slbt_store_archive (struct slbt_archive_ctx *,
+ const char *, mode_t);
+
/* utility api */
slbt_api int slbt_main (char **, char **,
const struct slbt_fd_ctx *);