equal
deleted
inserted
replaced
42 /* |
42 /* |
43 * Send an IRC message directly |
43 * Send an IRC message directly |
44 */ |
44 */ |
45 err_t irc_conn_send (struct irc_conn *conn, const struct irc_line *line); |
45 err_t irc_conn_send (struct irc_conn *conn, const struct irc_line *line); |
46 |
46 |
|
47 /** |
|
48 * @group Simple request functions |
|
49 * |
|
50 * The error handling of these functions is such that the error return code is can be used or ignored as convenient, |
|
51 * as connection-fatal errors will be handled internally. |
|
52 * |
|
53 * @{ |
|
54 */ |
|
55 |
47 /* |
56 /* |
48 * Send a NICK message |
57 * Send a NICK message |
49 */ |
58 */ |
50 err_t irc_conn_NICK (struct irc_conn *conn, const char *nickname); |
59 err_t irc_conn_NICK (struct irc_conn *conn, const char *nickname); |
51 |
60 |
52 /* |
61 /* |
53 * Send a USER message |
62 * Send a USER message |
54 */ |
63 */ |
55 err_t irc_conn_USER (struct irc_conn *conn, const char *username, const char *realname); |
64 err_t irc_conn_USER (struct irc_conn *conn, const char *username, const char *realname); |
56 |
65 |
|
66 /* |
|
67 * Send a PONG message to the given target |
|
68 */ |
|
69 err_t irc_conn_PONG (struct irc_conn *conn, const char *target); |
57 |
70 |
58 #endif /* IRC_CONN_H */ |
71 #endif /* IRC_CONN_H */ |