diff options
-rw-r--r-- | source4/libcli/composite/composite.c | 11 | ||||
-rw-r--r-- | source4/libcli/composite/composite.h | 5 |
2 files changed, 0 insertions, 16 deletions
diff --git a/source4/libcli/composite/composite.c b/source4/libcli/composite/composite.c index 7262ebce54..96d663b693 100644 --- a/source4/libcli/composite/composite.c +++ b/source4/libcli/composite/composite.c @@ -27,7 +27,6 @@ #include "libcli/smb2/smb2.h" #include "libcli/composite/composite.h" #include "lib/messaging/irpc.h" -#include "librpc/rpc/dcerpc.h" #include "../libcli/nbt/libnbt.h" /* @@ -163,16 +162,6 @@ _PUBLIC_ void composite_continue(struct composite_context *ctx, } } -_PUBLIC_ void composite_continue_rpc(struct composite_context *ctx, - struct rpc_request *new_req, - void (*continuation)(struct rpc_request *), - void *private_data) -{ - if (composite_nomem(new_req, ctx)) return; - new_req->async.callback = continuation; - new_req->async.private_data = private_data; -} - _PUBLIC_ void composite_continue_irpc(struct composite_context *ctx, struct irpc_request *new_req, void (*continuation)(struct irpc_request *), diff --git a/source4/libcli/composite/composite.h b/source4/libcli/composite/composite.h index a99a762c5f..1ad515b5e8 100644 --- a/source4/libcli/composite/composite.h +++ b/source4/libcli/composite/composite.h @@ -70,7 +70,6 @@ struct composite_context { struct irpc_request; struct smbcli_request; struct smb2_request; -struct rpc_request; struct nbt_name_request; struct composite_context *composite_create(TALLOC_CTX *mem_ctx, struct tevent_context *ev); @@ -79,10 +78,6 @@ void composite_continue(struct composite_context *ctx, struct composite_context *new_ctx, void (*continuation)(struct composite_context *), void *private_data); -void composite_continue_rpc(struct composite_context *ctx, - struct rpc_request *new_req, - void (*continuation)(struct rpc_request *), - void *private_data); void composite_continue_irpc(struct composite_context *ctx, struct irpc_request *new_req, void (*continuation)(struct irpc_request *), |