]> jfr.im git - irc/evilnet/x3.git/blame - src/opserv.h
exit if no memoserv nick is set
[irc/evilnet/x3.git] / src / opserv.h
CommitLineData
d76ed9a9 1/* opserv.h - IRC Operator assistant service
2 * Copyright 2000-2004 srvx Development Team
3 *
83ff05c3 4 * This file is part of x3.
d76ed9a9 5 *
d0f04f71 6 * x3 is free software; you can redistribute it and/or modify
d76ed9a9 7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with srvx; if not, write to the Free Software Foundation,
18 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
19 */
20
21#ifndef _opserv_h
22#define _opserv_h
23
24void init_opserv(const char *nick);
25unsigned int gag_create(const char *mask, const char *owner, const char *reason, time_t expires);
26int opserv_bad_channel(const char *name);
47956fc5 27struct routingPlan* opserv_add_routing_plan(const char *name);
5a1daaab 28unsigned int opserv_conf_admin_level();
47956fc5 29void routing_handle_connect_failure(struct server *source, char *server, char *message);
30int activate_routing(struct svccmd *cmd, struct userNode *user, char *plan_name);
31void routing_handle_squit(char *server, char* uplink, char *message);
32void routing_handle_connect(char *server, char *uplink);
d76ed9a9 33
34#endif