2006-04-13 13:32:16 +00:00
|
|
|
/* vi: set sw=4 ts=4: */
|
2002-11-04 23:47:31 +00:00
|
|
|
/*
|
2006-04-13 13:32:16 +00:00
|
|
|
* Copyright (C) 2002 by Glenn McGrath
|
2002-11-04 23:47:31 +00:00
|
|
|
*
|
2006-04-13 13:32:16 +00:00
|
|
|
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
|
2002-11-04 23:47:31 +00:00
|
|
|
*/
|
|
|
|
|
2007-05-31 22:42:12 +00:00
|
|
|
#include "libbb.h"
|
2002-09-25 02:47:48 +00:00
|
|
|
#include "unarchive.h"
|
2002-11-04 23:47:31 +00:00
|
|
|
|
|
|
|
/* Accept any non-null name, its not really a filter at all */
|
2008-06-27 02:52:20 +00:00
|
|
|
char FAST_FUNC filter_accept_all(archive_handle_t *archive_handle)
|
2002-09-25 02:47:48 +00:00
|
|
|
{
|
2006-11-27 16:49:31 +00:00
|
|
|
if (archive_handle->file_header->name)
|
|
|
|
return EXIT_SUCCESS;
|
|
|
|
return EXIT_FAILURE;
|
2002-09-25 02:47:48 +00:00
|
|
|
}
|