]>
Commit | Line | Data |
---|---|---|
189935b1 | 1 | #ifndef INCLUDED_IRCD_RELAY_H |
2 | #define INCLUDED_IRCD_RELAY_H | |
3 | /* | |
4 | * IRC - Internet Relay Chat, include/ircd_relay.h | |
5 | * Copyright (C) 1990 Jarkko Oikarinen and | |
6 | * University of Oulu, Computing Center | |
7 | * | |
8 | * See file AUTHORS in IRC package for additional names of | |
9 | * the programmers. | |
10 | * | |
11 | * This program is free software; you can redistribute it and/or modify | |
12 | * it under the terms of the GNU General Public License as published by | |
13 | * the Free Software Foundation; either version 1, or (at your option) | |
14 | * any later version. | |
15 | * | |
16 | * This program is distributed in the hope that it will be useful, | |
17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 | * GNU General Public License for more details. | |
20 | * | |
21 | * You should have received a copy of the GNU General Public License | |
22 | * along with this program; if not, write to the Free Software | |
23 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
24 | */ | |
25 | /** @file | |
26 | * @brief Interface to functions for relaying messages. | |
27 | * @version $Id: ircd_relay.h,v 1.2 2004/10/05 04:21:37 entrope Exp $ | |
28 | */ | |
29 | ||
30 | struct Client; | |
31 | ||
3ba38331 | 32 | extern void relay_channel_message(struct Client* sptr, const char* name, const char* text, const int count); |
33 | extern void relay_channel_notice(struct Client* sptr, const char* name, const char* text, const int count); | |
189935b1 | 34 | extern void relay_directed_message(struct Client* sptr, char* name, char* server, const char* text); |
35 | extern void relay_directed_notice(struct Client* sptr, char* name, char* server, const char* text); | |
36 | extern void relay_masked_message(struct Client* sptr, const char* mask, const char* text); | |
37 | extern void relay_masked_notice(struct Client* sptr, const char* mask, const char* text); | |
38 | extern void relay_private_message(struct Client* sptr, const char* name, const char* text); | |
39 | extern void relay_private_notice(struct Client* sptr, const char* name, const char* text); | |
40 | ||
41 | extern void server_relay_channel_message(struct Client* sptr, const char* name, const char* text); | |
42 | extern void server_relay_channel_notice(struct Client* sptr, const char* name, const char* text); | |
43 | extern void server_relay_masked_message(struct Client* sptr, const char* mask, const char* text); | |
44 | extern void server_relay_masked_notice(struct Client* sptr, const char* mask, const char* text); | |
45 | extern void server_relay_private_message(struct Client* sptr, const char* name, const char* text); | |
46 | extern void server_relay_private_notice(struct Client* sptr, const char* name, const char* text); | |
47 | ||
48 | #endif /* INCLUDED_IRCD_RELAY_H */ |