From: Sergey Poznyakoff Date: Fri, 11 Nov 2005 00:25:20 +0000 (+0000) Subject: (flush_read,flush_write): Functions, again. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=1e8f6d41c4ef5b9dfc5223a65a8f92a8b93e3646;p=chaz%2Ftar (flush_read,flush_write): Functions, again. (write_extended): Changed declaration (xheader_format_name): New declaration --- diff --git a/src/common.h b/src/common.h index cbcd2c7..58d2798 100644 --- a/src/common.h +++ b/src/common.h @@ -348,8 +348,8 @@ off_t current_block_ordinal (void); void close_archive (void); void closeout_volume_number (void); union block *find_next_block (void); -void (*flush_read) (void); -void (*flush_write) (void); +void flush_read (void); +void flush_write (void); void flush_archive (void); void init_volume_number (void); void open_archive (enum access_mode); @@ -386,7 +386,7 @@ void dump_file (char *, int, dev_t); union block *start_header (struct tar_stat_info *st); void finish_header (struct tar_stat_info *, union block *, off_t); void simple_finish_header (union block *header); -union block * write_extended (char type, struct tar_stat_info *st, +union block * write_extended (bool global, struct tar_stat_info *st, union block *old_header); union block *start_private_header (const char *name, size_t size); void write_eot (void); @@ -637,6 +637,8 @@ 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); +char *xheader_format_name (struct tar_stat_info *st, const char *fmt, + size_t n); /* Module system.c */