~ubuntu-branches/ubuntu/gutsy/samba/gutsy-updates

« back to all changes in this revision

Viewing changes to source/include/vfs.h

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Mitchell
  • Date: 2006-11-28 20:14:37 UTC
  • mfrom: (0.10.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061128201437-a6x4lzlhempazocp
Tags: 3.0.23d-1ubuntu1
* Merge from debian unstable.
* Drop python2.4-samba, replace with python-samba. Added Conflicts/Replaces
  on python2.4-samba
* Drop track-connection-dos.patch, ubuntu-winbind-panic.patch, 
  ubuntu-fix-ldap.patch, ubuntu-setlocale.patch, ubuntu-setlocale-fixes.patch
* Remaining Ubuntu changes:
  - Revert Debian's installation of mount.cifs and umount.cifs as suid
  - Comment out the default [homes] shares and add more verbose comments to
    explain what they do and how they work (closes: launchpad.net/27608)
  - Add a "valid users = %S" stanza to the commented-out [homes] section, to
    show users how to restrict access to \\server\username to only username.
  - Change the (commented-out) "printer admin" example to use "@lpadmin"
    instead of "@ntadmin", since the lpadmin group is used for spool admin.
  - Alter the panic-action script to encourage users to report their
    bugs in Ubuntu packages to Ubuntu, rather than reporting to Debian.
    Modify text to more closely match the Debian script
  - Munge our init script to deal with the fact that our implementation
    (or lack thereof) of log_daemon_msg and log_progress_msg differs
    from Debian's implementation of the same (Ubuntu #19691)
  - Kept ubuntu-auxsrc.patch: some auxilliary sources (undocumented in 
    previous changelogs)
  - Set default workgroup to MSHOME

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
/* Changed to version 12 to add mask and attributes to opendir(). JRA 
60
60
   Also include aio calls. JRA. */
61
61
/* Changed to version 13 as the internal structure of files_struct has changed. JRA */
62
 
/* Changed to version 14 as the we had to change DIR to SMB_STRUCT_DIR. JRA */
63
 
/* Changed to version 15 as the we added the statvfs call. JRA */
64
 
#define SMB_VFS_INTERFACE_VERSION 15
 
62
/* Changed to version 14 as we had to change DIR to SMB_STRUCT_DIR. JRA */
 
63
/* Changed to version 15 as we added the statvfs call. JRA */
 
64
/* Changed to version 16 as we added the getlock call. JRA */
 
65
#define SMB_VFS_INTERFACE_VERSION 16
65
66
 
66
67
 
67
68
/* to bug old modules which are trying to compile with the old functions */
141
142
        SMB_VFS_OP_UTIME,
142
143
        SMB_VFS_OP_FTRUNCATE,
143
144
        SMB_VFS_OP_LOCK,
 
145
        SMB_VFS_OP_GETLOCK,
144
146
        SMB_VFS_OP_SYMLINK,
145
147
        SMB_VFS_OP_READLINK,
146
148
        SMB_VFS_OP_LINK,
262
264
                int (*utime)(struct vfs_handle_struct *handle, struct connection_struct *conn, const char *path, struct utimbuf *times);
263
265
                int (*ftruncate)(struct vfs_handle_struct *handle, struct files_struct *fsp, int fd, SMB_OFF_T offset);
264
266
                BOOL (*lock)(struct vfs_handle_struct *handle, struct files_struct *fsp, int fd, int op, SMB_OFF_T offset, SMB_OFF_T count, int type);
 
267
                BOOL (*getlock)(struct vfs_handle_struct *handle, struct files_struct *fsp, int fd, SMB_OFF_T *poffset, SMB_OFF_T *pcount, int *ptype, pid_t *ppid);
265
268
                int (*symlink)(struct vfs_handle_struct *handle, struct connection_struct *conn, const char *oldpath, const char *newpath);
266
269
                int (*readlink)(struct vfs_handle_struct *handle, struct connection_struct *conn, const char *path, char *buf, size_t bufsiz);
267
270
                int (*link)(struct vfs_handle_struct *handle, struct connection_struct *conn, const char *oldpath, const char *newpath);
375
378
                struct vfs_handle_struct *utime;
376
379
                struct vfs_handle_struct *ftruncate;
377
380
                struct vfs_handle_struct *lock;
 
381
                struct vfs_handle_struct *getlock;
378
382
                struct vfs_handle_struct *symlink;
379
383
                struct vfs_handle_struct *readlink;
380
384
                struct vfs_handle_struct *link;