summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 161e7d7842..153d7d16a9 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 5298671ef9..435fbf15a0 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,