about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-10-27 21:23:56 +0000
committerJames Booth <boothj5@gmail.com>2015-10-27 21:23:56 +0000
commit40dcd597270c375ff2d0abc36554f6436f406a03 (patch)
tree49f3a6e07da36c0b1a8e5f7e99c40085b58d374d /tests
parent0fd616167ee86562077327695f5f32974e9f5578 (diff)
downloadprofani-tty-40dcd597270c375ff2d0abc36554f6436f406a03.tar.gz
Renamed chatwin OTR functions
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/ui/stub_ui.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c
index f6f4cb78..de36676a 100644
--- a/tests/unittests/ui/stub_ui.c
+++ b/tests/unittests/ui/stub_ui.c
@@ -66,23 +66,23 @@ GSList* ui_get_chat_recipients(void)
 
 void ui_switch_win(ProfWin *win) {}
 
-void ui_gone_secure(ProfChatWin *chatwin, gboolean trusted) {}
-void ui_gone_insecure(ProfChatWin *chatwin) {}
-void ui_trust(ProfChatWin *chatwin) {}
-void ui_untrust(ProfChatWin *chatwin) {}
-void ui_smp_recipient_initiated(ProfChatWin *chatwin) {}
-void ui_smp_recipient_initiated_q(ProfChatWin *chatwin, const char *question) {}
-
-void ui_smp_successful(ProfChatWin *chatwin) {}
-void ui_smp_unsuccessful_sender(ProfChatWin *chatwin) {}
-void ui_smp_unsuccessful_receiver(ProfChatWin *chatwin) {}
-void ui_smp_aborted(ProfChatWin *chatwin) {}
-
-void ui_smp_answer_success(ProfChatWin *chatwin) {}
-void ui_smp_answer_failure(ProfChatWin *chatwin) {}
-
-void ui_otr_authenticating(ProfChatWin *chatwin) {}
-void ui_otr_authetication_waiting(ProfChatWin *chatwin) {}
+void chatwin_otr_secured(ProfChatWin *chatwin, gboolean trusted) {}
+void chatwin_otr_unsecured(ProfChatWin *chatwin) {}
+void chatwin_otr_trust(ProfChatWin *chatwin) {}
+void chatwin_otr_untrust(ProfChatWin *chatwin) {}
+void chatwin_otr_smp_init(ProfChatWin *chatwin) {}
+void chatwin_otr_smp_init_q(ProfChatWin *chatwin, const char *question) {}
+
+void chatwin_otr_smp_success(ProfChatWin *chatwin) {}
+void chatwin_otr_smp_sender_failed(ProfChatWin *chatwin) {}
+void chatwin_otr_smp_receiver_failed(ProfChatWin *chatwin) {}
+void chatwin_otr_smp_aborted(ProfChatWin *chatwin) {}
+
+void chatwin_otr_smp_answer_success(ProfChatWin *chatwin) {}
+void chatwin_otr_smp_answer_failure(ProfChatWin *chatwin) {}
+
+void chatwin_otr_smp_authenticating(ProfChatWin *chatwin) {}
+void chatwin_otr_smp_authenticaton_wait(ProfChatWin *chatwin) {}
 void ui_sigwinch_handler(int sig) {}
 
 unsigned long ui_get_idle_time(void)
@@ -185,7 +185,7 @@ void ui_contact_online(char *barejid, Resource *resource, GDateTime *last_activi
 
 void ui_contact_typing(const char * const barejid, const char * const resource) {}
 void ui_incoming_msg(ProfChatWin *chatwin, const char * const resource, const char * const message, GDateTime *timestamp, gboolean win_created, prof_enc_t enc_mode) {}
-void ui_message_receipt(ProfChatWin *chatwin, const char * const id) {}
+void chatwin_receipt_received(ProfChatWin *chatwin, const char * const id) {}
 
 void ui_incoming_private_msg(const char * const fulljid, const char * const message, GDateTime *timestamp) {}