summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath2001-07-14 12:38:55 +0000
committerGlenn L McGrath2001-07-14 12:38:55 +0000
commit51ded05b3bf4df6f126420d39a40d27ea0728aa9 (patch)
treec8822dfac31b9cafe42fcd1228f7df3e182e543d
parenta868ec89e8272c0cdf27e062785c4b5c6dcf66c5 (diff)
downloadbusybox-51ded05b3bf4df6f126420d39a40d27ea0728aa9.zip
busybox-51ded05b3bf4df6f126420d39a40d27ea0728aa9.tar.gz
enum entry for unarchive to be used by tar
-rw-r--r--include/libbb.h3
-rw-r--r--libbb/libbb.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h
index e3d7133..a9c1a87 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -238,7 +238,8 @@ enum extract_functions_e {
extract_unzip_only = 256,
extract_unconditional = 512,
extract_create_leading_dirs = 1024,
- extract_quiet = 2048
+ extract_quiet = 2048,
+ extract_exclude_list = 4096
};
char *unarchive(FILE *src_stream, FILE *out_stream, file_header_t *(*get_header)(FILE *),
const int extract_function, const char *prefix, char **extract_names);
diff --git a/libbb/libbb.h b/libbb/libbb.h
index e3d7133..a9c1a87 100644
--- a/libbb/libbb.h
+++ b/libbb/libbb.h
@@ -238,7 +238,8 @@ enum extract_functions_e {
extract_unzip_only = 256,
extract_unconditional = 512,
extract_create_leading_dirs = 1024,
- extract_quiet = 2048
+ extract_quiet = 2048,
+ extract_exclude_list = 4096
};
char *unarchive(FILE *src_stream, FILE *out_stream, file_header_t *(*get_header)(FILE *),
const int extract_function, const char *prefix, char **extract_names);