1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
|
/************************************************************************
* IRC - Internet Relay Chat, include/m_commands.h
* Copyright (C) 1990 Jarkko Oikarinen and
* University of Oulu, Computing Center
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 1, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*
*/
#ifndef INCLUDED_m_commands_h
#define INCLUDED_m_commands_h
#ifndef INCLUDED_config_h
#include "config.h"
#endif
struct Client;
extern int m_testline(struct Client *,struct Client *,int,char **);
extern int m_admin(struct Client *,struct Client *,int,char **);
extern int m_kline(struct Client *,struct Client *,int,char **);
extern int m_unkline(struct Client *,struct Client *,int,char **);
extern int m_dline(struct Client *,struct Client *,int,char **);
extern int m_private(struct Client *,struct Client *,int,char **);
extern int m_knock(struct Client *,struct Client *,int,char **);
extern int m_topic(struct Client *,struct Client *,int,char **);
extern int m_join(struct Client *,struct Client *,int,char **);
extern int m_part(struct Client *,struct Client *,int,char **);
extern int m_mode(struct Client *,struct Client *,int,char **);
extern int m_ping(struct Client *,struct Client *,int,char **);
extern int m_pong(struct Client *,struct Client *,int,char **);
extern int m_wallops(struct Client *,struct Client *,int,char **);
extern int m_kick(struct Client *,struct Client *,int,char **);
extern int m_remove(struct Client *,struct Client *,int,char **);
extern int m_nick(struct Client *,struct Client *,int,char **);
extern int m_error(struct Client *,struct Client *,int,char **);
extern int m_notice(struct Client *,struct Client *,int,char **);
extern int m_invite(struct Client *,struct Client *,int,char **);
extern int m_quit(struct Client *,struct Client *,int,char **);
extern int m_capab(struct Client *,struct Client *,int,char **);
extern int m_info(struct Client *,struct Client *,int,char **);
extern int m_kill(struct Client *,struct Client *,int,char **);
extern int m_list(struct Client *,struct Client *,int, char **);
extern int m_motd(struct Client *,struct Client *,int,char **);
extern int m_who(struct Client *,struct Client *,int,char **);
extern int m_whois(struct Client *,struct Client *,int,char **);
extern int m_server(struct Client *,struct Client *,int,char **);
extern int m_user(struct Client *,struct Client *,int, char **);
extern int m_links(struct Client *,struct Client *,int,char **);
extern int m_map(struct Client *,struct Client *,int,char **);
extern int m_summon(struct Client *,struct Client *,int,char **);
extern int m_stats(struct Client *,struct Client *,int,char **);
extern int m_users(struct Client *,struct Client *,int,char **);
extern int m_version(struct Client *,struct Client *,int, char **);
extern int m_help(struct Client *,struct Client *,int, char**);
extern int m_squit(struct Client *,struct Client *,int, char **);
extern int m_away(struct Client *,struct Client *,int,char **);
extern int m_connect(struct Client *,struct Client *,int,char **);
extern int m_oper(struct Client *,struct Client *,int,char **);
extern int m_pass(struct Client *,struct Client *,int,char **);
extern int m_trace(struct Client *,struct Client *,int,char **);
#ifdef LTRACE
extern int m_ltrace(struct Client *,struct Client *,int,char **);
#endif /* LTRACE */
extern int m_time(struct Client *,struct Client *,int, char **);
extern int m_names(struct Client *,struct Client *,int,char **);
extern int m_lusers(struct Client *,struct Client *,int, char **);
extern int m_close(struct Client *,struct Client *,int,char **);
extern int m_whowas(struct Client *,struct Client *,int,char **);
extern int m_userhost(struct Client *,struct Client *,int,char **);
extern int m_ison(struct Client *,struct Client *,int,char **);
extern int m_svinfo(struct Client *,struct Client *,int,char **);
extern int m_sjoin(struct Client *,struct Client *,int,char **);
extern int m_operwall(struct Client *,struct Client *,int,char **);
extern int m_rehash(struct Client *,struct Client *,int,char **);
extern int m_restart(struct Client *,struct Client *,int,char **);
extern int m_die(struct Client *,struct Client *,int,char **);
extern int m_hash(struct Client *,struct Client *,int,char **);
extern int m_dns(struct Client *,struct Client *,int,char **);
extern int m_htm(struct Client *,struct Client *,int,char **);
extern int m_set(struct Client *,struct Client *,int,char **);
extern int m_sethost(struct Client *,struct Client *,int,char **);
extern int m_setident(struct Client *,struct Client *,int,char **);
extern int m_setname(struct Client *,struct Client *,int,char **);
extern int m_makepass(struct Client *,struct Client *,int,char **);
extern int m_stopic(struct Client *,struct Client *,int,char **);
#ifdef USE_SERVICES
extern int m_chanserv(struct Client *,struct Client *,int,char **);
extern int m_memoserv(struct Client *,struct Client *,int,char **);
extern int m_nickserv(struct Client *,struct Client *,int,char **);
extern int m_operserv(struct Client *,struct Client *,int,char **);
extern int m_statserv(struct Client *,struct Client *,int,char **);
extern int m_helpserv(struct Client *,struct Client *,int,char **);
extern int m_seenserv(struct Client *,struct Client *,int,char **);
extern int m_global(struct Client *,struct Client *,int,char **);
#endif /* USE_SERVICES */
extern int m_silence(struct Client *, struct Client *, int, char**);
#ifdef CHALLENGERESPONSE
extern int m_chall(struct Client *,struct Client *,int,char **);
extern int m_resp(struct Client *,struct Client *,int,char **);
#endif
#ifdef TSDELTA
extern int m_tsdelta(struct Client*, struct Client*, int, char**);
extern int m_tsdping(struct Client*, struct Client*, int, char**);
extern int m_tsdpong(struct Client*, struct Client*, int, char**);
extern int m_utime(struct Client*, struct Client*, int, char**);
#endif
extern int m_spingtime(struct Client*, struct Client*, int, char**);
extern int m_scan(struct Client*, struct Client*, int, char**);
extern int m_burst(struct Client*, struct Client*, int, char**);
extern int m_snick(struct Client*, struct Client*, int, char**);
extern int m_idle(struct Client*, struct Client*, int, char**);
extern int m_collide(struct Client*, struct Client*, int, char**);
extern int m_ljoin(struct Client*, struct Client*, int, char**);
extern int m_lpart(struct Client*, struct Client*, int, char**);
extern int m_dump(struct Client*, struct Client*, int, char**);
#endif /* INCLUDED_m_commands_h */
|