diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-09-10 20:29:30 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-09-10 20:29:30 +0000 |
commit | 9b11e2e558cdee65b42ffd56601488ec3cbce534 (patch) | |
tree | cfac16c5acaf8c34350246e08c04960b8d9ae356 /protocols/Tox/tox/include | |
parent | b8a7168685627ff4ea79dcaf3d917f6b40a23f3b (diff) |
Tox:
- reworked searching
- updated tox core
- updated icon
git-svn-id: http://svn.miranda-ng.org/main/trunk@10423 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/tox/include')
-rw-r--r-- | protocols/Tox/tox/include/toxav.h | 4 | ||||
-rw-r--r-- | protocols/Tox/tox/include/toxdns.h | 10 |
2 files changed, 11 insertions, 3 deletions
diff --git a/protocols/Tox/tox/include/toxav.h b/protocols/Tox/tox/include/toxav.h index e31c7aad1f..34c8be5d25 100644 --- a/protocols/Tox/tox/include/toxav.h +++ b/protocols/Tox/tox/include/toxav.h @@ -167,7 +167,7 @@ void toxav_kill(ToxAv *av); void toxav_register_callstate_callback (ToxAv *av, ToxAVCallback callback, ToxAvCallbackID id, void *userdata); /** - * @brief Register callback for recieving audio data + * @brief Register callback for receiving audio data * * @param av Handler. * @param callback The callback @@ -177,7 +177,7 @@ void toxav_register_audio_recv_callback (ToxAv *av, void (*callback)(ToxAv *, in void *user_data); /** - * @brief Register callback for recieving video data + * @brief Register callback for receiving video data * * @param av Handler. * @param callback The callback diff --git a/protocols/Tox/tox/include/toxdns.h b/protocols/Tox/tox/include/toxdns.h index a0cc323b43..1ecba978e4 100644 --- a/protocols/Tox/tox/include/toxdns.h +++ b/protocols/Tox/tox/include/toxdns.h @@ -26,6 +26,10 @@ #include <stdint.h> +#ifdef __cplusplus +extern "C" { +#endif + /* How to use this api to make secure tox dns3 requests: * * 1. Get the public key of a server that supports tox dns3. @@ -61,7 +65,7 @@ void tox_dns3_kill(void *dns3_object); * This is what the string returned looks like: * 4haaaaipr1o3mz0bxweox541airydbovqlbju51mb4p0ebxq.rlqdj4kkisbep2ks3fj2nvtmk4daduqiueabmexqva1jc * - * returns length of string on sucess. + * returns length of string on success. * returns -1 on failure. */ int tox_generate_dns3_string(void *dns3_object, uint8_t *string, uint16_t string_max_len, uint32_t *request_id, @@ -82,4 +86,8 @@ int tox_generate_dns3_string(void *dns3_object, uint8_t *string, uint16_t string int tox_decrypt_dns3_TXT(void *dns3_object, uint8_t *tox_id, uint8_t *id_record, uint32_t id_record_len, uint32_t request_id); +#ifdef __cplusplus +} +#endif + #endif |