samba-vscan/include vscan-vfs.h, 1.2.2.2, 1.2.2.3

Rainer Link <[email protected]> Sat, 19 May 2007 17:59:12 +0000
Newsgroups gmane.comp.security.virus.openantivirus.cvs
Message-ID <[email protected]>
Update of /cvsroot/openantivirus/samba-vscan/include
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv25730

Modified Files:
      Tag: VSCAN_0_3
	vscan-vfs.h 
Log Message:
first batch of fixes for Samba 3.0.25 (or later)


Index: vscan-vfs.h
===================================================================
RCS file: /cvsroot/openantivirus/samba-vscan/include/vscan-vfs.h,v
retrieving revision 1.2.2.2
retrieving revision 1.2.2.3
diff -u -d -r1.2.2.2 -r1.2.2.3
--- vscan-vfs.h	5 Oct 2004 20:22:31 -0000	1.2.2.2
+++ vscan-vfs.h	19 May 2007 17:59:09 -0000	1.2.2.3
@@ -1,12 +1,15 @@
 #ifndef __VSCAN_VFS_H_
 #define __VSCAN_VFS_H_
 
-
-#if (SMB_VFS_INTERFACE_VERSION >= 6)
+#if (SMB_VFS_INTERFACE_VERSION >= 21)
+ static int vscan_connect(vfs_handle_struct *handle, const char *svc, const char *user); 
+ static void vscan_disconnect(vfs_handle_struct *handle);
+ static int vscan_open(vfs_handle_struct *handle, const char *fname, files_struct *fsp, int flags, mode_t mode);
+ static int vscan_close(vfs_handle_struct *handle, files_struct *fsp, int fd);
+#elif (SMB_VFS_INTERFACE_VERSION >= 6)
  static int vscan_connect(vfs_handle_struct *handle, connection_struct *conn, const char *svc, const char *user); 
  static void vscan_disconnect(vfs_handle_struct *handle, connection_struct *conn);
- static int vscan_open(vfs_handle_struct *handle, connection_struct *conn, const char *fname, 
- int flags, mode_t mode);
+ static int vscan_open(vfs_handle_struct *handle, connection_struct *conn, const char *fname, int flags, mode_t mode);
  static int vscan_close(vfs_handle_struct *handle, files_struct *fsp, int fd);
 #else
  static int vscan_connect(struct connection_struct *conn, PROTOTYPE_CONST char *svc, PROTOTYPE_CONST char *user); 
@@ -14,7 +17,7 @@
  static int vscan_open(struct connection_struct *conn, PROTOTYPE_CONST char *fname, 
  int flags, mode_t mode);
  static int vscan_close(struct files_struct *fsp, int fd);
-#endif /*  #if (SMB_VFS_INTERFACE_VERSION >= 6) */
+#endif /*  #if (SMB_VFS_INTERFACE_VERSION >= 21) */
 
 
 /* VFS operations */


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/