ClamAV is an open source (GPLv2) anti-virus toolkit.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
clamav/clamav-milter/clamfi.h

18 lines
478 B

#ifndef _CLAMFI_H
#define _CLAMFI_H
#include "shared/cfgparser.h"
#include <libmilter/mfapi.h>
extern uint64_t maxfilesize;
extern int addxvirus;
extern char xvirushdr[255];
sfsistat clamfi_body(SMFICTX *ctx, unsigned char *bodyp, size_t len);
sfsistat clamfi_eom(SMFICTX *ctx);
sfsistat clamfi_header(SMFICTX *ctx, char *headerf, char *headerv);
sfsistat clamfi_connect(SMFICTX *ctx, char *hostname, _SOCK_ADDR *hostaddr);
int init_actions(struct cfgstruct *copt);
#endif