s3: Make run_rpc_command take strings instead of a ndr_interface_table
[sfrench/samba-autobuild/.git] / source3 / utils / net.h
index 765b61bd564d118fa4d0e7bc34c139ff241fdac3..ee06ded8d1b09e9184c40d260c393261aa7e5b3a 100644 (file)
@@ -142,7 +142,8 @@ struct rpc_sh_cmd {
        struct rpc_sh_cmd *(*sub)(struct net_context *c,
                                  TALLOC_CTX *mem_ctx,
                                  struct rpc_sh_ctx *ctx);
-       const struct ndr_syntax_id *interface;
+       const char *interface;
+       uint32_t interface_version;
        NTSTATUS (*fn)(struct net_context *c, TALLOC_CTX *mem_ctx,
                       struct rpc_sh_ctx *ctx,
                       struct rpc_pipe_client *pipe_hnd,