X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/6c34bb5a48e5fe812760a7c0ba55a7e7c6ccd8b0..fa3c07bbce89332ed1f96313aad55bbea81f9718:/src/proto.h diff --git a/src/proto.h b/src/proto.h index 5a8aa30..1d10bec 100644 --- a/src/proto.h +++ b/src/proto.h @@ -5,7 +5,7 @@ * * 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 + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -132,6 +132,7 @@ void irc_connect(struct userNode *user, char *server, unsigned int port, struct 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_version_user(struct userNode *from, struct userNode *to); void irc_wallchops(struct userNode *from, const char *to, const char *message); void irc_wallops(const char *format, ...); @@ -144,6 +145,8 @@ void irc_kick(struct userNode *who, struct userNode *target, struct chanNode *fr void irc_part(struct userNode *who, struct chanNode *what, const char *reason); void irc_topic(struct userNode *service, struct userNode *who, struct chanNode *what, const char *topic); void irc_fetchtopic(struct userNode *from, const char *to); +void irc_svsjoin(struct userNode *from, struct userNode *who, struct chanNode *to); +void irc_svspart(struct userNode *from, struct userNode *who, struct chanNode *to); /* network maintenance */ void irc_silence(struct userNode *who, const char *mask, int add); @@ -166,6 +169,7 @@ void irc_delete(struct userNode *user); void irc_account(struct userNode *user, const char *stamp, time_t timestamp); void irc_regnick(struct userNode *user); void irc_fakehost(struct userNode *user, const char *host); +void irc_mark(struct userNode *user, char *mark); /* numeric messages */ void irc_numeric(struct userNode *user, unsigned int num, const char *format, ...);