summaryrefslogtreecommitdiff
path: root/source3/rpcclient/rpcclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpcclient/rpcclient.h')
-rw-r--r--source3/rpcclient/rpcclient.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/source3/rpcclient/rpcclient.h b/source3/rpcclient/rpcclient.h
index e1e61dc43d..3c86c0be62 100644
--- a/source3/rpcclient/rpcclient.h
+++ b/source3/rpcclient/rpcclient.h
@@ -30,11 +30,12 @@ typedef enum {
struct cmd_set {
const char *name;
- RPC_RETURN_TYPE returntype;
- NTSTATUS (*ntfn)(struct cli_state *cli, TALLOC_CTX *mem_ctx, int argc,
- const char **argv);
- WERROR (*wfn)(struct cli_state *cli, TALLOC_CTX *mem_ctx, int argc, const char **argv);
- int pipe_idx;
+ RPC_RETURN_TYPE returntype;
+ NTSTATUS (*ntfn)(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, int argc,
+ const char **argv);
+ WERROR (*wfn)(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, int argc, const char **argv);
+ int pipe_idx;
+ struct rpc_pipe_client *rpc_pipe;
const char *description;
const char *usage;
};