1 #ifndef INCLUDED_motd_h
2 #define INCLUDED_motd_h
4 * IRC - Internet Relay Chat, include/motd.h
5 * Copyright (C) 1990 Jarkko Oikarinen and
6 * University of Oulu, Computing Center
7 * Copyright (C) 2000 Kevin L. Mitchell <klmitch@mit.edu>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2, or (at your option)
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 #ifndef INCLUDED_config_h
28 #ifndef INCLUDED_sys_types_h
29 #include <sys/types.h>
30 #define INCLUDED_sys_types_h
37 /* motd_find is used to find a matching T-line if any */
38 struct TRecord *motd_find(struct Client* cptr);
40 /* motd_send sends a MOTD off to a user */
41 int motd_send(struct Client* cptr, struct TRecord* trec);
43 /* motd_signon sends a MOTD off to a newly-registered user */
44 void motd_signon(struct Client* cptr);
46 #endif /* INCLUDED_motd_h */