2011-08-12 08:42:57 +02:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
|
# include "config.h"
|
|
|
|
|
#endif
|
|
|
|
|
#include <lrzip_private.h>
|
|
|
|
|
#include <liblrzip.h>
|
|
|
|
|
|
|
|
|
|
#define INFILE_BUCKET_SIZE 10
|
|
|
|
|
|
|
|
|
|
struct Lrzip
|
|
|
|
|
{
|
|
|
|
|
Lrzip_Mode mode;
|
2011-08-13 09:43:19 +02:00
|
|
|
unsigned int flags;
|
2011-08-12 08:42:57 +02:00
|
|
|
rzip_control *control;
|
|
|
|
|
|
|
|
|
|
/* bucket allocation is used here to avoid frequent calls to realloc */
|
2011-08-13 09:43:19 +02:00
|
|
|
char **infilenames;
|
|
|
|
|
size_t infilename_idx;
|
|
|
|
|
size_t infilename_buckets;
|
|
|
|
|
FILE **infiles;
|
2011-08-12 08:42:57 +02:00
|
|
|
size_t infile_idx;
|
|
|
|
|
size_t infile_buckets;
|
|
|
|
|
};
|