int parse_line(char *line, int recursive);
char *client_report_privs(struct userNode *client);
+int check_priv(char *priv);
/* Callback notifications for protocol support. */
typedef void (*chanmsg_func_t) (struct userNode *user, struct chanNode *chan, char *text, struct userNode *bot);
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, ...);
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);
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);
+void irc_privs(struct userNode *target, char *flag, int add);
/* account maintenance */
void irc_rename(struct userNode *user, const char *new_handle);