summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-join.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-03-06 20:30:33 +0100
committerSébastien Helleu <flashcode@flashtux.org>2022-03-10 21:12:46 +0100
commit9cfdb4a3249edba1a946a74ee3094c5533fa4f13 (patch)
tree7904deee5f63f160e9ec00b8ba07742e1c1396e8 /src/plugins/irc/irc-join.h
parentc1e65e8eddde05ba61e101054cabf74212fbc50d (diff)
downloadweechat-9cfdb4a3249edba1a946a74ee3094c5533fa4f13.zip
irc: add command /autojoin
Diffstat (limited to 'src/plugins/irc/irc-join.h')
-rw-r--r--src/plugins/irc/irc-join.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/plugins/irc/irc-join.h b/src/plugins/irc/irc-join.h
index ca2a049d6..bdc53d51b 100644
--- a/src/plugins/irc/irc-join.h
+++ b/src/plugins/irc/irc-join.h
@@ -34,13 +34,20 @@ extern char *irc_join_build_string (struct t_arraylist *arraylist);
extern char *irc_join_add_channel (struct t_irc_server *server,
const char *join, const char *channel_name,
const char *key);
-void irc_join_add_channel_to_autojoin (struct t_irc_server *server,
- const char *channel_name,
- const char *key);
+extern char *irc_join_add_channels (struct t_irc_server *server,
+ const char *join, const char *join2);
+extern void irc_join_add_channel_to_autojoin (struct t_irc_server *server,
+ const char *channel_name,
+ const char *key, int verbose);
+extern void irc_join_add_channels_to_autojoin (struct t_irc_server *server,
+ const char *join, int verbose);
extern char *irc_join_remove_channel (struct t_irc_server *server,
const char *join,
const char *channel_name);
-void irc_join_remove_channel_from_autojoin (struct t_irc_server *server,
- const char *channel_name);
+extern void irc_join_remove_channel_from_autojoin (struct t_irc_server *server,
+ const char *channel_name,
+ int verbose);
+extern void irc_join_save_channels_to_autojoin (struct t_irc_server *server,
+ int verbose);
#endif /* WEECHAT_PLUGIN_IRC_JOIN_H */