From bc4ca8f73ece3cb3d6d3538ea182b078142c65c9 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 20 Nov 2019 16:35:46 -0500 Subject: add rough outlines of cpio and tar interfaces --- pax.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pax.h') diff --git a/pax.h b/pax.h index 46ed1f9..3856ee4 100644 --- a/pax.h +++ b/pax.h @@ -23,6 +23,7 @@ */ #include +#include #define TAR_HEADER_SIZE 512 @@ -70,4 +71,7 @@ int tar_list(FILE *input, size_t firstlen, void *firstblock); void pax_list_file(struct stat *st, const char *filename); uintmax_t pax_atoi(size_t n, const char s[static n], int base); +int tar_main(int argc, char *argv[]); +int cpio_main(int argc, char *argv[]); + extern const size_t cpio_header_size; -- cgit v1.2.1