]> jfr.im git - irc.git/blame - software/ircd/www.irc.org/ftp/irc/org/Old/irc2.11.2p1/common/parse_ext.h
init
[irc.git] / software / ircd / www.irc.org / ftp / irc / org / Old / irc2.11.2p1 / common / parse_ext.h
CommitLineData
3bd189cb
JR
1/************************************************************************
2 * IRC - Internet Relay Chat, common/parse_ext.h
3 * Copyright (C) 1997 Alain Nissen
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 1, or (at your option)
8 * any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19
20/* This file contains external definitions for global variables and functions
21 defined in common/parse.c.
22 */
23
24/* External definitions for global variables.
25 */
26#ifndef PARSE_C
27extern struct Message msgtab[];
28#endif /* PARSE_C */
29
30/* External definitions for global functions.
31 */
32#ifndef PARSE_C
33#define EXTERN extern
34#else /* PARSE_C */
35#define EXTERN
36#endif /* PARSE_C */
37EXTERN aClient *find_client (char *name, Reg aClient *cptr);
38EXTERN aClient *find_uid (char *uid, Reg aClient *cptr);
39EXTERN aClient *find_sid (char *sid, Reg aClient *cptr);
40EXTERN aClient *find_service (char *name, Reg aClient *cptr);
41EXTERN aClient *find_server (char *name, Reg aClient *cptr);
42EXTERN aClient *find_mask (char *name, aClient *cptr);
43EXTERN aClient *find_name (char *name, aClient *cptr);
44EXTERN aClient *find_matching_client (char *mask);
45EXTERN aClient *find_target (char *name, aClient *cptr);
46EXTERN aClient *find_userhost (char *user, char *host, aClient *cptr,
47 int *count);
48EXTERN aClient *find_person (char *name, aClient *cptr);
49EXTERN int parse (aClient *cptr, char *buffer, char *bufend);
50EXTERN char *getfield (char *irc_newline);
51EXTERN int m_nop(aClient *, aClient *, int, char **);
52EXTERN int m_nopriv(aClient *, aClient *, int, char **);
53EXTERN int m_unreg(aClient *, aClient *, int, char **);
54EXTERN int m_reg(aClient *, aClient *, int, char **);
55#undef EXTERN