diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2002-11-04 23:47:31 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2002-11-04 23:47:31 +0000 |
commit | 8e940984231a5baf98b6e2a637477dd701d314a9 (patch) | |
tree | 5864c9961fdbfbcb8ecf09e78077544f9c8d12c3 /include | |
parent | f92caa7619d3f2dd7159a8bfb846e0f6dd4bab25 (diff) | |
download | busybox-w32-8e940984231a5baf98b6e2a637477dd701d314a9.tar.gz busybox-w32-8e940984231a5baf98b6e2a637477dd701d314a9.tar.bz2 busybox-w32-8e940984231a5baf98b6e2a637477dd701d314a9.zip |
Change filter paramaters, filters can be more powefull now
Diffstat (limited to 'include')
-rw-r--r-- | include/unarchive.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/unarchive.h b/include/unarchive.h index b13388b54..a1010aae8 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 llist_t *, const llist_t *, const char *); | 31 | char (*filter)(const 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 */ |
@@ -68,9 +68,9 @@ typedef struct archive_handle_s { | |||
68 | 68 | ||
69 | extern archive_handle_t *init_handle(void); | 69 | extern archive_handle_t *init_handle(void); |
70 | 70 | ||
71 | extern char filter_accept_all(const llist_t *accept_list, const llist_t *reject_list, const char *key); | 71 | extern char filter_accept_all(const archive_handle_t *archive_handle); |
72 | extern char filter_accept_list(const llist_t *accept_list, const llist_t *reject_list, const char *key); | 72 | extern char filter_accept_list(const archive_handle_t *archive_handle); |
73 | extern char filter_accept_reject_list(const llist_t *accept_list, const llist_t *reject_list, const char *key); | 73 | extern char filter_accept_reject_list(const archive_handle_t *archive_handle); |
74 | 74 | ||
75 | extern void unpack_ar_archive(archive_handle_t *ar_archive); | 75 | extern void unpack_ar_archive(archive_handle_t *ar_archive); |
76 | 76 | ||