4
* Copyright (C) 2005 trog@uncon.org
6
* This code is based on the work of Alexander L. Roshal
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 2 of the License, or
11
* (at your option) any later version.
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with this program; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
24
#ifndef RAR_FILTER_ARRAY_H
25
#define RAR_FILTER_ARRAY_H
29
typedef struct rar_filter_array_tag
31
struct UnpackFilter **array;
35
void rar_filter_array_init(rar_filter_array_t *filter_a);
36
void rar_filter_array_reset(rar_filter_array_t *filter_a);
37
int rar_filter_array_add(rar_filter_array_t *filter_a, int num);
38
struct UnpackFilter *rar_filter_new(void);
39
void rar_filter_delete(struct UnpackFilter *filter);