s4:librpc/rpc: make struct dcerpc_binding_handle private
authorStefan Metzmacher <metze@samba.org>
Sat, 7 Aug 2010 12:48:57 +0000 (14:48 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 12 Aug 2010 12:31:21 +0000 (14:31 +0200)
metze

librpc/rpc/binding_handle.c
source4/librpc/rpc/dcerpc.h

index 161e7d78428dd66ccc2e5d914b87aa0c3a22dbb2..153d7d16a9bfafe9fa19e66638cc053c213d27f8 100644 (file)
 #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;
index 5298671ef929d72adaa9c243ea96d2e9f2c74441..435fbf15a0e589915b2beb8bbd2da4aa6200f4d4 100644 (file)
@@ -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,