summaryrefslogtreecommitdiff
path: root/src/xmpp/biboumi_adhoc_commands.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-05-11 21:15:43 +0200
committerlouiz’ <louiz@louiz.org>2017-05-11 21:15:43 +0200
commit8cf0b833c47314ada66e6a25bbdb9a2178e096d0 (patch)
tree1282098315978f09193b34c8a61df0759b39c457 /src/xmpp/biboumi_adhoc_commands.hpp
parent577a863977e4691f59d654977591eed748df2843 (diff)
downloadbiboumi-8cf0b833c47314ada66e6a25bbdb9a2178e096d0.tar.gz
biboumi-8cf0b833c47314ada66e6a25bbdb9a2178e096d0.tar.bz2
biboumi-8cf0b833c47314ada66e6a25bbdb9a2178e096d0.tar.xz
biboumi-8cf0b833c47314ada66e6a25bbdb9a2178e096d0.zip
Make the IRC channel configuration form available from the MUC config
fix #3250
Diffstat (limited to 'src/xmpp/biboumi_adhoc_commands.hpp')
-rw-r--r--src/xmpp/biboumi_adhoc_commands.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xmpp/biboumi_adhoc_commands.hpp b/src/xmpp/biboumi_adhoc_commands.hpp
index b5fce61..7d29cc2 100644
--- a/src/xmpp/biboumi_adhoc_commands.hpp
+++ b/src/xmpp/biboumi_adhoc_commands.hpp
@@ -4,6 +4,7 @@
#include <xmpp/adhoc_command.hpp>
#include <xmpp/adhoc_session.hpp>
#include <xmpp/xmpp_stanza.hpp>
+#include <xmpp/jid.hpp>
class XmppComponent;
@@ -17,7 +18,9 @@ void ConfigureIrcServerStep1(XmppComponent&, AdhocSession& session, XmlNode& com
void ConfigureIrcServerStep2(XmppComponent&, AdhocSession& session, XmlNode& command_node);
void ConfigureIrcChannelStep1(XmppComponent&, AdhocSession& session, XmlNode& command_node);
+void insert_irc_channel_configuration_form(XmlNode& node, const Jid& requester, const Jid& target);
void ConfigureIrcChannelStep2(XmppComponent&, AdhocSession& session, XmlNode& command_node);
+bool handle_irc_channel_configuration_form(const XmlNode& node, const Jid& requester, const Jid& target);
void DisconnectUserFromServerStep1(XmppComponent&, AdhocSession& session, XmlNode& command_node);
void DisconnectUserFromServerStep2(XmppComponent&, AdhocSession& session, XmlNode& command_node);