summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
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 *),