diff options
author | Volker Lendecke <vl@samba.org> | 2009-07-05 10:13:03 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-07-05 23:50:12 +0200 |
commit | 58fbf7420c184c95f8b9761a32392227848794cd (patch) | |
tree | 6499787827b5927e84c4417667320bc98cc52ba3 /source3/rpc_client | |
parent | f8cfe19d85534d30f97a4992179633ca68bc838b (diff) | |
download | samba-58fbf7420c184c95f8b9761a32392227848794cd.tar.gz samba-58fbf7420c184c95f8b9761a32392227848794cd.tar.bz2 samba-58fbf7420c184c95f8b9761a32392227848794cd.zip |
Remove "typedef struct ndr_syntax_id RPC_IFACE;"
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 7d059e41c9..70660da8b2 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -56,7 +56,7 @@ static const struct pipe_id_info { /* the names appear not to matter: the syntaxes _do_ matter */ const char *client_pipe; - const RPC_IFACE *abstr_syntax; /* this one is the abstract syntax id */ + const struct ndr_syntax_id *abstr_syntax; /* this one is the abstract syntax id */ } pipe_names [] = { { PIPE_LSARPC, &ndr_table_lsarpc.syntax_id }, @@ -1649,8 +1649,8 @@ static NTSTATUS create_schannel_auth_rpc_bind_req( struct rpc_pipe_client *cli, static NTSTATUS create_bind_or_alt_ctx_internal(enum RPC_PKT_TYPE pkt_type, prs_struct *rpc_out, uint32 rpc_call_id, - const RPC_IFACE *abstract, - const RPC_IFACE *transfer, + const struct ndr_syntax_id *abstract, + const struct ndr_syntax_id *transfer, RPC_HDR_AUTH *phdr_auth, prs_struct *pauth_info) { @@ -1731,8 +1731,8 @@ static NTSTATUS create_bind_or_alt_ctx_internal(enum RPC_PKT_TYPE pkt_type, static NTSTATUS create_rpc_bind_req(struct rpc_pipe_client *cli, prs_struct *rpc_out, uint32 rpc_call_id, - const RPC_IFACE *abstract, - const RPC_IFACE *transfer, + const struct ndr_syntax_id *abstract, + const struct ndr_syntax_id *transfer, enum pipe_auth_type auth_type, enum pipe_auth_level auth_level) { @@ -2368,7 +2368,8 @@ static bool rpc_pipe_set_hnd_state(struct rpc_pipe_client *cli, Check the rpc bind acknowledge response. ****************************************************************************/ -static bool check_bind_response(RPC_HDR_BA *hdr_ba, const RPC_IFACE *transfer) +static bool check_bind_response(RPC_HDR_BA *hdr_ba, + const struct ndr_syntax_id *transfer) { if ( hdr_ba->addr.len == 0) { DEBUG(4,("Ignoring length check -- ASU bug (server didn't fill in the pipe name correctly)")); @@ -2458,8 +2459,8 @@ static NTSTATUS create_rpc_bind_auth3(struct rpc_pipe_client *cli, ********************************************************************/ static NTSTATUS create_rpc_alter_context(uint32 rpc_call_id, - const RPC_IFACE *abstract, - const RPC_IFACE *transfer, + const struct ndr_syntax_id *abstract, + const struct ndr_syntax_id *transfer, enum pipe_auth_level auth_level, const DATA_BLOB *pauth_blob, /* spnego auth blob already created. */ prs_struct *rpc_out) |