]> Dogcows Code - chaz/tar/blobdiff - src/common.h
* NEWS: New option --atime-preserve=system, which uses O_NOATIME.
[chaz/tar] / src / common.h
index cbcd2c735d5f9995325b01d5fd1b4c48e9d9ddfb..77c353bc46a25a5124bf18bb99e2d0577afa7af3 100644 (file)
@@ -114,7 +114,13 @@ GLOBAL bool utc_option;
    than newer_mtime_option.  */
 GLOBAL int after_date_option;
 
-GLOBAL bool atime_preserve_option;
+enum atime_preserve
+{
+  no_atime_preserve,
+  replace_atime_preserve,
+  system_atime_preserve
+};
+GLOBAL enum atime_preserve atime_preserve_option;
 
 GLOBAL bool backup_option;
 
@@ -348,8 +354,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 +392,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 +643,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 */
 
This page took 0.022483 seconds and 4 git commands to generate.