summaryrefslogtreecommitdiff
path: root/packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'packet.h')
-rw-r--r--packet.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/packet.h b/packet.h
index d9b56c301..069af2eae 100644
--- a/packet.h
+++ b/packet.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: packet.h,v 1.63 2015/01/19 20:07:45 markus Exp $ */ 1/* $OpenBSD: packet.h,v 1.64 2015/01/19 20:30:23 markus Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -34,6 +34,11 @@ struct session_state; /* private session data */
34 34
35#include "dispatch.h" /* typedef, DISPATCH_MAX */ 35#include "dispatch.h" /* typedef, DISPATCH_MAX */
36 36
37struct key_entry {
38 TAILQ_ENTRY(key_entry) next;
39 struct sshkey *key;
40};
41
37struct ssh { 42struct ssh {
38 /* Session state */ 43 /* Session state */
39 struct session_state *state; 44 struct session_state *state;
@@ -52,6 +57,13 @@ struct ssh {
52 57
53 /* datafellows */ 58 /* datafellows */
54 int compat; 59 int compat;
60
61 /* Lists for private and public keys */
62 TAILQ_HEAD(, key_entry) private_keys;
63 TAILQ_HEAD(, key_entry) public_keys;
64
65 /* APP data */
66 void *app_data;
55}; 67};
56 68
57struct ssh *ssh_alloc_session_state(void); 69struct ssh *ssh_alloc_session_state(void);