diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-11-04 23:47:31 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-11-04 23:47:31 +0000 |
commit | 1d4a9b676b6562a9be9991eeb0eb939e526e61e6 (patch) | |
tree | 5864c9961fdbfbcb8ecf09e78077544f9c8d12c3 /include | |
parent | 4d040125f07ae51b59fc392ae69371def69bfae1 (diff) | |
download | busybox-w32-1d4a9b676b6562a9be9991eeb0eb939e526e61e6.tar.gz busybox-w32-1d4a9b676b6562a9be9991eeb0eb939e526e61e6.tar.bz2 busybox-w32-1d4a9b676b6562a9be9991eeb0eb939e526e61e6.zip |
Change filter paramaters, filters can be more powefull now
git-svn-id: svn://busybox.net/trunk/busybox@5806 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 | ||