summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-20 11:04:31 +0200
committerVolker Lendecke <vl@samba.org>2008-07-20 17:37:14 +0200
commit55f84c05bdb33f9c97bb71240e02a8f5a77b3355 (patch)
tree0b74852ba151245ab1dc8abcc15b34a4b789b26d /source3/include
parent99526d391dc274eb87cfd0b393363d8ceafccda9 (diff)
downloadsamba-55f84c05bdb33f9c97bb71240e02a8f5a77b3355.tar.gz
samba-55f84c05bdb33f9c97bb71240e02a8f5a77b3355.tar.bz2
samba-55f84c05bdb33f9c97bb71240e02a8f5a77b3355.zip
Refactoring: Change calling conventions for cli_rpc_pipe_open_krb5
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit f2656e5c2e700523ead7a62734d203ad0caaff0c)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index ab09462a9f..2612953051 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -7140,13 +7140,13 @@ NTSTATUS cli_rpc_pipe_open_schannel(struct cli_state *cli,
enum pipe_auth_level auth_level,
const char *domain,
struct rpc_pipe_client **presult);
-struct rpc_pipe_client *cli_rpc_pipe_open_krb5(struct cli_state *cli,
- int pipe_idx,
- enum pipe_auth_level auth_level,
- const char *service_princ,
- const char *username,
- const char *password,
- NTSTATUS *perr);
+NTSTATUS cli_rpc_pipe_open_krb5(struct cli_state *cli,
+ const struct ndr_syntax_id *interface,
+ enum pipe_auth_level auth_level,
+ const char *service_princ,
+ const char *username,
+ const char *password,
+ struct rpc_pipe_client **presult);
NTSTATUS cli_get_session_key(TALLOC_CTX *mem_ctx,
struct rpc_pipe_client *cli,
DATA_BLOB *session_key);