summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-01-31 17:49:20 -0500
committermidipix <writeonce@midipix.org>2020-05-23 05:59:01 +0000
commit7a9a40611a0e20eb40b15aefdd3de2e12e9cc9de (patch)
tree6d4c26781ad7668b34bb5c89d1a81ae8b431185f /include
parent23fa887f1584afb60aeb38288bb74837e4f067db (diff)
downloadtpax-7a9a40611a0e20eb40b15aefdd3de2e12e9cc9de.tar.bz2
tpax-7a9a40611a0e20eb40b15aefdd3de2e12e9cc9de.tar.xz
library api: tpax_init_ustar_header(): initial implementation.
Diffstat (limited to 'include')
-rw-r--r--include/tpax/tpax.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/tpax/tpax.h b/include/tpax/tpax.h
index d9c73ad..8c45468 100644
--- a/include/tpax/tpax.h
+++ b/include/tpax/tpax.h
@@ -3,8 +3,10 @@
#include <stdint.h>
#include <stddef.h>
+#include <sys/stat.h>
#include "tpax_api.h"
+#include "tpax_specs.h"
#ifdef __cplusplus
extern "C" {
@@ -146,6 +148,10 @@ tpax_api int tpax_main (char **, char **,
tpax_api int tpax_output_error_record (const struct tpax_driver_ctx *, const struct tpax_error_info *);
tpax_api int tpax_output_error_vector (const struct tpax_driver_ctx *);
+/* low-level api */
+tpax_api int tpax_init_ustar_header (const struct tpax_driver_ctx *, const char *, const struct stat *,
+ const char *, struct tpax_ustar_header *);
+
/* package info */
tpax_api const struct tpax_source_version * tpax_source_version(void);