]>
jfr.im git - irc/quakenet/snircd.git/blob - include/ircd_relay.h
1 #ifndef INCLUDED_IRCD_RELAY_H
2 #define INCLUDED_IRCD_RELAY_H
4 * IRC - Internet Relay Chat, include/ircd_relay.h
5 * Copyright (C) 1990 Jarkko Oikarinen and
6 * University of Oulu, Computing Center
8 * See file AUTHORS in IRC package for additional names of
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)
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.
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.
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 $
32 extern void relay_channel_message(struct Client
* sptr
, const char* name
, const char* text
);
33 extern void relay_channel_notice(struct Client
* sptr
, const char* name
, const char* text
);
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
);
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
);
48 #endif /* INCLUDED_IRCD_RELAY_H */