equal
deleted
inserted
replaced
38 struct irc_conn_callbacks { |
38 struct irc_conn_callbacks { |
39 /** |
39 /** |
40 * irc_conn_register has completed. |
40 * irc_conn_register has completed. |
41 */ |
41 */ |
42 void (*on_registered) (struct irc_conn *conn, void *arg); |
42 void (*on_registered) (struct irc_conn *conn, void *arg); |
|
43 |
|
44 /** |
|
45 * The connection has failed in some way, and can not be considered useable anymore. Sending messages won't work, |
|
46 * and no more messages will be received. The connection should be destroyed, probably from this callback. |
|
47 */ |
|
48 void (*on_error) (struct irc_conn *conn, struct error_info *err, void *arg); |
43 }; |
49 }; |
44 |
50 |
45 /* |
51 /* |
46 * Connection state |
52 * Connection state |
47 */ |
53 */ |