summaryrefslogtreecommitdiff
path: root/toxav/toxmsi.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxav/toxmsi.h')
-rwxr-xr-xtoxav/toxmsi.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/toxav/toxmsi.h b/toxav/toxmsi.h
index 63cff9e5..04987fee 100755
--- a/toxav/toxmsi.h
+++ b/toxav/toxmsi.h
@@ -120,20 +120,20 @@ typedef struct _MSISession {
120 */ 120 */
121typedef enum { 121typedef enum {
122 /* Requests */ 122 /* Requests */
123 cb_oninvite, 123 MSI_OnInvite,
124 cb_onstart, 124 MSI_OnStart,
125 cb_oncancel, 125 MSI_OnCancel,
126 cb_onreject, 126 MSI_OnReject,
127 cb_onend, 127 MSI_OnEnd,
128 128
129 /* Responses */ 129 /* Responses */
130 cb_ringing, 130 MSI_OnRinging,
131 cb_starting, 131 MSI_OnStarting,
132 cb_ending, 132 MSI_OnEnding,
133 133
134 /* Protocol */ 134 /* Protocol */
135 cb_error, 135 MSI_OnError,
136 cb_timeout 136 MSI_OnTimeout
137 137
138} MSICallbackID; 138} MSICallbackID;
139 139
@@ -215,9 +215,10 @@ int msi_cancel ( MSISession* session, int friend_id );
215 * @brief Reject request. 215 * @brief Reject request.
216 * 216 *
217 * @param session Control session. 217 * @param session Control session.
218 * @param reason Set optional reason header. Pass NULL if none.
218 * @return int 219 * @return int
219 */ 220 */
220int msi_reject ( MSISession* session ); 221int msi_reject ( MSISession* session, const uint8_t* reason );
221 222
222 223
223/** 224/**