376307a0 |
/*
* Copyright (C) 2007 Tomasz Kojm <tkojm@clamav.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* 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
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*/
#ifndef __MIRMAN_H
#define __MIRMAN_H
#include "libclamav/cltypes.h"
|
6df88f29 |
int mirman_read (const char *file, struct mirdat *mdat, uint8_t active);
int mirman_check (uint32_t * ip, int af, struct mirdat *mdat,
struct mirdat_ip **md);
int mirman_update (uint32_t * ip, int af, struct mirdat *mdat,
uint8_t broken);
int mirman_update_sf (uint32_t * ip, int af, struct mirdat *mdat, int succ,
int fail);
void mirman_list (const struct mirdat *mdat);
void mirman_whitelist (struct mirdat *mdat, unsigned int mode);
int mirman_write (const char *file, const char *dir, struct mirdat *mdat);
void mirman_free (struct mirdat *mdat); |