From 7a9a40611a0e20eb40b15aefdd3de2e12e9cc9de Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 31 Jan 2020 17:49:20 -0500 Subject: library api: tpax_init_ustar_header(): initial implementation. --- include/tpax/tpax.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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 #include +#include #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); -- cgit v1.2.3