version 1.186, 2008/01/19 20:48:53 |
version 1.187, 2008/01/23 01:56:54 |
|
|
} |
} |
|
|
static void |
static void |
client_global_keepalive(int type, u_int32_t seq, void *ctxt) |
|
{ |
|
server_alive_timeouts = 0; |
|
} |
|
|
|
static void |
|
client_global_request_reply(int type, u_int32_t seq, void *ctxt) |
client_global_request_reply(int type, u_int32_t seq, void *ctxt) |
{ |
{ |
server_alive_timeouts = 0; |
server_alive_timeouts = 0; |
|
|
/* global request reply messages */ |
/* global request reply messages */ |
dispatch_set(SSH2_MSG_REQUEST_FAILURE, &client_global_request_reply); |
dispatch_set(SSH2_MSG_REQUEST_FAILURE, &client_global_request_reply); |
dispatch_set(SSH2_MSG_REQUEST_SUCCESS, &client_global_request_reply); |
dispatch_set(SSH2_MSG_REQUEST_SUCCESS, &client_global_request_reply); |
dispatch_set(SSH2_MSG_IGNORE, &client_global_keepalive); |
|
dispatch_set(SSH2_MSG_UNIMPLEMENTED, &client_global_keepalive); |
|
} |
} |
static void |
static void |
client_init_dispatch_13(void) |
client_init_dispatch_13(void) |