summaryrefslogtreecommitdiff
path: root/auto_tests/toxav_many_test.c
diff options
context:
space:
mode:
authormannol <eniz_vukovic@hotmail.com>2014-05-16 19:56:40 +0200
committermannol <eniz_vukovic@hotmail.com>2014-05-16 19:56:40 +0200
commit843171fbc8e0cb12c14fac39bef15e596f44bef1 (patch)
treedf0bde9d85f41762d45473b60f3ede9912203982 /auto_tests/toxav_many_test.c
parent9bb910a370725696cc3169c795f903c24e7d126f (diff)
This works.
Diffstat (limited to 'auto_tests/toxav_many_test.c')
-rw-r--r--auto_tests/toxav_many_test.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/auto_tests/toxav_many_test.c b/auto_tests/toxav_many_test.c
index 77f3717e..b499b439 100644
--- a/auto_tests/toxav_many_test.c
+++ b/auto_tests/toxav_many_test.c
@@ -60,62 +60,62 @@ void accept_friend_request(Tox *m, uint8_t *public_key, uint8_t *data, uint16_t
60 60
61 61
62/******************************************************************************/ 62/******************************************************************************/
63void callback_recv_invite ( uint32_t call_index, void *_arg ) 63void callback_recv_invite ( int32_t call_index, void *_arg )
64{/* 64{/*
65 Status *cast = _arg; 65 Status *cast = _arg;
66 66
67 cast->calls[call_index].Callee.status = Ringing;*/ 67 cast->calls[call_index].Callee.status = Ringing;*/
68} 68}
69void callback_recv_ringing ( uint32_t call_index, void *_arg ) 69void callback_recv_ringing ( int32_t call_index, void *_arg )
70{ 70{
71 Status *cast = _arg; 71 Status *cast = _arg;
72 72
73 cast->calls[call_index].Caller.status = Ringing; 73 cast->calls[call_index].Caller.status = Ringing;
74} 74}
75void callback_recv_starting ( uint32_t call_index, void *_arg ) 75void callback_recv_starting ( int32_t call_index, void *_arg )
76{ 76{
77 Status *cast = _arg; 77 Status *cast = _arg;
78 78
79 cast->calls[call_index].Caller.status = InCall; 79 cast->calls[call_index].Caller.status = InCall;
80} 80}
81void callback_recv_ending ( uint32_t call_index, void *_arg ) 81void callback_recv_ending ( int32_t call_index, void *_arg )
82{ 82{
83 Status *cast = _arg; 83 Status *cast = _arg;
84 84
85 cast->calls[call_index].Caller.status = Ended; 85 cast->calls[call_index].Caller.status = Ended;
86} 86}
87 87
88void callback_recv_error ( uint32_t call_index, void *_arg ) 88void callback_recv_error ( int32_t call_index, void *_arg )
89{ 89{
90 ck_assert_msg(0, "AV internal error"); 90 ck_assert_msg(0, "AV internal error");
91} 91}
92 92
93void callback_call_started ( uint32_t call_index, void *_arg ) 93void callback_call_started ( int32_t call_index, void *_arg )
94{/* 94{/*
95 Status *cast = _arg; 95 Status *cast = _arg;
96 96
97 cast->calls[call_index].Callee.status = InCall;*/ 97 cast->calls[call_index].Callee.status = InCall;*/
98} 98}
99void callback_call_canceled ( uint32_t call_index, void *_arg ) 99void callback_call_canceled ( int32_t call_index, void *_arg )
100{/* 100{/*
101 Status *cast = _arg; 101 Status *cast = _arg;
102 102
103 cast->calls[call_index].Callee.status = Cancel;*/ 103 cast->calls[call_index].Callee.status = Cancel;*/
104} 104}
105void callback_call_rejected ( uint32_t call_index, void *_arg ) 105void callback_call_rejected ( int32_t call_index, void *_arg )
106{ 106{
107 Status *cast = _arg; 107 Status *cast = _arg;
108 108
109 cast->calls[call_index].Caller.status = Rejected; 109 cast->calls[call_index].Caller.status = Rejected;
110} 110}
111void callback_call_ended ( uint32_t call_index, void *_arg ) 111void callback_call_ended ( int32_t call_index, void *_arg )
112{/* 112{/*
113 Status *cast = _arg; 113 Status *cast = _arg;
114 114
115 cast->calls[call_index].Callee.status = Ended;*/ 115 cast->calls[call_index].Callee.status = Ended;*/
116} 116}
117 117
118void callback_requ_timeout ( uint32_t call_index, void *_arg ) 118void callback_requ_timeout ( int32_t call_index, void *_arg )
119{ 119{
120 ck_assert_msg(0, "No answer!"); 120 ck_assert_msg(0, "No answer!");
121} 121}