Lines Matching refs:Tox_Options

544 struct Tox_Options {  struct
697 bool tox_options_get_ipv6_enabled(const struct Tox_Options *options); argument
699 void tox_options_set_ipv6_enabled(struct Tox_Options *options, bool ipv6_enabled);
701 bool tox_options_get_udp_enabled(const struct Tox_Options *options);
703 void tox_options_set_udp_enabled(struct Tox_Options *options, bool udp_enabled);
705 bool tox_options_get_local_discovery_enabled(const struct Tox_Options *options);
707 void tox_options_set_local_discovery_enabled(struct Tox_Options *options, bool local_discovery_enab…
709 TOX_PROXY_TYPE tox_options_get_proxy_type(const struct Tox_Options *options);
711 void tox_options_set_proxy_type(struct Tox_Options *options, TOX_PROXY_TYPE type);
713 const char *tox_options_get_proxy_host(const struct Tox_Options *options);
715 void tox_options_set_proxy_host(struct Tox_Options *options, const char *host);
717 uint16_t tox_options_get_proxy_port(const struct Tox_Options *options);
719 void tox_options_set_proxy_port(struct Tox_Options *options, uint16_t port);
721 uint16_t tox_options_get_start_port(const struct Tox_Options *options);
723 void tox_options_set_start_port(struct Tox_Options *options, uint16_t start_port);
725 uint16_t tox_options_get_end_port(const struct Tox_Options *options);
727 void tox_options_set_end_port(struct Tox_Options *options, uint16_t end_port);
729 uint16_t tox_options_get_tcp_port(const struct Tox_Options *options);
731 void tox_options_set_tcp_port(struct Tox_Options *options, uint16_t tcp_port);
733 bool tox_options_get_hole_punching_enabled(const struct Tox_Options *options);
735 void tox_options_set_hole_punching_enabled(struct Tox_Options *options, bool hole_punching_enabled);
737 TOX_SAVEDATA_TYPE tox_options_get_savedata_type(const struct Tox_Options *options);
739 void tox_options_set_savedata_type(struct Tox_Options *options, TOX_SAVEDATA_TYPE type);
741 const uint8_t *tox_options_get_savedata_data(const struct Tox_Options *options);
743 void tox_options_set_savedata_data(struct Tox_Options *options, const uint8_t *data, size_t length);
745 size_t tox_options_get_savedata_length(const struct Tox_Options *options);
747 void tox_options_set_savedata_length(struct Tox_Options *options, size_t length);
749 tox_log_cb *tox_options_get_log_callback(const struct Tox_Options *options);
751 void tox_options_set_log_callback(struct Tox_Options *options, tox_log_cb *callback);
753 void *tox_options_get_log_user_data(const struct Tox_Options *options);
755 void tox_options_set_log_user_data(struct Tox_Options *options, void *user_data);
757 bool tox_options_get_experimental_thread_safety(const struct Tox_Options *options);
759 void tox_options_set_experimental_thread_safety(struct Tox_Options *options, bool thread_safety);
772 void tox_options_default(struct Tox_Options *options);
799 struct Tox_Options *tox_options_new(TOX_ERR_OPTIONS_NEW *error);
807 void tox_options_free(struct Tox_Options *options);
897 Tox *tox_new(const struct Tox_Options *options, TOX_ERR_NEW *error);