libclamunrar/unrarfilter.h
5ca7fd18
 /*
  * Extract RAR archives
  *
  * Copyright (C) 2005-2006 trog@uncon.org
  *
  * This code is based on the work of Alexander L. Roshal (C)
  *
  * The unRAR sources may be used in any software to handle RAR
  * archives without limitations free of charge, but cannot be used
  * to re-create the RAR compression algorithm, which is proprietary.
  * Distribution of modified unRAR sources in separate form or as a
  * part of other software is permitted, provided that it is clearly
  * stated in the documentation and source comments that the code may
  * not be used to develop a RAR (WinRAR) compatible archiver.
  *
  */
 
 
 #ifndef RAR_FILTER_ARRAY_H
 #define RAR_FILTER_ARRAY_H
 
 #include <stdlib.h>
 
 typedef struct rar_filter_array_tag
 {
 	struct UnpackFilter **array;
 	size_t num_items;
 } rar_filter_array_t;
 
 void rar_filter_array_init(rar_filter_array_t *filter_a);
 void rar_filter_array_reset(rar_filter_array_t *filter_a);
 int rar_filter_array_add(rar_filter_array_t *filter_a, int num);
 struct UnpackFilter *rar_filter_new(void);
 void rar_filter_delete(struct UnpackFilter *filter);
 #endif