diff options
author | George Hazan <ghazan@miranda.im> | 2020-05-03 12:35:27 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-05-03 12:35:27 +0300 |
commit | e85b4c67372900013faa7793db0f7e664d5bca2e (patch) | |
tree | a30aea519d9c2672ed4a50d32a6ad43acd285497 /protocols/Tox/libtox/src/toxcore/ping_array.h | |
parent | cb012794fa0ed74ed57607048dcafc6b06419ba7 (diff) |
fixes #2374 (Update libtox to 0.2.12)
Diffstat (limited to 'protocols/Tox/libtox/src/toxcore/ping_array.h')
-rw-r--r-- | protocols/Tox/libtox/src/toxcore/ping_array.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Tox/libtox/src/toxcore/ping_array.h b/protocols/Tox/libtox/src/toxcore/ping_array.h index 589573c80f..70c517de9e 100644 --- a/protocols/Tox/libtox/src/toxcore/ping_array.h +++ b/protocols/Tox/libtox/src/toxcore/ping_array.h @@ -39,14 +39,14 @@ struct Ping_Array *ping_array_new(uint32_t size, uint32_t timeout); /** * Free all the allocated memory in a Ping_Array. */ -void ping_array_kill(struct Ping_Array *_array); +void ping_array_kill(struct Ping_Array *array); /** * Add a data with length to the Ping_Array list and return a ping_id. * * @return ping_id on success, 0 on failure. */ -uint64_t ping_array_add(struct Ping_Array *_array, const struct Mono_Time *mono_time, const uint8_t *data, +uint64_t ping_array_add(struct Ping_Array *array, const struct Mono_Time *mono_time, const uint8_t *data, uint32_t length); /** @@ -56,7 +56,7 @@ uint64_t ping_array_add(struct Ping_Array *_array, const struct Mono_Time *mono_ * * @return length of data copied on success, -1 on failure. */ -int32_t ping_array_check(struct Ping_Array *_array, const struct Mono_Time *mono_time, uint8_t *data, size_t length, +int32_t ping_array_check(struct Ping_Array *array, const struct Mono_Time *mono_time, uint8_t *data, size_t length, uint64_t ping_id); #ifdef __cplusplus |