summaryrefslogtreecommitdiff
path: root/source3/include/vfs.h
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-01-31 20:51:04 -0800
committerTim Prouty <tprouty@samba.org>2009-02-09 23:46:12 -0800
commit122dbbf00acc1768f98e5b57e94aab2b61671f40 (patch)
tree97dd65074e1d07f582ba945f50a9fb90d078cd05 /source3/include/vfs.h
parentfe5b0b595c926aea0916541ceeaf610bc018cb63 (diff)
downloadsamba-122dbbf00acc1768f98e5b57e94aab2b61671f40.tar.gz
samba-122dbbf00acc1768f98e5b57e94aab2b61671f40.tar.bz2
samba-122dbbf00acc1768f98e5b57e94aab2b61671f40.zip
s3 vfs: Add a destructor to the fsp extension data API
I'm not certain if the dummy pointer is needed in struct vfs_fsp_data, but I added it to be consistent with the comment below.
Diffstat (limited to 'source3/include/vfs.h')
-rw-r--r--source3/include/vfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/vfs.h b/source3/include/vfs.h
index e9115ab807..228f090600 100644
--- a/source3/include/vfs.h
+++ b/source3/include/vfs.h
@@ -679,8 +679,8 @@ typedef struct vfs_statvfs_struct {
/* Add a new FSP extension of the given type. Returns a pointer to the
* extenstion data.
*/
-#define VFS_ADD_FSP_EXTENSION(handle, fsp, type) \
- vfs_add_fsp_extension_notype(handle, (fsp), sizeof(type))
+#define VFS_ADD_FSP_EXTENSION(handle, fsp, type, destroy_fn) \
+ vfs_add_fsp_extension_notype(handle, (fsp), sizeof(type), (destroy_fn))
/* Return a pointer to the existing FSP extension data. */
#define VFS_FETCH_FSP_EXTENSION(handle, fsp) \