diff options
author | Jfreegman <jfreegman@gmail.com> | 2016-09-19 11:30:36 -0400 |
---|---|---|
committer | Jfreegman <jfreegman@gmail.com> | 2016-09-21 15:33:55 -0400 |
commit | dd2965a58f8ec95bd61c1a2c8812bd46b83f414c (patch) | |
tree | 3b128f36518ced6ea670302e333bb11aca64ab74 /toxcore/tox.h | |
parent | e59fd26d4987050e474a6de27dd503f32cc7820a (diff) |
Make group callbacks stateless
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r-- | toxcore/tox.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h index 47573302..ecb21ae2 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h | |||
@@ -2307,7 +2307,7 @@ typedef void tox_conference_invite_cb(Tox *tox, uint32_t friend_number, TOX_CONF | |||
2307 | * | 2307 | * |
2308 | * This event is triggered when the client is invited to join a conference. | 2308 | * This event is triggered when the client is invited to join a conference. |
2309 | */ | 2309 | */ |
2310 | void tox_callback_conference_invite(Tox *tox, tox_conference_invite_cb *callback, void *user_data); | 2310 | void tox_callback_conference_invite(Tox *tox, tox_conference_invite_cb *callback); |
2311 | 2311 | ||
2312 | /** | 2312 | /** |
2313 | * @param conference_number The conference number of the conference the message is intended for. | 2313 | * @param conference_number The conference number of the conference the message is intended for. |
@@ -2325,7 +2325,7 @@ typedef void tox_conference_message_cb(Tox *tox, uint32_t conference_number, uin | |||
2325 | * | 2325 | * |
2326 | * This event is triggered when the client receives a conference message. | 2326 | * This event is triggered when the client receives a conference message. |
2327 | */ | 2327 | */ |
2328 | void tox_callback_conference_message(Tox *tox, tox_conference_message_cb *callback, void *user_data); | 2328 | void tox_callback_conference_message(Tox *tox, tox_conference_message_cb *callback); |
2329 | 2329 | ||
2330 | /** | 2330 | /** |
2331 | * @param conference_number The conference number of the conference the title change is intended for. | 2331 | * @param conference_number The conference number of the conference the title change is intended for. |
@@ -2344,7 +2344,7 @@ typedef void tox_conference_title_cb(Tox *tox, uint32_t conference_number, uint3 | |||
2344 | * | 2344 | * |
2345 | * If peer_number == UINT32_MAX, then author is unknown (e.g. initial joining the conference). | 2345 | * If peer_number == UINT32_MAX, then author is unknown (e.g. initial joining the conference). |
2346 | */ | 2346 | */ |
2347 | void tox_callback_conference_title(Tox *tox, tox_conference_title_cb *callback, void *user_data); | 2347 | void tox_callback_conference_title(Tox *tox, tox_conference_title_cb *callback); |
2348 | 2348 | ||
2349 | /** | 2349 | /** |
2350 | * Peer list state change types. | 2350 | * Peer list state change types. |
@@ -2383,7 +2383,7 @@ typedef void tox_conference_namelist_change_cb(Tox *tox, uint32_t conference_num | |||
2383 | * | 2383 | * |
2384 | * This event is triggered when the peer list changes (name change, peer join, peer exit). | 2384 | * This event is triggered when the peer list changes (name change, peer join, peer exit). |
2385 | */ | 2385 | */ |
2386 | void tox_callback_conference_namelist_change(Tox *tox, tox_conference_namelist_change_cb *callback, void *user_data); | 2386 | void tox_callback_conference_namelist_change(Tox *tox, tox_conference_namelist_change_cb *callback); |
2387 | 2387 | ||
2388 | typedef enum TOX_ERR_CONFERENCE_NEW { | 2388 | typedef enum TOX_ERR_CONFERENCE_NEW { |
2389 | 2389 | ||