summaryrefslogtreecommitdiffstats
path: root/tmate.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmate.h')
-rw-r--r--tmate.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tmate.h b/tmate.h
index 687fd7e6..673f3a6d 100644
--- a/tmate.h
+++ b/tmate.h
@@ -117,6 +117,7 @@ struct tmate_ssh_client {
* has to be in the struct itself).
*/
struct ssh_callbacks_struct ssh_callbacks;
+ char *tried_passphrase;
ssh_session session;
ssh_channel channel;
@@ -127,7 +128,6 @@ TAILQ_HEAD(tmate_ssh_clients, tmate_ssh_client);
extern struct tmate_ssh_client *tmate_ssh_client_alloc(struct tmate_session *session,
const char *server_ip);
-extern void tmate_ssh_client_free(struct tmate_ssh_client *client);
/* tmate-session.c */
@@ -141,6 +141,8 @@ struct tmate_session {
* losers are disconnected and killed.
*/
struct tmate_ssh_clients clients;
+ int need_passphrase;
+ char *passphrase;
};
extern struct tmate_session tmate_session;