summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-03-19 00:43:34 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-03-19 03:20:05 +0100
commitd415a7f788c64eac0cab4ca80b29cc24ccc07e96 (patch)
tree8f5acdb1e79495ade330a53241455e6176f45659 /source4/rpc_server
parent8b271e4328f788a9a4ca9f9b45cfc0e7adccd9dd (diff)
downloadsamba-d415a7f788c64eac0cab4ca80b29cc24ccc07e96.tar.gz
samba-d415a7f788c64eac0cab4ca80b29cc24ccc07e96.tar.bz2
samba-d415a7f788c64eac0cab4ca80b29cc24ccc07e96.zip
source4/rpc_server: Fix prototypes for all functions.
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/common/server_info.c2
-rw-r--r--source4/rpc_server/common/share_info.c1
-rw-r--r--source4/rpc_server/drsuapi/drsutil.c1
-rw-r--r--source4/rpc_server/samr/samr_password.c1
-rw-r--r--source4/rpc_server/service_rpc.c1
-rw-r--r--source4/rpc_server/srvsvc/srvsvc_ntvfs.c1
6 files changed, 7 insertions, 0 deletions
diff --git a/source4/rpc_server/common/server_info.c b/source4/rpc_server/common/server_info.c
index c56b93f9d0..7f533ecf77 100644
--- a/source4/rpc_server/common/server_info.c
+++ b/source4/rpc_server/common/server_info.c
@@ -25,6 +25,8 @@
#include "dsdb/samdb/samdb.h"
#include "auth/auth.h"
#include "param/param.h"
+#include "rpc_server/common/common.h"
+#include "rpc_server/common/share.h"
/*
Here are common server info functions used by some dcerpc server interfaces
diff --git a/source4/rpc_server/common/share_info.c b/source4/rpc_server/common/share_info.c
index 3ca5f3ab23..218901026f 100644
--- a/source4/rpc_server/common/share_info.c
+++ b/source4/rpc_server/common/share_info.c
@@ -23,6 +23,7 @@
#include "param/share.h"
#include "librpc/gen_ndr/srvsvc.h"
#include "rpc_server/dcerpc_server.h"
+#include "rpc_server/common/share.h"
/*
Here are common server info functions used by some dcerpc server interfaces
diff --git a/source4/rpc_server/drsuapi/drsutil.c b/source4/rpc_server/drsuapi/drsutil.c
index 4e35aa1bd6..d3b8d23b70 100644
--- a/source4/rpc_server/drsuapi/drsutil.c
+++ b/source4/rpc_server/drsuapi/drsutil.c
@@ -26,6 +26,7 @@
#include "libcli/security/session.h"
#include "param/param.h"
#include "auth/session.h"
+#include "rpc_server/drsuapi/dcesrv_drsuapi.h"
int drsuapi_search_with_extended_dn(struct ldb_context *ldb,
TALLOC_CTX *mem_ctx,
diff --git a/source4/rpc_server/samr/samr_password.c b/source4/rpc_server/samr/samr_password.c
index f2dcd05d89..3cc682906b 100644
--- a/source4/rpc_server/samr/samr_password.c
+++ b/source4/rpc_server/samr/samr_password.c
@@ -29,6 +29,7 @@
#include "auth/auth.h"
#include "libcli/auth/libcli_auth.h"
#include "../lib/util/util_ldb.h"
+#include "rpc_server/samr/proto.h"
/*
samr_ChangePasswordUser
diff --git a/source4/rpc_server/service_rpc.c b/source4/rpc_server/service_rpc.c
index dfe25b75c6..299ee48c8e 100644
--- a/source4/rpc_server/service_rpc.c
+++ b/source4/rpc_server/service_rpc.c
@@ -39,6 +39,7 @@
#include "../libcli/named_pipe_auth/npa_tstream.h"
#include "smbd/process_model.h"
+NTSTATUS server_service_rpc_init(void);
/*
open the dcerpc server sockets
diff --git a/source4/rpc_server/srvsvc/srvsvc_ntvfs.c b/source4/rpc_server/srvsvc/srvsvc_ntvfs.c
index 7a513d894a..49beb50d86 100644
--- a/source4/rpc_server/srvsvc/srvsvc_ntvfs.c
+++ b/source4/rpc_server/srvsvc/srvsvc_ntvfs.c
@@ -22,6 +22,7 @@
#include "ntvfs/ntvfs.h"
#include "rpc_server/dcerpc_server.h"
#include "param/param.h"
+#include "rpc_server/srvsvc/proto.h"
struct srvsvc_ntvfs_ctx {
struct ntvfs_context *ntvfs;