]> Dogcows Code - chaz/tar/blobdiff - src/common.h
Fix bugs in handling the --remove-files option.
[chaz/tar] / src / common.h
index 1a6ca8b3cc032515d42edcec9f43a9e94e75cfde..c2a92d228dd497a2089353ca9919d1f920307b01 100644 (file)
@@ -60,6 +60,7 @@
 #define obstack_chunk_alloc xmalloc
 #define obstack_chunk_free free
 #include <obstack.h>
+#include <progname.h>
 
 #include <paxlib.h>
 
@@ -70,9 +71,6 @@
 \f
 /* Information gleaned from the command line.  */
 
-/* Name of this program.  */
-GLOBAL const char *program_name;
-
 /* Main command option.  */
 
 enum subcommand
@@ -400,6 +398,7 @@ extern char *volume_label;
 extern char *continued_file_name;
 extern uintmax_t continued_file_size;
 extern uintmax_t continued_file_offset;
+extern off_t records_written;
 
 size_t available_space_after (union block *pointer);
 off_t current_block_ordinal (void);
@@ -827,3 +826,11 @@ extern int warning_option;
     }                                          \
   while (0)
 
+/* Module unlink.c */
+
+void queue_deferred_unlink (const char *name, bool is_dir);
+void finish_deferred_unlinks (void);
+
+/* Module exit.c */
+extern void (*fatal_exit_hook) (void);
+
This page took 0.021038 seconds and 4 git commands to generate.