aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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
*