mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
s3: only include ntioctl.h where needed.
Guenther
This commit is contained in:
parent
c2d6260f10
commit
b1e3b9d7c1
@ -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"
|
||||
|
@ -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);
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "async_smb.h"
|
||||
#include "libsmb/clirap.h"
|
||||
#include "trans2.h"
|
||||
#include "ntioctl.h"
|
||||
|
||||
/***********************************************************
|
||||
Common function for pushing stings, used by smb_bytes_push_str()
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "system/time.h"
|
||||
#include "system/filesys.h"
|
||||
#include "smbd/smbd.h"
|
||||
#include "ntioctl.h"
|
||||
|
||||
#undef DBGC_CLASS
|
||||
#define DBGC_CLASS DBGC_VFS
|
||||
|
@ -63,6 +63,7 @@
|
||||
#include "smbd/smbd.h"
|
||||
#include "../librpc/gen_ndr/ndr_netlogon.h"
|
||||
#include "auth.h"
|
||||
#include "ntioctl.h"
|
||||
|
||||
static int vfs_full_audit_debug_level = DBGC_VFS;
|
||||
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "smbd/smbd.h"
|
||||
#include "ntioctl.h"
|
||||
|
||||
/*
|
||||
Please read the VFS module Samba-HowTo-Collection.
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "includes.h"
|
||||
#include "smbd/smbd.h"
|
||||
#include "system/filesys.h"
|
||||
#include "ntioctl.h"
|
||||
|
||||
/*
|
||||
|
||||
|
@ -27,6 +27,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "smbd/smbd.h"
|
||||
#include "ntioctl.h"
|
||||
|
||||
#undef DBGC_CLASS
|
||||
#define DBGC_CLASS DBGC_VFS
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "../librpc/gen_ndr/ndr_security.h"
|
||||
#include "passdb/lookup_sid.h"
|
||||
#include "auth.h"
|
||||
#include "ntioctl.h"
|
||||
|
||||
extern const struct generic_mapping file_generic_mapping;
|
||||
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include "smbd/globals.h"
|
||||
#include "memcache.h"
|
||||
#include "transfer_file.h"
|
||||
#include "ntioctl.h"
|
||||
|
||||
#undef DBGC_CLASS
|
||||
#define DBGC_CLASS DBGC_VFS
|
||||
|
Loading…
x
Reference in New Issue
Block a user