logo       

samba-vscan/include vscan-parameter.h,NONE,1.1.2.1 vscan-functions.h,1.5.2.: msg#00018

Subject: samba-vscan/include vscan-parameter.h,NONE,1.1.2.1 vscan-functions.h,1.5.2.1,1.5.2.2 vscan-global.h,1.3.2.2,1.3.2.3
Update of /cvsroot/openantivirus/samba-vscan/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21244/include

Modified Files:
      Tag: VSCAN_0_3
        vscan-functions.h vscan-global.h 
Added Files:
      Tag: VSCAN_0_3
        vscan-parameter.h 
Log Message:
started some more code-reorganisation; not finished; could have
broken stuff


Index: vscan-global.h
===================================================================
RCS file: /cvsroot/openantivirus/samba-vscan/include/vscan-global.h,v
retrieving revision 1.3.2.2
retrieving revision 1.3.2.3
diff -u -d -r1.3.2.2 -r1.3.2.3
--- vscan-global.h      12 Sep 2003 07:12:15 -0000      1.3.2.2
+++ vscan-global.h      2 May 2004 19:45:31 -0000       1.3.2.3
@@ -10,6 +10,7 @@
 #include "vscan-message.h"
 #include "vscan-quarantine.h"
 #include "vscan-filetype.h"
+#include "vscan-parameter.h"
 
 
 #define CLIENT_IP_SIZE 18

--- NEW FILE: vscan-parameter.h ---
#ifndef __VSCAN_PARAMETER_H_
#define __VSCAN_PARAMETER_H_

typedef struct {
        struct {
                ssize_t max_size;               /* do not scan files greater 
than max_size
                                                if max_size = 0, scan any file 
*/
                BOOL verbose_file_logging;      /* log every file access */
                BOOL scan_on_open;              /* scan a file before it is 
opened
                                                   Defaults to True
                                                */
                BOOL scan_on_close;             /* scan a new file put on share 
or
                                                   if file was modified
                                                   Defaults to False
                                                */
                BOOL deny_access_on_error;      /* if connection to daemon 
fails,  should access to any
                                                   file be denied? Defaults to 
True
                                                */

                BOOL deny_access_on_minor_error; /* if daemon returns 
non-critical error,
                                                    should access to the file 
be denied? */
                BOOL send_warning_message;      /* send a warning message using 
the windows
                                                   messenger service? */
                fstring quarantine_dir;         /* directory for infected files 
*/
                fstring quarantine_prefix;      /* prefix    for infected files 
*/
                enum infected_file_action_enum infected_file_action; /* what to 
do with infected files;
                                                                        
defaults to quarantine */
                int max_lrufiles;               /* specified the maximum 
entries in lrufiles list */
                time_t lrufiles_invalidate_time; /* specified the time in 
seconds after the lifetime
                                                    of an entry is expired and 
entry will be invalidated */
                pstring exclude_file_types;     /* list of file types which 
should be excluded from scanning */
        } common;
        void* specific;
} vscan_config_struct;

BOOL do_common_parameter(vscan_config_struct *vscan_config, const char *param, 
const char *value);


#endif /* __VSCAN_PARAMETER_H_ */

Index: vscan-functions.h
===================================================================
RCS file: /cvsroot/openantivirus/samba-vscan/include/vscan-functions.h,v
retrieving revision 1.5.2.1
retrieving revision 1.5.2.2
diff -u -d -r1.5.2.1 -r1.5.2.2
--- vscan-functions.h   14 Jul 2003 13:09:16 -0000      1.5.2.1
+++ vscan-functions.h   2 May 2004 19:45:31 -0000       1.5.2.2
@@ -7,5 +7,8 @@
 void vscan_syslog(const char *printMessage, ...);
 void vscan_syslog_alert(const char *printMessage, ...);
 char* encode_string (const char *s);
+int vscan_inet_socket_init(const char* daemon_name, const char* ip, const 
unsigned short int port);
+int vscan_unix_socket_init(const char* daemon_name, const char* socket_name);
+void vscan_socket_end (int sockfd);
 
 #endif /* __VSCAN_FUNCTIONS_H */



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe