~ubuntu-branches/ubuntu/saucy/clamav/saucy

« back to all changes in this revision

Viewing changes to libclamav/unrar/unrarfilter.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2007-12-18 15:18:53 UTC
  • mfrom: (0.25.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071218151853-ag6bdjbq6budh353
Tags: 0.92~dfsg-0build1
Fake sync to get the new clamav into the NEW queue

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 *  Extract RAR archives
3
 
 *
4
 
 *  Copyright (C) 2005 trog@uncon.org
5
 
 *
6
 
 *  This code is based on the work of Alexander L. Roshal
7
 
 *
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.
12
 
 *
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.
17
 
 *
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,
21
 
 *  MA 02110-1301, USA.
22
 
 */
23
 
 
24
 
#ifndef RAR_FILTER_ARRAY_H
25
 
#define RAR_FILTER_ARRAY_H
26
 
 
27
 
#include <stdlib.h>
28
 
 
29
 
typedef struct rar_filter_array_tag
30
 
{
31
 
        struct UnpackFilter **array;
32
 
        size_t num_items;
33
 
} rar_filter_array_t;
34
 
 
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);
40
 
#endif