Lines Matching refs:Tox

67 struct Tox {  struct
99 static void lock(const Tox *tox) in lock() argument
106 static void unlock(const Tox *tox) in unlock()
114 Tox *tox;
348 const Tox *tox = (const Tox *)outer; in state_load_callback()
371 static int tox_load(Tox *tox, const uint8_t *data, uint32_t length) in tox_load()
392 Tox *tox_new(const struct Tox_Options *options, Tox_Err_New *error) in tox_new()
394 Tox *tox = (Tox *)calloc(1, sizeof(Tox)); in tox_new()
617 void tox_kill(Tox *tox) in tox_kill()
648 size_t tox_get_savedata_size(const Tox *tox) in tox_get_savedata_size()
660 void tox_get_savedata(const Tox *tox, uint8_t *savedata) in tox_get_savedata()
687 bool tox_bootstrap(Tox *tox, const char *host, uint16_t port, const uint8_t *public_key, Tox_Err_Bo… in tox_bootstrap()
735 bool tox_add_tcp_relay(Tox *tox, const char *host, uint16_t port, const uint8_t *public_key, in tox_add_tcp_relay()
783 Tox_Connection tox_self_get_connection_status(const Tox *tox) in tox_self_get_connection_status()
802 void tox_callback_self_connection_status(Tox *tox, tox_self_connection_status_cb *callback) in tox_callback_self_connection_status()
808 uint32_t tox_iteration_interval(const Tox *tox) in tox_iteration_interval()
817 void tox_iterate(Tox *tox, void *user_data) in tox_iterate()
831 void tox_self_get_address(const Tox *tox, uint8_t *address) in tox_self_get_address()
842 void tox_self_set_nospam(Tox *tox, uint32_t nospam) in tox_self_set_nospam()
850 uint32_t tox_self_get_nospam(const Tox *tox) in tox_self_get_nospam()
859 void tox_self_get_public_key(const Tox *tox, uint8_t *public_key) in tox_self_get_public_key()
870 void tox_self_get_secret_key(const Tox *tox, uint8_t *secret_key) in tox_self_get_secret_key()
881 bool tox_self_set_name(Tox *tox, const uint8_t *name, size_t length, Tox_Err_Set_Info *error) in tox_self_set_name()
905 size_t tox_self_get_name_size(const Tox *tox) in tox_self_get_name_size()
914 void tox_self_get_name(const Tox *tox, uint8_t *name) in tox_self_get_name()
925 bool tox_self_set_status_message(Tox *tox, const uint8_t *status_message, size_t length, Tox_Err_Se… in tox_self_set_status_message()
947 size_t tox_self_get_status_message_size(const Tox *tox) in tox_self_get_status_message_size()
956 void tox_self_get_status_message(const Tox *tox, uint8_t *status_message) in tox_self_get_status_message()
967 void tox_self_set_status(Tox *tox, Tox_User_Status status) in tox_self_set_status()
975 Tox_User_Status tox_self_get_status(const Tox *tox) in tox_self_get_status()
1022 uint32_t tox_friend_add(Tox *tox, const uint8_t *address, const uint8_t *message, size_t length, in tox_friend_add()
1046 uint32_t tox_friend_add_norequest(Tox *tox, const uint8_t *public_key, Tox_Err_Friend_Add *error) in tox_friend_add_norequest()
1069 bool tox_friend_delete(Tox *tox, uint32_t friend_number, Tox_Err_Friend_Delete *error) in tox_friend_delete()
1086 uint32_t tox_friend_by_public_key(const Tox *tox, const uint8_t *public_key, Tox_Err_Friend_By_Publ… in tox_friend_by_public_key()
1108 bool tox_friend_get_public_key(const Tox *tox, uint32_t friend_number, uint8_t *public_key, in tox_friend_get_public_key()
1130 bool tox_friend_exists(const Tox *tox, uint32_t friend_number) in tox_friend_exists()
1139 uint64_t tox_friend_get_last_online(const Tox *tox, uint32_t friend_number, Tox_Err_Friend_Get_Last… in tox_friend_get_last_online()
1155 size_t tox_self_get_friend_list_size(const Tox *tox) in tox_self_get_friend_list_size()
1164 void tox_self_get_friend_list(const Tox *tox, uint32_t *friend_list) in tox_self_get_friend_list()
1176 size_t tox_friend_get_name_size(const Tox *tox, uint32_t friend_number, Tox_Err_Friend_Query *error) in tox_friend_get_name_size()
1192 bool tox_friend_get_name(const Tox *tox, uint32_t friend_number, uint8_t *name, Tox_Err_Friend_Quer… in tox_friend_get_name()
1214 void tox_callback_friend_name(Tox *tox, tox_friend_name_cb *callback) in tox_callback_friend_name()
1220 size_t tox_friend_get_status_message_size(const Tox *tox, uint32_t friend_number, Tox_Err_Friend_Qu… in tox_friend_get_status_message_size()
1236 bool tox_friend_get_status_message(const Tox *tox, uint32_t friend_number, uint8_t *status_message, in tox_friend_get_status_message()
1263 void tox_callback_friend_status_message(Tox *tox, tox_friend_status_message_cb *callback) in tox_callback_friend_status_message()
1269 Tox_User_Status tox_friend_get_status(const Tox *tox, uint32_t friend_number, Tox_Err_Friend_Query … in tox_friend_get_status()
1285 void tox_callback_friend_status(Tox *tox, tox_friend_status_cb *callback) in tox_callback_friend_status()
1291 Tox_Connection tox_friend_get_connection_status(const Tox *tox, uint32_t friend_number, Tox_Err_Fri… in tox_friend_get_connection_status()
1307 void tox_callback_friend_connection_status(Tox *tox, tox_friend_connection_status_cb *callback) in tox_callback_friend_connection_status()
1313 bool tox_friend_get_typing(const Tox *tox, uint32_t friend_number, Tox_Err_Friend_Query *error) in tox_friend_get_typing()
1329 void tox_callback_friend_typing(Tox *tox, tox_friend_typing_cb *callback) in tox_callback_friend_typing()
1335 bool tox_self_set_typing(Tox *tox, uint32_t friend_number, bool typing, Tox_Err_Set_Typing *error) in tox_self_set_typing()
1385 uint32_t tox_friend_send_message(Tox *tox, uint32_t friend_number, Tox_Message_Type type, const uin… in tox_friend_send_message()
1408 void tox_callback_friend_read_receipt(Tox *tox, tox_friend_read_receipt_cb *callback) in tox_callback_friend_read_receipt()
1414 void tox_callback_friend_request(Tox *tox, tox_friend_request_cb *callback) in tox_callback_friend_request()
1420 void tox_callback_friend_message(Tox *tox, tox_friend_message_cb *callback) in tox_callback_friend_message()
1436 bool tox_file_control(Tox *tox, uint32_t friend_number, uint32_t file_number, Tox_File_Control cont… in tox_file_control()
1487 bool tox_file_seek(Tox *tox, uint32_t friend_number, uint32_t file_number, uint64_t position, in tox_file_seek()
1531 void tox_callback_file_recv_control(Tox *tox, tox_file_recv_control_cb *callback) in tox_callback_file_recv_control()
1537 bool tox_file_get_file_id(const Tox *tox, uint32_t friend_number, uint32_t file_number, uint8_t *fi… in tox_file_get_file_id()
1565 uint32_t tox_file_send(Tox *tox, uint32_t friend_number, uint32_t kind, uint64_t file_size, const u… in tox_file_send()
1614 bool tox_file_send_chunk(Tox *tox, uint32_t friend_number, uint32_t file_number, uint64_t position,… in tox_file_send_chunk()
1661 void tox_callback_file_chunk_request(Tox *tox, tox_file_chunk_request_cb *callback) in tox_callback_file_chunk_request()
1667 void tox_callback_file_recv(Tox *tox, tox_file_recv_cb *callback) in tox_callback_file_recv()
1673 void tox_callback_file_recv_chunk(Tox *tox, tox_file_recv_chunk_cb *callback) in tox_callback_file_recv_chunk()
1679 void tox_callback_conference_invite(Tox *tox, tox_conference_invite_cb *callback) in tox_callback_conference_invite()
1685 void tox_callback_conference_connected(Tox *tox, tox_conference_connected_cb *callback) in tox_callback_conference_connected()
1691 void tox_callback_conference_message(Tox *tox, tox_conference_message_cb *callback) in tox_callback_conference_message()
1697 void tox_callback_conference_title(Tox *tox, tox_conference_title_cb *callback) in tox_callback_conference_title()
1703 void tox_callback_conference_peer_name(Tox *tox, tox_conference_peer_name_cb *callback) in tox_callback_conference_peer_name()
1709 void tox_callback_conference_peer_list_changed(Tox *tox, tox_conference_peer_list_changed_cb *callb… in tox_callback_conference_peer_list_changed()
1715 uint32_t tox_conference_new(Tox *tox, Tox_Err_Conference_New *error) in tox_conference_new()
1731 bool tox_conference_delete(Tox *tox, uint32_t conference_number, Tox_Err_Conference_Delete *error) in tox_conference_delete()
1747 uint32_t tox_conference_peer_count(const Tox *tox, uint32_t conference_number, Tox_Err_Conference_P… in tox_conference_peer_count()
1763 size_t tox_conference_peer_get_name_size(const Tox *tox, uint32_t conference_number, uint32_t peer_… in tox_conference_peer_get_name_size()
1785 bool tox_conference_peer_get_name(const Tox *tox, uint32_t conference_number, uint32_t peer_number,… in tox_conference_peer_get_name()
1807 bool tox_conference_peer_get_public_key(const Tox *tox, uint32_t conference_number, uint32_t peer_n… in tox_conference_peer_get_public_key()
1829 bool tox_conference_peer_number_is_ours(const Tox *tox, uint32_t conference_number, uint32_t peer_n… in tox_conference_peer_number_is_ours()
1855 uint32_t tox_conference_offline_peer_count(const Tox *tox, uint32_t conference_number, in tox_conference_offline_peer_count()
1872 size_t tox_conference_offline_peer_get_name_size(const Tox *tox, uint32_t conference_number, in tox_conference_offline_peer_get_name_size()
1895 bool tox_conference_offline_peer_get_name(const Tox *tox, uint32_t conference_number, uint32_t offl… in tox_conference_offline_peer_get_name()
1918 bool tox_conference_offline_peer_get_public_key(const Tox *tox, uint32_t conference_number, in tox_conference_offline_peer_get_public_key()
1941 uint64_t tox_conference_offline_peer_get_last_active(const Tox *tox, uint32_t conference_number, in tox_conference_offline_peer_get_last_active()
1966 bool tox_conference_set_max_offline(Tox *tox, uint32_t conference_number, in tox_conference_set_max_offline()
1984 bool tox_conference_invite(Tox *tox, uint32_t friend_number, uint32_t conference_number, in tox_conference_invite()
2010 uint32_t tox_conference_join(Tox *tox, uint32_t friend_number, const uint8_t *cookie, size_t length, in tox_conference_join()
2048 bool tox_conference_send_message(Tox *tox, uint32_t conference_number, Tox_Message_Type type, const… in tox_conference_send_message()
2085 size_t tox_conference_get_title_size(const Tox *tox, uint32_t conference_number, Tox_Err_Conference… in tox_conference_get_title_size()
2106 bool tox_conference_get_title(const Tox *tox, uint32_t conference_number, uint8_t *title, in tox_conference_get_title()
2128 bool tox_conference_set_title(Tox *tox, uint32_t conference_number, const uint8_t *title, size_t le… in tox_conference_set_title()
2154 size_t tox_conference_get_chatlist_size(const Tox *tox) in tox_conference_get_chatlist_size()
2163 void tox_conference_get_chatlist(const Tox *tox, uint32_t *chatlist) in tox_conference_get_chatlist()
2172 Tox_Conference_Type tox_conference_get_type(const Tox *tox, uint32_t conference_number, in tox_conference_get_type()
2190 bool tox_conference_get_id(const Tox *tox, uint32_t conference_number, uint8_t *id) in tox_conference_get_id()
2201 bool tox_conference_get_uid(const Tox *tox, uint32_t conference_number, uint8_t *uid) in tox_conference_get_uid()
2207 uint32_t tox_conference_by_id(const Tox *tox, const uint8_t *id, Tox_Err_Conference_By_Id *error) in tox_conference_by_id()
2230 uint32_t tox_conference_by_uid(const Tox *tox, const uint8_t *uid, Tox_Err_Conference_By_Uid *error) in tox_conference_by_uid()
2282 bool tox_friend_send_lossy_packet(Tox *tox, uint32_t friend_number, const uint8_t *data, size_t len… in tox_friend_send_lossy_packet()
2315 void tox_callback_friend_lossy_packet(Tox *tox, tox_friend_lossy_packet_cb *callback) in tox_callback_friend_lossy_packet()
2325 void tox_callback_friend_lossy_packet_per_pktid(Tox *tox, tox_friend_lossy_packet_cb *callback, uin… in tox_callback_friend_lossy_packet_per_pktid()
2334 bool tox_friend_send_lossless_packet(Tox *tox, uint32_t friend_number, const uint8_t *data, size_t … in tox_friend_send_lossless_packet()
2362 void tox_callback_friend_lossless_packet(Tox *tox, tox_friend_lossless_packet_cb *callback) in tox_callback_friend_lossless_packet()
2371 void tox_callback_friend_lossless_packet_per_pktid(Tox *tox, tox_friend_lossless_packet_cb *callbac… in tox_callback_friend_lossless_packet_per_pktid()
2381 void tox_self_get_dht_id(const Tox *tox, uint8_t *dht_id) in tox_self_get_dht_id()
2392 void tox_set_av_object(Tox *tox, void *object) in tox_set_av_object()
2400 void *tox_get_av_object(const Tox *tox) in tox_get_av_object()
2409 uint16_t tox_self_get_udp_port(const Tox *tox, Tox_Err_Get_Port *error) in tox_self_get_udp_port()
2425 uint16_t tox_self_get_tcp_port(const Tox *tox, Tox_Err_Get_Port *error) in tox_self_get_tcp_port()