X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/d76ed9a966ee3d955c8ef00ecc02e643c2005e2e..35305a49c0973c0e29e4a607c2b507a2d8face43:/src/opserv.h diff --git a/src/opserv.h b/src/opserv.h index 52be101..08fcac4 100644 --- a/src/opserv.h +++ b/src/opserv.h @@ -1,9 +1,9 @@ /* opserv.h - IRC Operator assistant service * Copyright 2000-2004 srvx Development Team * - * This file is part of srvx. + * This file is part of x3. * - * srvx is free software; you can redistribute it and/or modify + * x3 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 2 of the License, or * (at your option) any later version. @@ -24,5 +24,11 @@ void init_opserv(const char *nick); unsigned int gag_create(const char *mask, const char *owner, const char *reason, time_t expires); int opserv_bad_channel(const char *name); +struct routingPlan* opserv_add_routing_plan(const char *name); +unsigned int opserv_conf_admin_level(); +void routing_handle_connect_failure(struct server *source, char *server, char *message); +int activate_routing(struct svccmd *cmd, struct userNode *user, char *plan_name); +void routing_handle_squit(char *server, char* uplink, char *message); +void routing_handle_connect(char *server, char *uplink); #endif