2 * IRC - Internet Relay Chat, include/ircd_reply.h
3 * Copyright (C) 1990 Jarkko Oikarinen and
4 * University of Oulu, Computing Center
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2, or (at your option)
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 * @brief Interfaces for sending common replies to users.
22 * @version $Id: ircd_reply.h 1224 2004-10-05 02:39:38Z entrope $
24 #ifndef INCLUDED_ircd_reply_h
25 #define INCLUDED_ircd_reply_h
29 extern int protocol_violation(struct Client* cptr, const char* pattern, ...);
30 extern int need_more_params(struct Client* cptr, const char* cmd);
31 extern int send_reply(struct Client* to, int reply, ...);
33 #define SND_EXPLICIT 0x40000000 /**< first arg is a pattern to use */
35 #endif /* INCLUDED_ircd_reply_h */