]>
Commit | Line | Data |
---|---|---|
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 | |
27 | extern 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 */ | |
37 | EXTERN aClient *find_client (char *name, Reg aClient *cptr); | |
38 | EXTERN aClient *find_uid (char *uid, Reg aClient *cptr); | |
39 | EXTERN aClient *find_sid (char *sid, Reg aClient *cptr); | |
40 | EXTERN aClient *find_service (char *name, Reg aClient *cptr); | |
41 | EXTERN aClient *find_server (char *name, Reg aClient *cptr); | |
42 | EXTERN aClient *find_mask (char *name, aClient *cptr); | |
43 | EXTERN aClient *find_name (char *name, aClient *cptr); | |
44 | EXTERN aClient *find_matching_client (char *mask); | |
45 | EXTERN aClient *find_target (char *name, aClient *cptr); | |
46 | EXTERN aClient *find_userhost (char *user, char *host, aClient *cptr, | |
47 | int *count); | |
48 | EXTERN aClient *find_person (char *name, aClient *cptr); | |
49 | EXTERN int parse (aClient *cptr, char *buffer, char *bufend); | |
50 | EXTERN char *getfield (char *irc_newline); | |
51 | EXTERN int m_nop(aClient *, aClient *, int, char **); | |
52 | EXTERN int m_nopriv(aClient *, aClient *, int, char **); | |
53 | EXTERN int m_unreg(aClient *, aClient *, int, char **); | |
54 | EXTERN int m_reg(aClient *, aClient *, int, char **); | |
55 | #undef EXTERN |