summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGlenn L McGrath2002-11-04 23:47:31 +0000
committerGlenn L McGrath2002-11-04 23:47:31 +0000
commit8e940984231a5baf98b6e2a637477dd701d314a9 (patch)
tree5864c9961fdbfbcb8ecf09e78077544f9c8d12c3 /include
parentf92caa7619d3f2dd7159a8bfb846e0f6dd4bab25 (diff)
downloadbusybox-8e940984231a5baf98b6e2a637477dd701d314a9.zip
busybox-8e940984231a5baf98b6e2a637477dd701d314a9.tar.gz
Change filter paramaters, filters can be more powefull now
Diffstat (limited to 'include')
-rw-r--r--include/unarchive.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/unarchive.h b/include/unarchive.h
index b13388b..a1010aa 100644
--- a/include/unarchive.h
+++ b/include/unarchive.h
@@ -28,7 +28,7 @@ typedef struct llist_s {
typedef struct archive_handle_s {
/* define if the header and data compenent should processed */
- char (*filter)(const llist_t *, const llist_t *, const char *);
+ char (*filter)(const struct archive_handle_s *);
const llist_t *accept;
const llist_t *reject;
const llist_t *passed; /* List of files that have successfully been worked on */
@@ -68,9 +68,9 @@ typedef struct archive_handle_s {
extern archive_handle_t *init_handle(void);
-extern char filter_accept_all(const llist_t *accept_list, const llist_t *reject_list, const char *key);
-extern char filter_accept_list(const llist_t *accept_list, const llist_t *reject_list, const char *key);
-extern char filter_accept_reject_list(const llist_t *accept_list, const llist_t *reject_list, const char *key);
+extern char filter_accept_all(const archive_handle_t *archive_handle);
+extern char filter_accept_list(const archive_handle_t *archive_handle);
+extern char filter_accept_reject_list(const archive_handle_t *archive_handle);
extern void unpack_ar_archive(archive_handle_t *ar_archive);