5 Author: Pekka Riikonen <priikone@silcnet.org>
7 Copyright (C) 2007 Pekka Riikonen
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.
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.
20 #ifndef CLIENT_LISTENER_H
21 #define CLIENT_LISTENER_H
23 /* Forward declarations */
24 typedef struct SilcClientListenerStruct *SilcClientListener;
27 silc_client_listener_add(SilcClient client,
28 SilcSchedule schedule,
29 SilcClientConnectionParams *params,
30 SilcPublicKey public_key,
31 SilcPrivateKey private_key,
32 SilcClientConnectCallback callback,
34 void silc_client_listener_free(SilcClientListener listener);
35 SilcUInt16 silc_client_listener_get_local_port(SilcClientListener listener);
37 #endif /* CLIENT_LISTENER_H */