session: Added callback for the connection per session.

Signed-off-by: Andreas Schneider <asn@cynapses.org>
This commit is contained in:
milo
2010-08-08 22:48:54 +02:00
committed by Andreas Schneider
parent b0f8ca556b
commit eb361626cb
4 changed files with 8 additions and 7 deletions

View File

@@ -119,6 +119,7 @@ struct ssh_session_struct {
int log_verbosity; /*cached copy of the option structure */
int log_indent; /* indentation level in enter_function logs */
void (*ssh_connection_callback)( struct ssh_session_struct *session);
ssh_callbacks callbacks; /* Callbacks to user functions */
struct ssh_packet_callbacks_struct default_packet_callbacks;
struct ssh_list *packet_callbacks;