mirror of https://github.com/irungentoo/toxcore
Merge branch 'master' of https://github.com/JFreegman/toxcore
commit
970c2cccf3
|
@ -627,7 +627,7 @@ uint8_t[size] savedata {
|
|||
* Sends a "get nodes" request to the given bootstrap node with IP, port, and
|
||||
* public key to setup connections.
|
||||
*
|
||||
* This function will attempt to connect to the node using UDP. You must use
|
||||
* This function will attempt to connect to the node using UDP. You must use
|
||||
* this function even if ${options.this.udp_enabled} was set to false.
|
||||
*
|
||||
* @param address The hostname or IP address (IPv4 or IPv6) of the node.
|
||||
|
@ -1209,7 +1209,7 @@ namespace friend {
|
|||
with error for query;
|
||||
|
||||
/**
|
||||
* Write the name of the friend designated by the given friend number to a byte
|
||||
* Write the status message of the friend designated by the given friend number to a byte
|
||||
* array.
|
||||
*
|
||||
* Call $size to determine the allocation size for the `status_name`
|
||||
|
@ -1218,7 +1218,7 @@ namespace friend {
|
|||
* The data written to `status_message` is equal to the data received by the last
|
||||
* `${event status_message}` callback.
|
||||
*
|
||||
* @param name A valid memory region large enough to store the friend's name.
|
||||
* @param status_message A valid memory region large enough to store the friend's status message.
|
||||
*/
|
||||
get(uint32_t friend_number)
|
||||
with error for query;
|
||||
|
|
|
@ -1283,7 +1283,7 @@ void tox_callback_friend_name(Tox *tox, tox_friend_name_cb *callback, void *user
|
|||
size_t tox_friend_get_status_message_size(const Tox *tox, uint32_t friend_number, TOX_ERR_FRIEND_QUERY *error);
|
||||
|
||||
/**
|
||||
* Write the name of the friend designated by the given friend number to a byte
|
||||
* Write the status message of the friend designated by the given friend number to a byte
|
||||
* array.
|
||||
*
|
||||
* Call tox_friend_get_status_message_size to determine the allocation size for the `status_name`
|
||||
|
@ -1292,7 +1292,7 @@ size_t tox_friend_get_status_message_size(const Tox *tox, uint32_t friend_number
|
|||
* The data written to `status_message` is equal to the data received by the last
|
||||
* `friend_status_message` callback.
|
||||
*
|
||||
* @param name A valid memory region large enough to store the friend's name.
|
||||
* @param status_message A valid memory region large enough to store the friend's status message.
|
||||
*/
|
||||
bool tox_friend_get_status_message(const Tox *tox, uint32_t friend_number, uint8_t *status_message,
|
||||
TOX_ERR_FRIEND_QUERY *error);
|
||||
|
|
Loading…
Reference in New Issue