diff options
Diffstat (limited to 'packet.h')
-rw-r--r-- | packet.h | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -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 | ||
37 | struct key_entry { | ||
38 | TAILQ_ENTRY(key_entry) next; | ||
39 | struct sshkey *key; | ||
40 | }; | ||
41 | |||
37 | struct ssh { | 42 | struct 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 | ||
57 | struct ssh *ssh_alloc_session_state(void); | 69 | struct ssh *ssh_alloc_session_state(void); |