samba-vscan/include vscan-fileregexp.h,NONE,1.1.2.1 vscan-global.h,1.3.2.5,1.3.2.6

Rainer Link <[email protected]> Fri, 08 Apr 2005 09:06:34 +0000
Newsgroups gmane.comp.security.virus.openantivirus.cvs
Message-ID <[email protected]>
Update of /cvsroot/openantivirus/samba-vscan/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29123/include

Modified Files:
      Tag: VSCAN_0_3
	vscan-global.h 
Added Files:
      Tag: VSCAN_0_3
	vscan-fileregexp.h 
Log Message:
some code-rework on file regexp stuff. needs to be tested carefully!


Index: vscan-global.h
===================================================================
RCS file: /cvsroot/openantivirus/samba-vscan/include/vscan-global.h,v
retrieving revision 1.3.2.5
retrieving revision 1.3.2.6
diff -u -d -r1.3.2.5 -r1.3.2.6
--- vscan-global.h	5 Oct 2004 20:22:31 -0000	1.3.2.5
+++ vscan-global.h	8 Apr 2005 09:06:32 -0000	1.3.2.6
@@ -12,6 +12,7 @@
 #include "vscan-filetype.h"
 #include "vscan-parameter.h"
 #include "vscan-scan.h"
+#include "vscan-fileregexp.h"
 
 #define CLIENT_IP_SIZE 18
 

--- NEW FILE: vscan-fileregexp.h ---
#ifndef __VSCAN_FILEREGEXP_H_
#define __VSCAN_FILEREGEXP_H_


/* actions */

/* error occured; file must be scanned */
#define VSCAN_FR_ERROR_MUST_SCAN	-1
/* file not in list, file must be scanned */
#define VSCAN_FR_MUST_SCAN 		 0
/* file in exclude regexp, skip file, 
   i.e. do not scan file */
#define VSCAN_FR_SKIP_SCAN 		 1


BOOL fileregexp_init (pstring filetype_excluderegexp);
void fileregexp_close(void);
int fileregexp_skipscan(pstring fname);

#endif /* __VSCAN_FILEREGEXP_H_ */



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click