X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=include%2Fircd_reply.h;h=7627eacf6f7229811c98fbab6ec64e22adf8b09b;hb=refs%2Fheads%2Fupstream;hp=c792bdb21caafcbee7ae3af7ba1c0478ebd0abde;hpb=234508df195f01ed2f2b491fae354386d14dc8ad;p=ircu2.10.12-pk.git diff --git a/include/ircd_reply.h b/include/ircd_reply.h index c792bdb..7627eac 100644 --- a/include/ircd_reply.h +++ b/include/ircd_reply.h @@ -16,21 +16,21 @@ * 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 */