More client library rewrites (added rekey)
[silc.git] / lib / silcclient / client_connect.h
1 /*
2
3   client_connect.h
4
5   Author: Pekka Riikonen <priikone@silcnet.org>
6
7   Copyright (C) 2006 Pekka Riikonen
8
9   This program is free software; you can redistribute it and/or modify
10   it under the terms of the GNU General Public License as published by
11   the Free Software Foundation; version 2 of the License.
12
13   This program is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
17
18 */
19
20 #ifndef CLIENT_CONNECT_H
21 #define CLIENT_CONNECT_H
22
23 /* States */
24 SILC_FSM_STATE(silc_client_st_connect);
25 SILC_FSM_STATE(silc_client_st_connect_set_stream);
26 SILC_FSM_STATE(silc_client_st_connect_key_exchange);
27 SILC_FSM_STATE(silc_client_st_connect_setup_udp);
28 SILC_FSM_STATE(silc_client_st_connect_auth);
29 SILC_FSM_STATE(silc_client_st_connect_auth_start);
30 SILC_FSM_STATE(silc_client_st_connected);
31 SILC_FSM_STATE(silc_client_st_connect_error);
32 SILC_FSM_STATE(silc_client_st_rekey);
33
34 SILC_TASK_CALLBACK(silc_client_connect_timeout);
35 SILC_TASK_CALLBACK(silc_client_rekey_timer);
36
37 #endif /* CLIENT_CONNECT_H */