… | |
… | |
155 | |
155 | |
156 | void shutdown (); |
156 | void shutdown (); |
157 | void connection_established (); |
157 | void connection_established (); |
158 | void reset_connection (); |
158 | void reset_connection (); |
159 | |
159 | |
160 | void establish_connection_cb (time_watcher &w); time_watcher establish_connection; |
160 | void establish_connection_cb (ev::timer &w, int revents); ev::timer establish_connection; |
161 | void rekey_cb (time_watcher &w); time_watcher rekey; // next rekying (actually current reset + reestablishing) |
161 | void rekey_cb (ev::timer &w, int revents); ev::timer rekey; // next rekying (actually current reset + reestablishing) |
162 | void keepalive_cb (time_watcher &w); time_watcher keepalive; // next keepalive probe |
162 | void keepalive_cb (ev::timer &w, int revents); ev::timer keepalive; // next keepalive probe |
163 | |
163 | |
164 | void send_connect_request (int id); |
164 | void send_connect_request (int id); |
165 | void send_auth_request (const sockinfo &si, bool initiate); |
165 | void send_auth_request (const sockinfo &si, bool initiate); |
166 | void send_auth_response (const sockinfo &si, const rsaid &id, const rsachallenge &chg); |
166 | void send_auth_response (const sockinfo &si, const rsaid &id, const rsachallenge &chg); |
167 | void send_connect_info (int rid, const sockinfo &rsi, u8 rprotocols); |
167 | void send_connect_info (int rid, const sockinfo &rsi, u8 rprotocols); |