X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fcommon.h;h=4ac5d62592563e299421df9f0f577ad6db719837;hb=06379466c1a2cbf525f7e91e38256674f2bd4c30;hp=05c03a061b1c4b9c9eb1657a9d0dea197d7a54a7;hpb=a6d21588375aedc3599a760b6db6b9ab98d60628;p=chaz%2Ftar diff --git a/src/common.h b/src/common.h index 05c03a0..4ac5d62 100644 --- a/src/common.h +++ b/src/common.h @@ -432,6 +432,9 @@ void purge_directory (char const *); void list_dumpdir (char *buffer, size_t size); void update_parent_directory (const char *name); +size_t dumpdir_size (const char *p); +void get_gnu_dumpdir (void); + /* Module list.c. */ enum read_header @@ -608,7 +611,7 @@ void update_archive (void); void xheader_decode (struct tar_stat_info *); void xheader_decode_global (void); -void xheader_store (char const *, struct tar_stat_info const *, void *); +void xheader_store (char const *, struct tar_stat_info const *, void const *); void xheader_read (union block *, size_t); void xheader_write (char type, char *name, struct xheader *xhdr); void xheader_write_global (void); @@ -619,6 +622,10 @@ char *xheader_ghdr_name (void); void xheader_write (char, char *, struct xheader *); void xheader_write_global (void); void xheader_set_option (char *string); +void xheader_string_begin (void); +void xheader_string_add (char const *s); +void xheader_string_end (char const *keyword); +bool xheader_keyword_deleted_p (const char *kw); /* Module system.c */