summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-03-10 10:30:03 +0100
committerStefan Metzmacher <metze@samba.org>2010-03-12 15:25:49 +0100
commit6292cb7f7f097aba2151d348331700e2b99fe49e (patch)
treea56b508bd9698477186e15772120c422b4f63c20
parent7b76c118ad0f5272a2dac679e482f7b1b2440abc (diff)
downloadsamba-6292cb7f7f097aba2151d348331700e2b99fe49e.tar.gz
samba-6292cb7f7f097aba2151d348331700e2b99fe49e.tar.bz2
samba-6292cb7f7f097aba2151d348331700e2b99fe49e.zip
s4:libcli/composite: get rid of composite_continue_rpc()
metze
-rw-r--r--source4/libcli/composite/composite.c11
-rw-r--r--source4/libcli/composite/composite.h5
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 *),