diff options
author | midipix <writeonce@midipix.org> | 2024-02-08 06:24:02 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-08 06:24:02 +0000 |
commit | c8d21a38d6941303527af15b95d887a053aa0df6 (patch) | |
tree | d34a41c2ce495f290bef4dc4b468e926b3cc38d7 /include | |
parent | dd658df0cf3a5267a148a47191e221fca012eecc (diff) | |
download | slibtool-c8d21a38d6941303527af15b95d887a053aa0df6.tar.bz2 slibtool-c8d21a38d6941303527af15b95d887a053aa0df6.tar.xz |
slbt_store_archive(): initial implementation.
Diffstat (limited to 'include')
-rw-r--r-- | include/slibtool/slibtool.h | 4 |
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 *); |