summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-25 13:42:42 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:10 +0200
commitb1e3b9d7c118b5ba5260525e87796a98a5037144 (patch)
treee2f18b391eb9fdf96c9c0ccca18081847855d99b /source3/include
parentc2d6260f1042313ecb7540dd6ced1470db3001e9 (diff)
downloadsamba-b1e3b9d7c118b5ba5260525e87796a98a5037144.tar.gz
samba-b1e3b9d7c118b5ba5260525e87796a98a5037144.tar.bz2
samba-b1e3b9d7c118b5ba5260525e87796a98a5037144.zip
s3: only include ntioctl.h where needed.
Guenther
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h1
-rw-r--r--source3/include/vfs.h5
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 297ec84a9f..d952fdd8f2 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -530,7 +530,6 @@ typedef char fstring[FSTRING_LEN];
#include "libads/ads_status.h"
#include "../libcli/util/error.h"
-#include "ntioctl.h"
#include "../lib/util/charset/charset.h"
#include "dynconfig.h"
#include "debugparse.h"
diff --git a/source3/include/vfs.h b/source3/include/vfs.h
index 64820afedf..ad15bd8042 100644
--- a/source3/include/vfs.h
+++ b/source3/include/vfs.h
@@ -182,6 +182,7 @@ enum vfs_fallocate_mode {
In particular, if new operations are added to vfs_ops, appropriate constants
should be added to vfs_op_type so that order of them kept same as in vfs_ops.
*/
+struct shadow_copy_data;
struct vfs_fn_pointers {
/* Disk operations */
@@ -192,7 +193,7 @@ struct vfs_fn_pointers {
uint64_t *dfree, uint64_t *dsize);
int (*get_quota)(struct vfs_handle_struct *handle, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *qt);
int (*set_quota)(struct vfs_handle_struct *handle, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *qt);
- int (*get_shadow_copy_data)(struct vfs_handle_struct *handle, struct files_struct *fsp, SHADOW_COPY_DATA *shadow_copy_data, bool labels);
+ int (*get_shadow_copy_data)(struct vfs_handle_struct *handle, struct files_struct *fsp, struct shadow_copy_data *shadow_copy_data, bool labels);
int (*statvfs)(struct vfs_handle_struct *handle, const char *path, struct vfs_statvfs_struct *statbuf);
uint32_t (*fs_capabilities)(struct vfs_handle_struct *handle, enum timestamp_set_resolution *p_ts_res);
@@ -522,7 +523,7 @@ int smb_vfs_call_set_quota(struct vfs_handle_struct *handle,
SMB_DISK_QUOTA *qt);
int smb_vfs_call_get_shadow_copy_data(struct vfs_handle_struct *handle,
struct files_struct *fsp,
- SHADOW_COPY_DATA *shadow_copy_data,
+ struct shadow_copy_data *shadow_copy_data,
bool labels);
int smb_vfs_call_statvfs(struct vfs_handle_struct *handle, const char *path,
struct vfs_statvfs_struct *statbuf);