mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 21:40:13 +01:00
950211687f
Signed-off-by: Janos SUTO <sj@acts.hu>
26 lines
336 B
C
26 lines
336 B
C
/*
|
|
* av.h, SJ
|
|
*/
|
|
|
|
#ifndef _AV_H
|
|
#define _AV_H
|
|
|
|
#include "defs.h"
|
|
#include "cfg.h"
|
|
|
|
|
|
#define AV_OK 200
|
|
#define AV_VIRUS 403
|
|
#define AV_ERROR 501
|
|
|
|
|
|
// clamd stuff
|
|
|
|
#define CLAMD_RESP_CLEAN "OK"
|
|
#define CLAMD_RESP_INFECTED "FOUND"
|
|
#define CLAMD_RESP_ERROR "ERROR"
|
|
|
|
int clamd_scan(char *tmpfile, struct config *cfg);
|
|
|
|
#endif /* _AV_H */
|