5 Author: Pekka Riikonen <priikone@silcnet.org>
7 Copyright (C) 2006 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_ENTRY_H
21 #define CLIENT_ENTRY_H
23 SilcClientEntry silc_client_add_client(SilcClient client,
24 SilcClientConnection conn,
25 char *nickname, char *username,
26 char *userinfo, SilcClientID *id,
28 void silc_client_update_client(SilcClient client,
29 SilcClientConnection conn,
30 SilcClientEntry client_entry,
35 SilcBool silc_client_change_nickname(SilcClient client,
36 SilcClientConnection conn,
37 SilcClientEntry client_entry,
40 const unsigned char *idp,
42 void silc_client_del_client_entry(SilcClient client,
43 SilcClientConnection conn,
44 SilcClientEntry client_entry);
45 SilcClientEntry silc_idlist_get_client(SilcClient client,
46 SilcClientConnection conn,
50 SilcChannelEntry silc_client_add_channel(SilcClient client,
51 SilcClientConnection conn,
52 const char *channel_name,
54 SilcChannelID *channel_id);
55 SilcServerEntry silc_client_add_server(SilcClient client,
56 SilcClientConnection conn,
57 const char *server_name,
58 const char *server_info,
59 SilcServerID *server_id);
60 void silc_client_update_server(SilcClient client,
61 SilcClientConnection conn,
62 SilcServerEntry server_entry,
63 const char *server_name,
64 const char *server_info);
65 bool silc_client_replace_channel_id(SilcClient client,
66 SilcClientConnection conn,
67 SilcChannelEntry channel,
68 SilcChannelID *new_id);
69 void silc_client_nickname_format(SilcClient client,
70 SilcClientConnection conn,
71 SilcClientEntry client_entry);
73 #endif /* CLIENT_ENTRY_H */