]> jfr.im git - irc/evilnet/x3.git/blob - src/opserv.h
changing how libtre is dealt with
[irc/evilnet/x3.git] / src / opserv.h
1 /* opserv.h - IRC Operator assistant service
2 * Copyright 2000-2004 srvx Development Team
3 *
4 * This file is part of x3.
5 *
6 * x3 is free software; you can redistribute it and/or modify
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
24 void init_opserv(const char *nick);
25 unsigned int gag_create(const char *mask, const char *owner, const char *reason, time_t expires);
26 int opserv_bad_channel(const char *name);
27 struct routingPlan* opserv_add_routing_plan(const char *name);
28 unsigned int opserv_conf_admin_level();
29 void routing_handle_connect_failure(struct server *source, char *server, char *message);
30 int activate_routing(struct svccmd *cmd, struct userNode *user, char *plan_name);
31 void routing_handle_squit(char *server, char* uplink, char *message);
32 void routing_handle_connect(char *server, char *uplink);
33
34 #endif