src/irc_conn.h
changeset 20 d9c4c2980a0d
parent 18 dedf137b504f
child 21 0911d0b828d4
--- a/src/irc_conn.h	Sat Feb 28 23:48:34 2009 +0200
+++ b/src/irc_conn.h	Sun Mar 01 00:34:33 2009 +0200
@@ -44,6 +44,15 @@
  */
 err_t irc_conn_send (struct irc_conn *conn, const struct irc_line *line);
 
+/**
+ * @group Simple request functions
+ *
+ * The error handling of these functions is such that the error return code is can be used or ignored as convenient,
+ * as connection-fatal errors will be handled internally.
+ *
+ * @{
+ */
+
 /*
  * Send a NICK message
  */
@@ -54,5 +63,9 @@
  */
 err_t irc_conn_USER (struct irc_conn *conn, const char *username, const char *realname);
 
+/*
+ * Send a PONG message to the given target
+ */
+err_t irc_conn_PONG (struct irc_conn *conn, const char *target);
 
 #endif /* IRC_CONN_H */