X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fcommon.h;h=4ac5d62592563e299421df9f0f577ad6db719837;hb=06379466c1a2cbf525f7e91e38256674f2bd4c30;hp=3c60ed3a9b90d08fbe74a8f72c937925793ce7a5;hpb=2a25112552acdd644f9a55da2e47614c410acaab;p=chaz%2Ftar diff --git a/src/common.h b/src/common.h index 3c60ed3..4ac5d62 100644 --- a/src/common.h +++ b/src/common.h @@ -430,6 +430,10 @@ void read_directory_file (void); void write_directory_file (void); 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. */ @@ -607,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); @@ -618,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 */