added gnutls backend and moved backend code into new files
[ircu2.10.12-pk.git] / include / ircd_reply.h
index c792bdb21caafcbee7ae3af7ba1c0478ebd0abde..7627eacf6f7229811c98fbab6ec64e22adf8b09b 100644 (file)
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- * $Id$
+ */
+/** @file
+ * @brief Interfaces for sending common replies to users.
+ * @version $Id$
  */
 #ifndef INCLUDED_ircd_reply_h
 #define INCLUDED_ircd_reply_h
 
 struct Client;
-struct ConfItem;
 
+extern int protocol_violation(struct Client* cptr, const char* pattern, ...);
 extern int need_more_params(struct Client* cptr, const char* cmd);
-extern int send_error_to_client(struct Client* cptr, int error, ...);
-extern int send_reply(struct Client *to, int reply, ...);
-extern int send_admin_info(struct Client* sptr, const struct ConfItem* data);
+extern int send_reply(struct Client* to, int reply, ...);
 
-#define RPL_EXPLICIT   0x40000000      /* first arg is a pattern to use */
+#define SND_EXPLICIT   0x40000000      /**< first arg is a pattern to use */
 
 #endif /* INCLUDED_ircd_reply_h */