about summary refs log tree commit diff stats
path: root/tests/unittests/xmpp
diff options
context:
space:
mode:
authorPaul Fariello <paul@fariello.eu>2018-03-22 04:47:52 +0220
committerPaul Fariello <paul@fariello.eu>2018-09-05 13:49:40 +0200
commitc9f6a78f574ce2a90ae7871a08a5ddcfb9ab7270 (patch)
treef56d2e25e1d5d127c57dd78c82634674774687f7 /tests/unittests/xmpp
parentca022ec75e12d28e6ce71447fe877b90518de310 (diff)
downloadprofani-tty-c9f6a78f574ce2a90ae7871a08a5ddcfb9ab7270.tar.gz
Add command subcommands: list and exec
Also handle list result
Diffstat (limited to 'tests/unittests/xmpp')
-rw-r--r--tests/unittests/xmpp/stub_xmpp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unittests/xmpp/stub_xmpp.c b/tests/unittests/xmpp/stub_xmpp.c
index 45db6649..5590a8e1 100644
--- a/tests/unittests/xmpp/stub_xmpp.c
+++ b/tests/unittests/xmpp/stub_xmpp.c
@@ -205,6 +205,8 @@ void iq_room_role_list(const char * const room, char *role) {}
 void iq_last_activity_request(gchar *jid) {}
 void iq_autoping_check(void) {}
 void iq_rooms_cache_clear(void) {}
+void iq_command_list(const char *const target) {}
+void iq_command_exec(const char *const target, const char *const command) {}
 
 // caps functions
 void caps_add_feature(char *feature) {}
147' href='#n147'>147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181