X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/7fda2b52a31a4d719437281208fafc12d4aa389e..cc5d8f7fd0dd5ef035eb4288f8a1f4045172c8d1:/src/proto.h diff --git a/src/proto.h b/src/proto.h index e8adde9..8b7b15c 100644 --- a/src/proto.h +++ b/src/proto.h @@ -37,6 +37,7 @@ #endif struct gline; +struct shun; struct server; struct userNode; struct chanNode; @@ -139,9 +140,11 @@ void irc_topic(struct userNode *service, struct userNode *who, struct chanNode * void irc_fetchtopic(struct userNode *from, const char *to); /* network maintenance */ -void irc_gline(struct server *srv, struct gline *gline); +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); void irc_ungline(const char *mask); +void irc_unshun(const char *mask); void irc_error(const char *to, const char *message); void irc_kill(struct userNode *from, struct userNode *target, const char *message); void irc_raw(const char *what);