From 65eccf19693dd2f6d4525062fdc04720f373af6f Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Mon, 4 Mar 2013 18:48:39 +0100 Subject: gssapi: retrieve forwarded (delegated) tickets Reviewed-by: Andreas Schneider --- include/libssh/libssh.h | 1 + include/libssh/server.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'include') diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 790a5abb..880c9d6f 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -115,6 +115,7 @@ typedef struct ssh_scp_struct* ssh_scp; typedef struct ssh_session_struct* ssh_session; typedef struct ssh_string_struct* ssh_string; typedef struct ssh_event_struct* ssh_event; +typedef void* ssh_gssapi_creds; /* Socket type */ #ifdef _WIN32 diff --git a/include/libssh/server.h b/include/libssh/server.h index 28be4596..0c318cbb 100644 --- a/include/libssh/server.h +++ b/include/libssh/server.h @@ -238,6 +238,8 @@ LIBSSH_API int ssh_bind_accept(ssh_bind ssh_bind_o, ssh_session session); LIBSSH_API int ssh_bind_accept_fd(ssh_bind ssh_bind_o, ssh_session session, socket_t fd); +LIBSSH_API ssh_gssapi_creds ssh_gssapi_get_creds(ssh_session session); + /** * @brief Handles the key exchange and set up encryption * -- cgit v1.2.3