diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-11-20 16:35:46 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-11-20 16:35:46 -0500 |
commit | bc4ca8f73ece3cb3d6d3538ea182b078142c65c9 (patch) | |
tree | ce3de06069b5d21bf5c65a71c4f19efcf5492de0 /pax.h | |
parent | f1cdf4f5ff99255c12347b214853bf68835b6a9c (diff) |
add rough outlines of cpio and tar interfaces
Diffstat (limited to 'pax.h')
-rw-r--r-- | pax.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -23,6 +23,7 @@ */ #include <stdint.h> +#include <sys/stat.h> #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; |