summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-08-07 14:48:57 +0200
committerStefan Metzmacher <metze@samba.org>2010-08-12 14:31:21 +0200
commitb34209006fd75533b22e77c77d8fde3e4cb1506a (patch)
treea868b8bed74f5afc22fad2ecb52bf8ace6901fc7
parent51fb4c386040c9fdc44f4473025c9d83e628b5e6 (diff)
downloadsamba-b34209006fd75533b22e77c77d8fde3e4cb1506a.tar.gz
samba-b34209006fd75533b22e77c77d8fde3e4cb1506a.tar.xz
samba-b34209006fd75533b22e77c77d8fde3e4cb1506a.zip
s4:librpc/rpc: make struct dcerpc_binding_handle private
metze
-rw-r--r--librpc/rpc/binding_handle.c9
-rw-r--r--source4/librpc/rpc/dcerpc.h10
2 files changed, 9 insertions, 10 deletions
diff --git a/librpc/rpc/binding_handle.c b/librpc/rpc/binding_handle.c
index 161e7d78428..153d7d16a9b 100644
--- a/librpc/rpc/binding_handle.c
+++ b/librpc/rpc/binding_handle.c
@@ -24,6 +24,15 @@
#include "../lib/util/tevent_ntstatus.h"
#include "librpc/rpc/dcerpc.h"
+struct dcerpc_binding_handle {
+ void *private_data;
+ const struct dcerpc_binding_handle_ops *ops;
+ const char *location;
+ const struct GUID *object;
+ const struct ndr_interface_table *table;
+ struct tevent_context *sync_ev;
+};
+
static int dcerpc_binding_handle_destructor(struct dcerpc_binding_handle *b)
{
return 0;
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h
index 5298671ef92..435fbf15a0e 100644
--- a/source4/librpc/rpc/dcerpc.h
+++ b/source4/librpc/rpc/dcerpc.h
@@ -444,16 +444,6 @@ struct dcerpc_binding_handle_ops {
const struct ndr_interface_call *call);
};
-/* TODO: this needs to be completely private */
-struct dcerpc_binding_handle {
- void *private_data;
- const struct dcerpc_binding_handle_ops *ops;
- const char *location;
- const struct GUID *object;
- const struct ndr_interface_table *table;
- struct tevent_context *sync_ev;
-};
-
struct dcerpc_binding_handle *_dcerpc_binding_handle_create(TALLOC_CTX *mem_ctx,
const struct dcerpc_binding_handle_ops *ops,
const struct GUID *object,