2003-07-29 15:48:06 +00:00
|
|
|
/*
|
2009-02-07 00:59:58 +00:00
|
|
|
* Copyright (C) 2009 Sourcefire, Inc.
|
|
|
|
|
*
|
|
|
|
|
* Authors: Tomasz Kojm, aCaB
|
2003-07-29 15:48:06 +00:00
|
|
|
*
|
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
2007-03-31 20:31:04 +00:00
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
|
* published by the Free Software Foundation.
|
2003-07-29 15:48:06 +00:00
|
|
|
*
|
|
|
|
|
* 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
|
2006-04-09 19:59:28 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
|
|
|
* MA 02110-1301, USA.
|
2003-07-29 15:48:06 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef __CLIENT_H
|
|
|
|
|
#define __CLIENT_H
|
|
|
|
|
|
2008-12-30 21:16:02 +00:00
|
|
|
#include "shared/optparser.h"
|
2004-03-29 00:00:58 +00:00
|
|
|
|
2009-02-07 00:59:58 +00:00
|
|
|
enum {
|
|
|
|
|
CONT,
|
|
|
|
|
MULTI,
|
|
|
|
|
STREAM,
|
2012-10-18 14:12:58 -07:00
|
|
|
FILDES,
|
|
|
|
|
ALLMATCH,
|
|
|
|
|
MAX_SCANTYPE = ALLMATCH
|
2009-02-07 00:59:58 +00:00
|
|
|
};
|
|
|
|
|
|
2010-02-03 18:23:30 +01:00
|
|
|
int client(const struct optstruct *opts, int *infected, int *err);
|
2008-12-30 21:16:02 +00:00
|
|
|
int get_clamd_version(const struct optstruct *opts);
|
|
|
|
|
int reload_clamd_database(const struct optstruct *opts);
|
2003-07-29 15:48:06 +00:00
|
|
|
|
|
|
|
|
#endif
|