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
|