Patch from Konstantin Isakov <ikm@pisem.net>:
[oweals/busybox.git] / archival / libunarchive / filter_accept_all.c
1 #include <fnmatch.h>
2 #include <stdlib.h>
3 #include "unarchive.h"
4 /*
5  * Accept names that are in the accept list
6  */
7 extern char filter_accept_all(const llist_t *accept_list, const llist_t *reject_list, const char *key)
8 {
9         if (key) {
10                 return(EXIT_SUCCESS);
11         } else {
12                 return(EXIT_FAILURE);
13         }
14 }