equal
deleted
inserted
replaced
33 */ |
33 */ |
34 void irc_client_destroy (struct irc_client *client); |
34 void irc_client_destroy (struct irc_client *client); |
35 |
35 |
36 /** |
36 /** |
37 * Add a new IRC network |
37 * Add a new IRC network |
|
38 * |
|
39 * @param client the irc_client state |
|
40 * @param net_ptr used to return the new irc_net if not NULL |
|
41 * @param net_info info required to identify and connect to the network |
38 */ |
42 */ |
39 err_t irc_client_add_net (struct irc_client *client, struct irc_net **net_ptr, struct irc_net_info *net_info); |
43 err_t irc_client_add_net (struct irc_client *client, struct irc_net **net_ptr, struct irc_net_info *net_info, struct error_info *err); |
40 |
44 |
41 /** |
45 /** |
42 * Get a pre-existing IRC network by name |
46 * Get a pre-existing IRC network by name |
43 */ |
47 */ |
44 struct irc_net* irc_client_get_net (struct irc_client *client, const char *network); |
48 struct irc_net* irc_client_get_net (struct irc_client *client, const char *network); |