version 1.63, 2015/01/19 20:07:45 |
version 1.64, 2015/01/19 20:30:23 |
|
|
|
|
#include "dispatch.h" /* typedef, DISPATCH_MAX */ |
#include "dispatch.h" /* typedef, DISPATCH_MAX */ |
|
|
|
struct key_entry { |
|
TAILQ_ENTRY(key_entry) next; |
|
struct sshkey *key; |
|
}; |
|
|
struct ssh { |
struct ssh { |
/* Session state */ |
/* Session state */ |
struct session_state *state; |
struct session_state *state; |
|
|
|
|
/* datafellows */ |
/* datafellows */ |
int compat; |
int compat; |
|
|
|
/* Lists for private and public keys */ |
|
TAILQ_HEAD(, key_entry) private_keys; |
|
TAILQ_HEAD(, key_entry) public_keys; |
|
|
|
/* APP data */ |
|
void *app_data; |
}; |
}; |
|
|
struct ssh *ssh_alloc_session_state(void); |
struct ssh *ssh_alloc_session_state(void); |