5 Author: Pekka Riikonen <priikone@silcnet.org>
7 Copyright (C) 2001 - 2002 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.
23 /* Prototypes. These are used only by the library. Application should not
24 call these directly. */
27 silc_client_add_client(SilcClient client, SilcClientConnection conn,
28 char *nickname, char *username,
29 char *userinfo, SilcClientID *id, SilcUInt32 mode);
30 void silc_client_update_client(SilcClient client,
31 SilcClientConnection conn,
32 SilcClientEntry client_entry,
37 void silc_client_del_client_entry(SilcClient client,
38 SilcClientConnection conn,
39 SilcClientEntry client_entry);
40 SilcClientEntry silc_idlist_get_client(SilcClient client,
41 SilcClientConnection conn,
45 SilcChannelEntry silc_client_add_channel(SilcClient client,
46 SilcClientConnection conn,
47 const char *channel_name,
49 SilcChannelID *channel_id);
50 SilcServerEntry silc_client_add_server(SilcClient client,
51 SilcClientConnection conn,
52 const char *server_name,
53 const char *server_info,
54 SilcServerID *server_id);
55 void silc_client_update_server(SilcClient client,
56 SilcClientConnection conn,
57 SilcServerEntry server_entry,
58 const char *server_name,
59 const char *server_info);
60 bool silc_client_replace_channel_id(SilcClient client,
61 SilcClientConnection conn,
62 SilcChannelEntry channel,
63 SilcChannelID *new_id);
64 void silc_client_nickname_format(SilcClient client,
65 SilcClientConnection conn,
66 SilcClientEntry client_entry);