libclamav/cvd.h
d9e258d5
 /*
a6a98456
  *  Copyright (C) 2007-2009 Sourcefire, Inc.
2023340a
  *
  *  Authors: Tomasz Kojm
d9e258d5
  *
  *  This program is free software; you can redistribute it and/or modify
bb34cb31
  *  it under the terms of the GNU General Public License version 2 as
  *  published by the Free Software Foundation.
d9e258d5
  *
  *  This program is distributed in the hope that it will be useful,
  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  *  GNU General Public License for more details.
  *
  *  You should have received a copy of the GNU General Public License
  *  along with this program; if not, write to the Free Software
48b7b4a7
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  *  MA 02110-1301, USA.
d9e258d5
  */
 
 #ifndef __CVD_H
 #define __CVD_H
 
 #include <stdio.h>
e8ae4fae
 #include <zlib.h>
d9e258d5
 #include "clamav.h"
 
e8ae4fae
 struct cli_dbio {
     gzFile *gzs;
     FILE *fs;
     unsigned int size;
a6a98456
     char *buf, *bufpt, *readpt;
     unsigned int usebuf, bufsize, readsize;
 
e8ae4fae
 };
 
15850fc6
 int cli_cvdload(FILE *fs, struct cl_engine *engine, unsigned int *signo, unsigned int daily, unsigned int options, unsigned int cld);
afff80ef
 int cli_cvdunpack(const char *file, const char *dir);
d9e258d5
 
 #endif