X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=include%2Fircd_reply.h;h=7627eacf6f7229811c98fbab6ec64e22adf8b09b;hb=refs%2Fheads%2Fupstream-ssl;hp=62e7c5174d2ffe53f6099084b5bb021cb2d6c40a;hpb=ae91ef6320f611af74e70a0db2620c338fbaa7d5;p=ircu2.10.12-pk.git diff --git a/include/ircd_reply.h b/include/ircd_reply.h index 62e7c51..7627eac 100644 --- a/include/ircd_reply.h +++ b/include/ircd_reply.h @@ -16,18 +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_admin_info(struct Client* sptr, const struct ConfItem* data); +extern int send_reply(struct Client* to, int reply, ...); + +#define SND_EXPLICIT 0x40000000 /**< first arg is a pattern to use */ #endif /* INCLUDED_ircd_reply_h */