logo       

samba-vscan/include vscan-global.h,1.3.2.4,1.3.2.5 vscan-vfs.h,1.2.2.1,1.2.: msg#00001

Subject: samba-vscan/include vscan-global.h,1.3.2.4,1.3.2.5 vscan-vfs.h,1.2.2.1,1.2.2.2
Update of /cvsroot/openantivirus/samba-vscan/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1998/include

Modified Files:
      Tag: VSCAN_0_3
        vscan-global.h vscan-vfs.h 
Log Message:
some changes to build it for Samba 2.2.x


Index: vscan-global.h
===================================================================
RCS file: /cvsroot/openantivirus/samba-vscan/include/vscan-global.h,v
retrieving revision 1.3.2.4
retrieving revision 1.3.2.5
diff -u -d -r1.3.2.4 -r1.3.2.5
--- vscan-global.h      24 Sep 2004 21:42:19 -0000      1.3.2.4
+++ vscan-global.h      5 Oct 2004 20:22:31 -0000       1.3.2.5
@@ -58,8 +58,16 @@
 #define SYSLOG_PRIORITY_ALERT   LOG_ERR
 #endif
 
+/* end configuration section */
 
 
+#if (SMB_VFS_INTERFACE_VERSION < 6)
+ #if (SAMBA_VERSION_MAJOR==3) || (SAMBA_VERSION_RELEASE>=4)
+ #define PROTOTYPE_CONST const
+ #else
+ #define PROTOTYPE_CONST
+ #endif
+#endif
 
 
 

Index: vscan-vfs.h
===================================================================
RCS file: /cvsroot/openantivirus/samba-vscan/include/vscan-vfs.h,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -u -d -r1.2.2.1 -r1.2.2.2
--- vscan-vfs.h 14 Jul 2003 13:09:16 -0000      1.2.2.1
+++ vscan-vfs.h 5 Oct 2004 20:22:31 -0000       1.2.2.2
@@ -9,11 +9,6 @@
  int flags, mode_t mode);
  static int vscan_close(vfs_handle_struct *handle, files_struct *fsp, int fd);
 #else
- #if (SAMBA_VERSION_MAJOR==3) || (SAMBA_VERSION_RELEASE>=4)
- #define PROTOTYPE_CONST const
- #else
- #define PROTOTYPE_CONST
- #endif
  static int vscan_connect(struct connection_struct *conn, PROTOTYPE_CONST char 
*svc, PROTOTYPE_CONST char *user); 
  static void vscan_disconnect(struct connection_struct *conn);
  static int vscan_open(struct connection_struct *conn, PROTOTYPE_CONST char 
*fname, 



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl


<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