diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-02-10 05:09:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:09:38 -0500 |
commit | e82aad1ce39a6b7a2e51b9e2cb494d74ec70e158 (patch) | |
tree | b66f04c223e55e435b6ba56f4f05d2bf03132a12 /source4/ntvfs | |
parent | e3aae721a7d5c8130448d67feb3a9200e14393ac (diff) | |
download | samba-e82aad1ce39a6b7a2e51b9e2cb494d74ec70e158.tar.gz samba-e82aad1ce39a6b7a2e51b9e2cb494d74ec70e158.tar.bz2 samba-e82aad1ce39a6b7a2e51b9e2cb494d74ec70e158.zip |
r5298: - got rid of pstring.h from includes.h. This at least makes it a bit
less likely that anyone will use pstring for new code
- got rid of winbind_client.h from includes.h. This one triggered a
huge change, as winbind_client.h was including system/filesys.h and
defining the old uint32 and uint16 types, as well as its own
pstring and fstring.
(This used to be commit 9db6c79e902ec538108d6b7d3324039aabe1704f)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/common/brlock.c | 1 | ||||
-rw-r--r-- | source4/ntvfs/common/opendb.c | 1 | ||||
-rw-r--r-- | source4/ntvfs/common/sidmap.c | 2 | ||||
-rw-r--r-- | source4/ntvfs/ipc/ipc_rap.c | 14 | ||||
-rw-r--r-- | source4/ntvfs/nbench/vfs_nbench.c | 1 | ||||
-rw-r--r-- | source4/ntvfs/posix/pvfs_acl.c | 1 | ||||
-rw-r--r-- | source4/ntvfs/posix/pvfs_open.c | 1 | ||||
-rw-r--r-- | source4/ntvfs/posix/pvfs_read.c | 1 | ||||
-rw-r--r-- | source4/ntvfs/posix/pvfs_search.c | 1 | ||||
-rw-r--r-- | source4/ntvfs/posix/pvfs_streams.c | 1 | ||||
-rw-r--r-- | source4/ntvfs/posix/vfs_posix.h | 1 | ||||
-rw-r--r-- | source4/ntvfs/posix/xattr_system.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 | 2 |
15 files changed, 17 insertions, 13 deletions
diff --git a/source4/ntvfs/common/brlock.c b/source4/ntvfs/common/brlock.c index e88e9638a3..e693d57ca0 100644 --- a/source4/ntvfs/common/brlock.c +++ b/source4/ntvfs/common/brlock.c @@ -26,6 +26,7 @@ used. This allows us to provide the same semantics as NT */ #include "includes.h" +#include "system/filesys.h" #include "lib/tdb/include/tdb.h" #include "messages.h" diff --git a/source4/ntvfs/common/opendb.c b/source4/ntvfs/common/opendb.c index be6f356422..231576b3d5 100644 --- a/source4/ntvfs/common/opendb.c +++ b/source4/ntvfs/common/opendb.c @@ -39,6 +39,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "lib/tdb/include/tdb.h" #include "messages.h" #include "librpc/gen_ndr/ndr_security.h" diff --git a/source4/ntvfs/common/sidmap.c b/source4/ntvfs/common/sidmap.c index 46e02b5da1..8e040d5081 100644 --- a/source4/ntvfs/common/sidmap.c +++ b/source4/ntvfs/common/sidmap.c @@ -21,6 +21,8 @@ */ #include "includes.h" +#include "system/filesys.h" +#include "system/passwd.h" #include "librpc/gen_ndr/ndr_security.h" /* diff --git a/source4/ntvfs/ipc/ipc_rap.c b/source4/ntvfs/ipc/ipc_rap.c index 7ee7d26e35..d93b67b715 100644 --- a/source4/ntvfs/ipc/ipc_rap.c +++ b/source4/ntvfs/ipc/ipc_rap.c @@ -53,14 +53,14 @@ static void rap_heap_restore(struct rap_string_heap *heap, struct rap_call { TALLOC_CTX *mem_ctx; - uint16 callno; + uint16_t callno; const char *paramdesc; const char *datadesc; - uint16 status; - uint16 convert; + uint16_t status; + uint16_t convert; - uint16 rcv_paramlen, rcv_datalen; + uint16_t rcv_paramlen, rcv_datalen; struct ndr_push *ndr_push_param; struct ndr_push *ndr_push_data; @@ -104,7 +104,7 @@ static struct rap_call *new_rap_srv_call(TALLOC_CTX *mem_ctx, return call; } -static NTSTATUS rap_srv_pull_word(struct rap_call *call, uint16 *result) +static NTSTATUS rap_srv_pull_word(struct rap_call *call, uint16_t *result) { if (*call->paramdesc++ != 'W') return NT_STATUS_INVALID_PARAMETER; @@ -112,7 +112,7 @@ static NTSTATUS rap_srv_pull_word(struct rap_call *call, uint16 *result) return ndr_pull_uint16(call->ndr_pull_param, NDR_SCALARS, result); } -static NTSTATUS rap_srv_pull_dword(struct rap_call *call, uint32 *result) +static NTSTATUS rap_srv_pull_dword(struct rap_call *call, uint32_t *result) { if (*call->paramdesc++ != 'D') return NT_STATUS_INVALID_PARAMETER; @@ -135,7 +135,7 @@ static NTSTATUS rap_srv_pull_string(struct rap_call *call, const char **result) return ndr_pull_string(call->ndr_pull_param, NDR_SCALARS, result); } -static NTSTATUS rap_srv_pull_bufsize(struct rap_call *call, uint16 *bufsize) +static NTSTATUS rap_srv_pull_bufsize(struct rap_call *call, uint16_t *bufsize) { NTSTATUS result; diff --git a/source4/ntvfs/nbench/vfs_nbench.c b/source4/ntvfs/nbench/vfs_nbench.c index a1f03da367..acfa6313d3 100644 --- a/source4/ntvfs/nbench/vfs_nbench.c +++ b/source4/ntvfs/nbench/vfs_nbench.c @@ -25,6 +25,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "smb_server/smb_server.h" /* this is stored in ntvfs_private */ diff --git a/source4/ntvfs/posix/pvfs_acl.c b/source4/ntvfs/posix/pvfs_acl.c index 258d4e5bcb..7e4b07a941 100644 --- a/source4/ntvfs/posix/pvfs_acl.c +++ b/source4/ntvfs/posix/pvfs_acl.c @@ -22,7 +22,6 @@ #include "includes.h" #include "auth/auth.h" -#include "system/filesys.h" #include "vfs_posix.h" #include "librpc/gen_ndr/ndr_xattr.h" diff --git a/source4/ntvfs/posix/pvfs_open.c b/source4/ntvfs/posix/pvfs_open.c index ae8841e7b5..e68670f7cc 100644 --- a/source4/ntvfs/posix/pvfs_open.c +++ b/source4/ntvfs/posix/pvfs_open.c @@ -23,7 +23,6 @@ #include "includes.h" #include "vfs_posix.h" #include "system/time.h" -#include "system/filesys.h" #include "dlinklist.h" #include "messages.h" #include "librpc/gen_ndr/ndr_xattr.h" diff --git a/source4/ntvfs/posix/pvfs_read.c b/source4/ntvfs/posix/pvfs_read.c index db597d7097..fb656470b8 100644 --- a/source4/ntvfs/posix/pvfs_read.c +++ b/source4/ntvfs/posix/pvfs_read.c @@ -22,7 +22,6 @@ #include "includes.h" #include "vfs_posix.h" -#include "system/filesys.h" #include "librpc/gen_ndr/ndr_security.h" /* diff --git a/source4/ntvfs/posix/pvfs_search.c b/source4/ntvfs/posix/pvfs_search.c index 76c1996ec7..69ca6ef997 100644 --- a/source4/ntvfs/posix/pvfs_search.c +++ b/source4/ntvfs/posix/pvfs_search.c @@ -23,7 +23,6 @@ #include "includes.h" #include "vfs_posix.h" #include "system/time.h" -#include "system/filesys.h" #include "librpc/gen_ndr/ndr_security.h" diff --git a/source4/ntvfs/posix/pvfs_streams.c b/source4/ntvfs/posix/pvfs_streams.c index c9f2fcae29..2ee5034736 100644 --- a/source4/ntvfs/posix/pvfs_streams.c +++ b/source4/ntvfs/posix/pvfs_streams.c @@ -21,7 +21,6 @@ */ #include "includes.h" -#include "system/filesys.h" #include "vfs_posix.h" #include "librpc/gen_ndr/ndr_xattr.h" diff --git a/source4/ntvfs/posix/vfs_posix.h b/source4/ntvfs/posix/vfs_posix.h index 28f1aab94f..f779936bf9 100644 --- a/source4/ntvfs/posix/vfs_posix.h +++ b/source4/ntvfs/posix/vfs_posix.h @@ -23,6 +23,7 @@ #ifndef _VFS_POSIX_H_ #define _VFS_POSIX_H_ +#include "system/filesys.h" #include "smb_server/smb_server.h" /* this is the private structure for the posix vfs backend. It is used diff --git a/source4/ntvfs/posix/xattr_system.c b/source4/ntvfs/posix/xattr_system.c index f19177f44c..3b8becf6fe 100644 --- a/source4/ntvfs/posix/xattr_system.c +++ b/source4/ntvfs/posix/xattr_system.c @@ -21,7 +21,6 @@ */ #include "includes.h" -#include "system/filesys.h" #include "vfs_posix.h" /* diff --git a/source4/ntvfs/simple/svfs_util.c b/source4/ntvfs/simple/svfs_util.c index c44a527458..3f6e205e71 100644 --- a/source4/ntvfs/simple/svfs_util.c +++ b/source4/ntvfs/simple/svfs_util.c @@ -24,6 +24,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "svfs.h" #include "system/time.h" #include "system/dir.h" diff --git a/source4/ntvfs/simple/vfs_simple.c b/source4/ntvfs/simple/vfs_simple.c index ace0ad896f..6f634efd53 100644 --- a/source4/ntvfs/simple/vfs_simple.c +++ b/source4/ntvfs/simple/vfs_simple.c @@ -27,6 +27,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "svfs.h" #include "system/time.h" #include "dlinklist.h" diff --git a/source4/ntvfs/unixuid/vfs_unixuid.c b/source4/ntvfs/unixuid/vfs_unixuid.c index 9915660d9b..d724e7ceb2 100644 --- a/source4/ntvfs/unixuid/vfs_unixuid.c +++ b/source4/ntvfs/unixuid/vfs_unixuid.c @@ -22,6 +22,8 @@ */ #include "includes.h" +#include "system/filesys.h" +#include "system/passwd.h" #include "auth/auth.h" #include "libcli/security/security.h" #include "smb_server/smb_server.h" |