X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/2f61d1d75ac52f239e760ecea02332eedc4682bd..35305a49c0973c0e29e4a607c2b507a2d8face43:/src/proto.h diff --git a/src/proto.h b/src/proto.h index 6c4a937..63f1b1d 100644 --- a/src/proto.h +++ b/src/proto.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. @@ -122,12 +122,15 @@ void irc_ping(const char *something); void irc_pong(const char *who, const char *data); void irc_quit(struct userNode *user, const char *message); void irc_squit(struct server *srv, const char *message, const char *service_message); +void irc_squit_route(struct server *srv, const char *message, ...); +void irc_connect(struct userNode *user, char *server, unsigned int port, struct server *target); /* messages */ void irc_privmsg(struct userNode *from, const char *to, const char *message); void irc_notice(struct userNode *from, const char *to, const char *message); void irc_notice_user(struct userNode *from, struct userNode *to, const char *message); void irc_wallchops(struct userNode *from, const char *to, const char *message); +void irc_wallops(const char *format, ...); /* channel maintenance */ void irc_join(struct userNode *who, struct chanNode *what); @@ -140,6 +143,7 @@ void irc_topic(struct userNode *service, struct userNode *who, struct chanNode * void irc_fetchtopic(struct userNode *from, const char *to); /* network maintenance */ +void irc_silence(struct userNode *who, const char *mask, int add); void irc_gline(struct server *srv, struct gline *gline, int silent); void irc_shun(struct server *srv, struct shun *shun); void irc_settime(const char *srv_name_mask, time_t new_time); @@ -150,6 +154,7 @@ void irc_kill(struct userNode *from, struct userNode *target, const char *messag void irc_raw(const char *what); void irc_stats(struct userNode *from, struct server *target, char type); void irc_svsnick(struct userNode *from, struct userNode *target, const char *newnick); +void irc_swhois(struct userNode *from, struct userNode *target, const char *message); /* account maintenance */ void irc_rename(struct userNode *user, const char *new_handle);