]> Dogcows Code - chaz/tar/blobdiff - src/common.h
Improve one-top-level functionality
[chaz/tar] / src / common.h
index 8f8a337781fd8fdba282afabdac5b6af70ad1464..04466ae2e9a44f71b0edb66c71b02eadae50a171 100644 (file)
@@ -235,6 +235,10 @@ GLOBAL bool numeric_owner_option;
 
 GLOBAL bool one_file_system_option;
 
+/* Create a top-level directory for extracting based on the archive name.  */
+GLOBAL bool one_top_level_option;
+GLOBAL char *one_top_level_dir;
+
 /* Specified value to be put into tar file in place of stat () results, or
    just null and -1 if such an override should not take place.  */
 GLOBAL char const *owner_name_option;
@@ -856,6 +860,7 @@ bool transform_program_p (void);
 
 /* Module suffix.c */
 void set_compression_program_by_suffix (const char *name, const char *defprog);
+char *strip_compression_suffix (const char *name);
 
 /* Module checkpoint.c */
 void checkpoint_compile_action (const char *str);
This page took 0.019855 seconds and 4 git commands to generate.