-
Notifications
You must be signed in to change notification settings - Fork 6
/
mod_clamav.h
42 lines (39 loc) · 1.55 KB
/
mod_clamav.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
* mod_clamav - ClamAV virus scanning module for ProFTPD
* Copyright (c) 2005-2013, Joseph Benden <joe@thrallingpenguin.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*
* Furthermore, Joseph Benden gives permission to link this program with
* ClamAV, and distribute the resulting executable, without including the
* source code for ClamAV in the source distribution.
*
* ClamAV is available at http://www.clamav.net/
*
* Thanks to TJ Saunders for his helpful comments and suggestions!
*
* DO NOT EDIT THE LINE BELOW
*/
#if !defined(MOD_CLAMAV_H)
#define MOD_CLAMAV_H
/**
* Function declarations
*/
static int clamavd_result(int sockd, const char *abs_filename, const char *rel_filename);
static int clamavd_connect_check(int sockd);
static int clamavd_scan(int sockd, const char *abs_filename, const char *rel_filename);
static int clamavd_connect(void);
int clamav_scan(cmd_rec *cmd);
#endif