X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/569587404da2a897f15e6b0d4bd64e8fbe5617c4..35305a49c0973c0e29e4a607c2b507a2d8face43:/src/proto.h diff --git a/src/proto.h b/src/proto.h index a4f8546..63f1b1d 100644 --- a/src/proto.h +++ b/src/proto.h @@ -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);