aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2013-03-04 18:48:39 +0100
committerAndreas Schneider <asn@cryptomilk.org>2013-07-13 14:50:56 +0200
commit65eccf19693dd2f6d4525062fdc04720f373af6f (patch)
tree092e145d1daa3623e7a291d4b0b49d4ecff46599 /include
parentd9443104123614de9c071c748693edaef6ff7b73 (diff)
downloadlibssh-65eccf19693dd2f6d4525062fdc04720f373af6f.tar.gz
libssh-65eccf19693dd2f6d4525062fdc04720f373af6f.tar.xz
libssh-65eccf19693dd2f6d4525062fdc04720f373af6f.zip
gssapi: retrieve forwarded (delegated) tickets
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include')
-rw-r--r--include/libssh/libssh.h1
-rw-r--r--include/libssh/server.h2
2 files changed, 3 insertions, 0 deletions
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
*