X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/5a1daaaba65bb61921c1274fd8672cb91bae4268..35305a49c0973c0e29e4a607c2b507a2d8face43:/src/opserv.h diff --git a/src/opserv.h b/src/opserv.h index 2959b79..08fcac4 100644 --- a/src/opserv.h +++ b/src/opserv.h @@ -3,7 +3,7 @@ * * 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,6 +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