rename accountopt.[ch] to purpleaccountoption.[ch]
[pidgin-git.git] / libpurple / protocols / jabber / adhoccommands.h
blobbac3011be09c4688b3fbca8d5e3f01a6d8d0944d
1 /*
2 * purple - Jabber Protocol Plugin
4 * Purple is the legal property of its developers, whose names are too numerous
5 * to list here. Please refer to the COPYRIGHT file distributed with this
6 * source distribution.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
24 #ifndef PURPLE_JABBER_ADHOCCOMMANDS_H
25 #define PURPLE_JABBER_ADHOCCOMMANDS_H
27 #include "jabber.h"
29 /* Implementation of XEP-0050 */
31 void jabber_adhoc_disco_result_cb(JabberStream *js, const char *from,
32 JabberIqType type, const char *id,
33 PurpleXmlNode *packet, gpointer data);
35 void jabber_adhoc_execute(JabberStream *js, JabberAdHocCommands *cmd);
37 void jabber_adhoc_execute_action(PurpleBlistNode *node, gpointer data);
39 void jabber_adhoc_got_list(JabberStream *js, const char *from, PurpleXmlNode *query);
41 void jabber_adhoc_server_get_list(JabberStream *js);
43 void jabber_adhoc_init_server_commands(JabberStream *js, GList **m);
45 #endif /* PURPLE_JABBER_ADHOCCOMMANDS_H */