diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-04-12 10:19:08 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-04-12 10:19:08 +0000 |
commit | 464a2d999eb5126ac8590dc8ac9b3d8670b51058 (patch) | |
tree | 680864ee0a5e6782c4fdfa9906ff902a44411524 /include/libbb.h | |
parent | 08efd5324c7de88d76ab78676de7a84bf7b3bcc0 (diff) | |
download | busybox-w32-464a2d999eb5126ac8590dc8ac9b3d8670b51058.tar.gz busybox-w32-464a2d999eb5126ac8590dc8ac9b3d8670b51058.tar.bz2 busybox-w32-464a2d999eb5126ac8590dc8ac9b3d8670b51058.zip |
Fix dpkg-deb, enum's are cool
git-svn-id: svn://busybox.net/trunk/busybox@2330 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index 8a5e6756f..46a0682b2 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -227,8 +227,18 @@ typedef struct ar_headers_s { | |||
227 | } ar_headers_t; | 227 | } ar_headers_t; |
228 | extern ar_headers_t *get_ar_headers(FILE *in_file); | 228 | extern ar_headers_t *get_ar_headers(FILE *in_file); |
229 | extern int seek_ared_file(FILE *in_file, ar_headers_t *headers, const char *tar_gz_file); | 229 | extern int seek_ared_file(FILE *in_file, ar_headers_t *headers, const char *tar_gz_file); |
230 | extern int deb_extract(const char *package_filename, const int function, char *target_dir); | 230 | |
231 | extern int untar(FILE *src_tar_file, int untar_function, char *base_path); | 231 | typedef enum extract_function_e { |
232 | extract_contents = 1, | ||
233 | extract_control = 2, | ||
234 | extract_info = 4, | ||
235 | extract_extract = 8, | ||
236 | extract_verbose_extract = 16, | ||
237 | extract_list = 32 | ||
238 | } extract_function_t; | ||
239 | extern int deb_extract(const char *package_filename, int function, char *target_dir); | ||
240 | extern int untar(FILE *src_tar_file, int function, char *base_path); | ||
241 | |||
232 | extern int unzip(FILE *l_in_file, FILE *l_out_file); | 242 | extern int unzip(FILE *l_in_file, FILE *l_out_file); |
233 | extern void gz_close(int gunzip_pid); | 243 | extern void gz_close(int gunzip_pid); |
234 | extern int gz_open(FILE *compressed_file, int *pid); | 244 | extern int gz_open(FILE *compressed_file, int *pid); |