diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-12-27 22:51:30 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:47:51 -0500 |
commit | 0a3c167f6bcf08b2204ca49831ca49eef73dcbf4 (patch) | |
tree | b6373b840d8b899161575abfa637f6a32e6d068f /source4/ntvfs | |
parent | 7285e102f063122ca8ef1222cc6e9a5cde176b41 (diff) | |
download | samba-0a3c167f6bcf08b2204ca49831ca49eef73dcbf4.tar.gz samba-0a3c167f6bcf08b2204ca49831ca49eef73dcbf4.tar.bz2 samba-0a3c167f6bcf08b2204ca49831ca49eef73dcbf4.zip |
r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.
(This used to be commit 87f665a1d5ba74289974bf9d8f9441c162e6f1b1)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/cifs/vfs_cifs.c | 1 | ||||
-rw-r--r-- | source4/ntvfs/config.mk | 1 | ||||
-rw-r--r-- | source4/ntvfs/ipc/vfs_ipc.c | 1 | ||||
-rw-r--r-- | source4/ntvfs/nbench/vfs_nbench.c | 1 | ||||
-rw-r--r-- | source4/ntvfs/ntvfs.h | 2 | ||||
-rw-r--r-- | source4/ntvfs/ntvfs_base.c | 1 | ||||
-rw-r--r-- | source4/ntvfs/ntvfs_generic.c | 1 | ||||
-rw-r--r-- | source4/ntvfs/ntvfs_interface.c | 2 | ||||
-rw-r--r-- | source4/ntvfs/ntvfs_util.c | 1 | ||||
-rw-r--r-- | source4/ntvfs/posix/vfs_posix.h | 1 | ||||
-rw-r--r-- | source4/ntvfs/print/vfs_print.c | 1 | ||||
-rw-r--r-- | source4/ntvfs/simple/svfs_util.c | 1 | ||||
-rw-r--r-- | source4/ntvfs/simple/vfs_simple.c | 1 | ||||
-rw-r--r-- | source4/ntvfs/unixuid/vfs_unixuid.c | 1 |
14 files changed, 15 insertions, 1 deletions
diff --git a/source4/ntvfs/cifs/vfs_cifs.c b/source4/ntvfs/cifs/vfs_cifs.c index b0d0d06552..16a472104b 100644 --- a/source4/ntvfs/cifs/vfs_cifs.c +++ b/source4/ntvfs/cifs/vfs_cifs.c @@ -33,6 +33,7 @@ #include "smb_server/smb_server.h" #include "smbd/service_stream.h" #include "auth/auth.h" +#include "ntvfs/ntvfs.h" /* this is stored in ntvfs_private */ struct cvfs_private { diff --git a/source4/ntvfs/config.mk b/source4/ntvfs/config.mk index bc39d82156..74b62809f7 100644 --- a/source4/ntvfs/config.mk +++ b/source4/ntvfs/config.mk @@ -77,6 +77,7 @@ PUBLIC_HEADERS = ntvfs.h MAJOR_VERSION = 0 MINOR_VERSION = 0 DESCRIPTION = Virtual File System with NTFS semantics +PRIVATE_PROTO_HEADER = ntvfs_proto.h RELEASE_VERSION = 1 OBJ_FILES = \ ntvfs_base.o \ diff --git a/source4/ntvfs/ipc/vfs_ipc.c b/source4/ntvfs/ipc/vfs_ipc.c index 3f91323fe5..3a643d7145 100644 --- a/source4/ntvfs/ipc/vfs_ipc.c +++ b/source4/ntvfs/ipc/vfs_ipc.c @@ -29,6 +29,7 @@ #include "system/filesys.h" #include "dlinklist.h" #include "smb_server/smb_server.h" +#include "ntvfs/ntvfs.h" #define IPC_BASE_FNUM 0x400 diff --git a/source4/ntvfs/nbench/vfs_nbench.c b/source4/ntvfs/nbench/vfs_nbench.c index acfa6313d3..3c95621694 100644 --- a/source4/ntvfs/nbench/vfs_nbench.c +++ b/source4/ntvfs/nbench/vfs_nbench.c @@ -27,6 +27,7 @@ #include "includes.h" #include "system/filesys.h" #include "smb_server/smb_server.h" +#include "ntvfs/ntvfs.h" /* this is stored in ntvfs_private */ struct nbench_private { diff --git a/source4/ntvfs/ntvfs.h b/source4/ntvfs/ntvfs.h index 3a6a78c032..4ec8926ebc 100644 --- a/source4/ntvfs/ntvfs.h +++ b/source4/ntvfs/ntvfs.h @@ -180,3 +180,5 @@ struct ntvfs_critical_sizes { int sizeof_smbsrv_tcon; int sizeof_smbsrv_request; }; + +#include "ntvfs/ntvfs_proto.h" diff --git a/source4/ntvfs/ntvfs_base.c b/source4/ntvfs/ntvfs_base.c index 1b021527de..d20904737f 100644 --- a/source4/ntvfs/ntvfs_base.c +++ b/source4/ntvfs/ntvfs_base.c @@ -27,6 +27,7 @@ #include "dlinklist.h" #include "smb_server/smb_server.h" #include "smb_build.h" +#include "ntvfs/ntvfs.h" /* the list of currently registered NTVFS backends, note that there * can be more than one backend with the same name, as long as they diff --git a/source4/ntvfs/ntvfs_generic.c b/source4/ntvfs/ntvfs_generic.c index 8d2809cf6b..dc638ade5f 100644 --- a/source4/ntvfs/ntvfs_generic.c +++ b/source4/ntvfs/ntvfs_generic.c @@ -34,6 +34,7 @@ #include "includes.h" #include "smb_server/smb_server.h" #include "librpc/gen_ndr/ndr_security.h" +#include "ntvfs/ntvfs.h" /* a second stage function converts from the out parameters of the generic call onto the out parameters of the specific call made */ diff --git a/source4/ntvfs/ntvfs_interface.c b/source4/ntvfs/ntvfs_interface.c index 6a711bc3bd..788dcafaca 100644 --- a/source4/ntvfs/ntvfs_interface.c +++ b/source4/ntvfs/ntvfs_interface.c @@ -21,7 +21,7 @@ #include "includes.h" #include "smb_server/smb_server.h" - +#include "ntvfs/ntvfs.h" /* connect/disconnect */ NTSTATUS ntvfs_connect(struct smbsrv_request *req, const char *sharename) diff --git a/source4/ntvfs/ntvfs_util.c b/source4/ntvfs/ntvfs_util.c index e360321882..ad31865425 100644 --- a/source4/ntvfs/ntvfs_util.c +++ b/source4/ntvfs/ntvfs_util.c @@ -24,6 +24,7 @@ #include "includes.h" #include "dlinklist.h" #include "smb_server/smb_server.h" +#include "ntvfs/ntvfs.h" NTSTATUS ntvfs_async_state_push(struct smbsrv_request *req, diff --git a/source4/ntvfs/posix/vfs_posix.h b/source4/ntvfs/posix/vfs_posix.h index 9eec368157..dd2bf74543 100644 --- a/source4/ntvfs/posix/vfs_posix.h +++ b/source4/ntvfs/posix/vfs_posix.h @@ -25,6 +25,7 @@ #include "system/filesys.h" #include "smb_server/smb_server.h" +#include "ntvfs/ntvfs.h" /* this is the private structure for the posix vfs backend. It is used to hold per-connection (per tree connect) state information */ diff --git a/source4/ntvfs/print/vfs_print.c b/source4/ntvfs/print/vfs_print.c index c04cf76f33..e933f5502b 100644 --- a/source4/ntvfs/print/vfs_print.c +++ b/source4/ntvfs/print/vfs_print.c @@ -25,6 +25,7 @@ #include "includes.h" #include "ioctl.h" #include "smb_server/smb_server.h" +#include "ntvfs/ntvfs.h" /* connect to a share - used when a tree_connect operation comes diff --git a/source4/ntvfs/simple/svfs_util.c b/source4/ntvfs/simple/svfs_util.c index ac5cf69e9a..d332abb091 100644 --- a/source4/ntvfs/simple/svfs_util.c +++ b/source4/ntvfs/simple/svfs_util.c @@ -28,6 +28,7 @@ #include "svfs.h" #include "system/time.h" #include "system/dir.h" +#include "ntvfs/ntvfs.h" /* convert a windows path to a unix path - don't do any manging or case sensitive handling diff --git a/source4/ntvfs/simple/vfs_simple.c b/source4/ntvfs/simple/vfs_simple.c index e9063c38c5..1198cafbe9 100644 --- a/source4/ntvfs/simple/vfs_simple.c +++ b/source4/ntvfs/simple/vfs_simple.c @@ -33,6 +33,7 @@ #include "system/time.h" #include "dlinklist.h" #include "smb_server/smb_server.h" +#include "ntvfs/ntvfs.h" #ifndef O_DIRECTORY #define O_DIRECTORY 0 diff --git a/source4/ntvfs/unixuid/vfs_unixuid.c b/source4/ntvfs/unixuid/vfs_unixuid.c index 928ff8241b..8bdf732735 100644 --- a/source4/ntvfs/unixuid/vfs_unixuid.c +++ b/source4/ntvfs/unixuid/vfs_unixuid.c @@ -27,6 +27,7 @@ #include "auth/auth.h" #include "librpc/gen_ndr/ndr_security.h" #include "smb_server/smb_server.h" +#include "ntvfs/ntvfs.h" struct unixuid_private { struct sidmap_context *sidmap; |