@@ -4094,11 +4094,11 @@ bool tox_group_peer_get_public_key(
40944094 * @param group_number The group number of the group the name change is intended for.
40954095 * @param peer_id The ID of the peer who has changed their name.
40964096 * @param name The name data.
4097- * @param length The length of the name.
4097+ * @param name_length The length of the name.
40984098 */
40994099typedef void tox_group_peer_name_cb (
41004100 Tox * tox , Tox_Group_Number group_number , Tox_Group_Peer_Number peer_id ,
4101- const uint8_t name [], size_t length , void * user_data );
4101+ const uint8_t name [], size_t name_length , void * user_data );
41024102
41034103/**
41044104 * Set the callback for the `group_peer_name` event. Pass NULL to unset.
@@ -4235,11 +4235,11 @@ bool tox_group_get_topic(
42354235 * @param peer_id The ID of the peer who changed the topic. If the peer who set the topic
42364236 * is not present in our peer list this value will be set to 0.
42374237 * @param topic The topic data.
4238- * @param length The topic length.
4238+ * @param topic_length The topic length.
42394239 */
42404240typedef void tox_group_topic_cb (
42414241 Tox * tox , Tox_Group_Number group_number , Tox_Group_Peer_Number peer_id ,
4242- const uint8_t topic [], size_t length ,
4242+ const uint8_t topic [], size_t topic_length ,
42434243 void * user_data );
42444244
42454245/**
@@ -4416,11 +4416,11 @@ bool tox_group_get_password(
44164416/**
44174417 * @param group_number The group number of the group for which the password has changed.
44184418 * @param password The new group password.
4419- * @param length The length of the password.
4419+ * @param password_length The length of the password.
44204420 */
44214421typedef void tox_group_password_cb (
44224422 Tox * tox , Tox_Group_Number group_number ,
4423- const uint8_t password [], size_t length ,
4423+ const uint8_t password [], size_t password_length ,
44244424 void * user_data );
44254425
44264426/**
@@ -4731,12 +4731,12 @@ bool tox_group_send_custom_private_packet(const Tox *tox, Tox_Group_Number group
47314731 * @param peer_id The ID of the peer who sent the message.
47324732 * @param type The type of message (normal, action, ...).
47334733 * @param message The message data.
4734+ * @param message_length The length of the message.
47344735 * @param message_id A pseudo message id that clients can use to uniquely identify this group message.
4735- * @param length The length of the message.
47364736 */
47374737typedef void tox_group_message_cb (
47384738 Tox * tox , Tox_Group_Number group_number , Tox_Group_Peer_Number peer_id , Tox_Message_Type type ,
4739- const uint8_t message [], size_t length , Tox_Group_Message_Id message_id , void * user_data );
4739+ const uint8_t message [], size_t message_length , Tox_Group_Message_Id message_id , void * user_data );
47404740
47414741/**
47424742 * Set the callback for the `group_message` event. Pass NULL to unset.
@@ -4749,11 +4749,12 @@ void tox_callback_group_message(Tox *tox, tox_group_message_cb *callback);
47494749 * @param group_number The group number of the group the private message is intended for.
47504750 * @param peer_id The ID of the peer who sent the private message.
47514751 * @param message The message data.
4752- * @param length The length of the message.
4752+ * @param message_length The length of the message.
4753+ * @param message_id A pseudo message id that clients can use to uniquely identify this group message.
47534754 */
47544755typedef void tox_group_private_message_cb (
47554756 Tox * tox , Tox_Group_Number group_number , Tox_Group_Peer_Number peer_id , Tox_Message_Type type ,
4756- const uint8_t message [], size_t length , Tox_Group_Message_Id message_id , void * user_data );
4757+ const uint8_t message [], size_t message_length , Tox_Group_Message_Id message_id , void * user_data );
47574758
47584759/**
47594760 * Set the callback for the `group_private_message` event. Pass NULL to unset.
@@ -4766,11 +4767,11 @@ void tox_callback_group_private_message(Tox *tox, tox_group_private_message_cb *
47664767 * @param group_number The group number of the group the packet is intended for.
47674768 * @param peer_id The ID of the peer who sent the packet.
47684769 * @param data The packet data.
4769- * @param length The length of the data.
4770+ * @param data_length The length of the data.
47704771 */
47714772typedef void tox_group_custom_packet_cb (
47724773 Tox * tox , Tox_Group_Number group_number , Tox_Group_Peer_Number peer_id ,
4773- const uint8_t data [], size_t length , void * user_data );
4774+ const uint8_t data [], size_t data_length , void * user_data );
47744775
47754776/**
47764777 * Set the callback for the `group_custom_packet` event. Pass NULL to unset.
@@ -4783,11 +4784,11 @@ void tox_callback_group_custom_packet(Tox *tox, tox_group_custom_packet_cb *call
47834784 * @param group_number The group number of the group the packet is intended for.
47844785 * @param peer_id The ID of the peer who sent the packet.
47854786 * @param data The packet data.
4786- * @param length The length of the data.
4787+ * @param data_length The length of the data.
47874788 */
47884789typedef void tox_group_custom_private_packet_cb (
47894790 Tox * tox , Tox_Group_Number group_number , Tox_Group_Peer_Number peer_id ,
4790- const uint8_t data [], size_t length , void * user_data );
4791+ const uint8_t data [], size_t data_length , void * user_data );
47914792
47924793/**
47934794 * Set the callback for the `group_custom_private_packet` event. Pass NULL to unset.
@@ -4923,11 +4924,11 @@ Tox_Group_Number tox_group_invite_accept(
49234924/**
49244925 * @param friend_number The friend number of the contact who sent the invite.
49254926 * @param invite_data The invite data.
4926- * @param length The length of invite_data.
4927+ * @param invite_data_length The length of invite_data.
49274928 */
49284929typedef void tox_group_invite_cb (
49294930 Tox * tox , Tox_Friend_Number friend_number ,
4930- const uint8_t invite_data [], size_t length ,
4931+ const uint8_t invite_data [], size_t invite_data_length ,
49314932 const uint8_t group_name [], size_t group_name_length ,
49324933 void * user_data );
49334934
0 commit comments