summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-09-03 15:59:44 +0200
committerStefan Metzmacher <metze@samba.org>2010-09-03 17:02:11 +0200
commitdd7154234c267254cea199638062c5be1cd8b253 (patch)
tree4cd1d3f7ee63239f817cd6a9e8d582465f65363c /source4
parenta9078aad3c970e325e71f72f9f2c09e7136082cd (diff)
downloadsamba-dd7154234c267254cea199638062c5be1cd8b253.tar.gz
samba-dd7154234c267254cea199638062c5be1cd8b253.tar.bz2
samba-dd7154234c267254cea199638062c5be1cd8b253.zip
s4:libcli/composite: remove unused composite_continue_irpc()
metze
Diffstat (limited to 'source4')
-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 96d663b693..b326b51c1a 100644
--- a/source4/libcli/composite/composite.c
+++ b/source4/libcli/composite/composite.c
@@ -26,7 +26,6 @@
#include "libcli/raw/libcliraw.h"
#include "libcli/smb2/smb2.h"
#include "libcli/composite/composite.h"
-#include "lib/messaging/irpc.h"
#include "../libcli/nbt/libnbt.h"
/*
@@ -162,16 +161,6 @@ _PUBLIC_ void composite_continue(struct composite_context *ctx,
}
}
-_PUBLIC_ void composite_continue_irpc(struct composite_context *ctx,
- struct irpc_request *new_req,
- void (*continuation)(struct irpc_request *),
- void *private_data)
-{
- if (composite_nomem(new_req, ctx)) return;
- new_req->async.fn = continuation;
- new_req->async.private_data = private_data;
-}
-
_PUBLIC_ void composite_continue_smb(struct composite_context *ctx,
struct smbcli_request *new_req,
void (*continuation)(struct smbcli_request *),
diff --git a/source4/libcli/composite/composite.h b/source4/libcli/composite/composite.h
index 1ad515b5e8..9349cd7b6e 100644
--- a/source4/libcli/composite/composite.h
+++ b/source4/libcli/composite/composite.h
@@ -67,7 +67,6 @@ struct composite_context {
bool used_wait;
};
-struct irpc_request;
struct smbcli_request;
struct smb2_request;
struct nbt_name_request;
@@ -78,10 +77,6 @@ void composite_continue(struct composite_context *ctx,
struct composite_context *new_ctx,
void (*continuation)(struct composite_context *),
void *private_data);
-void composite_continue_irpc(struct composite_context *ctx,
- struct irpc_request *new_req,
- void (*continuation)(struct irpc_request *),
- void *private_data);
void composite_continue_smb(struct composite_context *ctx,
struct smbcli_request *new_req,
void (*continuation)(struct smbcli_request *),