]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * IRC - Internet Relay Chat, include/ircd_reply.h | |
3 | * Copyright (C) 1990 Jarkko Oikarinen and | |
4 | * University of Oulu, Computing Center | |
5 | * | |
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) | |
9 | * any later version. | |
10 | * | |
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. | |
15 | * | |
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. | |
19 | */ | |
20 | /** @file | |
21 | * @brief Interfaces for sending common replies to users. | |
22 | * @version $Id: ircd_reply.h,v 1.8 2004/10/05 02:39:38 entrope Exp $ | |
23 | */ | |
24 | #ifndef INCLUDED_ircd_reply_h | |
25 | #define INCLUDED_ircd_reply_h | |
26 | ||
27 | struct Client; | |
28 | ||
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, ...); | |
32 | ||
33 | #define SND_EXPLICIT 0x40000000 /**< first arg is a pattern to use */ | |
34 | ||
35 | #endif /* INCLUDED_ircd_reply_h */ | |
36 |