diff options
author | Holger Hetterich <hhetter@novell.com> | 2010-02-15 17:47:30 +0100 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2010-03-16 09:52:10 -0400 |
commit | a0e2632e119c2e3e086cd485d448b44836c1499b (patch) | |
tree | 62c8a31548e249e5ab86ae9507182b963a68fc15 /source3/modules/vfs_smb_traffic_analyzer.h | |
parent | f6ae16e318145224cc38180628e542bb3fc6bb8c (diff) | |
download | samba-a0e2632e119c2e3e086cd485d448b44836c1499b.tar.gz samba-a0e2632e119c2e3e086cd485d448b44836c1499b.tar.bz2 samba-a0e2632e119c2e3e086cd485d448b44836c1499b.zip |
s3: vfs_smb_traffic_analyzer.c: add VFS functions for file open and close
Diffstat (limited to 'source3/modules/vfs_smb_traffic_analyzer.h')
-rw-r--r-- | source3/modules/vfs_smb_traffic_analyzer.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/source3/modules/vfs_smb_traffic_analyzer.h b/source3/modules/vfs_smb_traffic_analyzer.h index 1e8375d17b..3f47ea5a72 100644 --- a/source3/modules/vfs_smb_traffic_analyzer.h +++ b/source3/modules/vfs_smb_traffic_analyzer.h @@ -104,7 +104,9 @@ enum vfs_id { vfs_id_mkdir, vfs_id_rmdir, vfs_id_rename, - vfs_id_chdir + vfs_id_chdir, + vfs_id_open, + vfs_id_close }; @@ -113,6 +115,17 @@ enum vfs_id { * Specific data sets for the VFS functions. * A compatible receiver has to have the exact same dataset. */ +struct open_data { + const char *filename; + mode_t mode; + int result; +}; + +struct close_data { + const char *filename; + int result; +}; + struct mkdir_data { const char *path; mode_t mode; |