diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2002-11-05 01:52:23 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2002-11-05 01:52:23 +0000 |
commit | 18bbca18acf229875f2bb60cc37c3e8c22d237bc (patch) | |
tree | c5f85351ac0d13675edbd779dc15aef0240e394e /include | |
parent | 8e940984231a5baf98b6e2a637477dd701d314a9 (diff) | |
download | busybox-w32-18bbca18acf229875f2bb60cc37c3e8c22d237bc.tar.gz busybox-w32-18bbca18acf229875f2bb60cc37c3e8c22d237bc.tar.bz2 busybox-w32-18bbca18acf229875f2bb60cc37c3e8c22d237bc.zip |
enable .tar.bz2 for dpkg-deb
Diffstat (limited to 'include')
-rw-r--r-- | include/unarchive.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/unarchive.h b/include/unarchive.h index a1010aae8..18bf089fb 100644 --- a/include/unarchive.h +++ b/include/unarchive.h | |||
@@ -28,7 +28,7 @@ typedef struct llist_s { | |||
28 | 28 | ||
29 | typedef struct archive_handle_s { | 29 | typedef struct archive_handle_s { |
30 | /* define if the header and data compenent should processed */ | 30 | /* define if the header and data compenent should processed */ |
31 | char (*filter)(const struct archive_handle_s *); | 31 | char (*filter)(struct archive_handle_s *); |
32 | const llist_t *accept; | 32 | const llist_t *accept; |
33 | const llist_t *reject; | 33 | const llist_t *reject; |
34 | const llist_t *passed; /* List of files that have successfully been worked on */ | 34 | const llist_t *passed; /* List of files that have successfully been worked on */ |
@@ -41,6 +41,8 @@ typedef struct archive_handle_s { | |||
41 | 41 | ||
42 | /* process the data componenet, e.g. extract to filesystem */ | 42 | /* process the data componenet, e.g. extract to filesystem */ |
43 | void (*action_data)(struct archive_handle_s *); | 43 | void (*action_data)(struct archive_handle_s *); |
44 | |||
45 | /* How to process any sub archive, e.g. get_header_tar_gz */ | ||
44 | char (*action_data_subarchive)(struct archive_handle_s *); | 46 | char (*action_data_subarchive)(struct archive_handle_s *); |
45 | 47 | ||
46 | /* Contains the handle to a sub archive */ | 48 | /* Contains the handle to a sub archive */ |
@@ -68,9 +70,10 @@ typedef struct archive_handle_s { | |||
68 | 70 | ||
69 | extern archive_handle_t *init_handle(void); | 71 | extern archive_handle_t *init_handle(void); |
70 | 72 | ||
71 | extern char filter_accept_all(const archive_handle_t *archive_handle); | 73 | extern char filter_accept_all(archive_handle_t *archive_handle); |
72 | extern char filter_accept_list(const archive_handle_t *archive_handle); | 74 | extern char filter_accept_list(archive_handle_t *archive_handle); |
73 | extern char filter_accept_reject_list(const archive_handle_t *archive_handle); | 75 | extern char filter_accept_list_reassign(archive_handle_t *archive_handle); |
76 | extern char filter_accept_reject_list(archive_handle_t *archive_handle); | ||
74 | 77 | ||
75 | extern void unpack_ar_archive(archive_handle_t *ar_archive); | 78 | extern void unpack_ar_archive(archive_handle_t *ar_archive); |
76 | 79 | ||