mosquittod.api

Undocumented in source.

Members

Functions

cleanupMosquittoLib
void cleanupMosquittoLib()
initMosquittoLib
int initMosquittoLib(LoadApiSymbolsVerbose verb)
mosquittoLibVersion
int[3] mosquittoLibVersion()
mosquitto_connack_string
const(char)* mosquitto_connack_string(int connack_code)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_connect
int mosquitto_connect(mosquitto* mosq, const(char)* host, int port, int keepalive)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_connect_async
int mosquitto_connect_async(mosquitto* mosq, const(char)* host, int port, int keepalive)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_connect_bind
int mosquitto_connect_bind(mosquitto* mosq, const(char)* host, int port, int keepalive, const(char)* bind_address)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_connect_bind_async
int mosquitto_connect_bind_async(mosquitto* mosq, const(char)* host, int port, int keepalive, const(char)* bind_address)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_connect_bind_v5
int mosquitto_connect_bind_v5(mosquitto* mosq, const(char)* host, int port, int keepalive, const(char)* bind_address, mosquitto_property* prop)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_connect_callback_set
void mosquitto_connect_callback_set(mosquitto* mosq, mosq_base_callback on_connect)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_connect_srv
int mosquitto_connect_srv(mosquitto* mosq, const(char)* host, int keepalive, const(char)* bind_address)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_connect_v5_callback_set
void mosquitto_connect_v5_callback_set(mosquitto* mosq, mosq_v5_base2_callback on_connect)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_connect_with_flags_callback_set
void mosquitto_connect_with_flags_callback_set(mosquitto* mosq, mosq_wf_callback on_connect)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_destroy
void mosquitto_destroy(mosquitto* mosq)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_disconnect
int mosquitto_disconnect(mosquitto* mosq)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_disconnect_callback_set
void mosquitto_disconnect_callback_set(mosquitto* mosq, mosq_base_callback on_disconnect)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_disconnect_v5
int mosquitto_disconnect_v5(mosquitto* mosq, int reason, mosquitto_property* prop)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_disconnect_v5_callback_set
void mosquitto_disconnect_v5_callback_set(mosquitto* mosq, mosq_v5_base1_callback on_disconnect)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_int_option
int mosquitto_int_option(mosquitto* mosq, MOSQ_OPT option, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_lib_cleanup
int mosquitto_lib_cleanup()
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_lib_init
int mosquitto_lib_init()
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_lib_version
int mosquitto_lib_version(int* major, int* minor, int* revision)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_log_callback_set
void mosquitto_log_callback_set(mosquitto* mosq, mosq_log_callback on_log)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_loop
int mosquitto_loop(mosquitto* mosq, int timeout, int max_packets)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_loop_forever
int mosquitto_loop_forever(mosquitto* mosq, int timeout, int max_packets)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_loop_misc
int mosquitto_loop_misc(mosquitto* mosq)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_loop_read
int mosquitto_loop_read(mosquitto* mosq, int max_packets)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_loop_start
int mosquitto_loop_start(mosquitto* mosq)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_loop_stop
int mosquitto_loop_stop(mosquitto* mosq, bool force)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_loop_write
int mosquitto_loop_write(mosquitto* mosq, int max_packets)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_message_callback_set
void mosquitto_message_callback_set(mosquitto* mosq, mosq_msg_callback on_message)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_message_copy
int mosquitto_message_copy(mosquitto_message* dst, mosquitto_message* src)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_message_free
void mosquitto_message_free(mosquitto_message** message)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_message_free_contents
void mosquitto_message_free_contents(mosquitto_message* message)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_message_v5_callback_set
void mosquitto_message_v5_callback_set(mosquitto* mosq, mosq_v5_msg_callback on_message)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_new
mosquitto* mosquitto_new(const(char)* id, bool clean_session, void* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_property_add_binary
int mosquitto_property_add_binary(mosquitto_property** proplist, int identifier, const(void)* value, ushort len)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_property_add_byte
int mosquitto_property_add_byte(mosquitto_property** proplist, int identifier, ubyte value)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_property_add_int16
int mosquitto_property_add_int16(mosquitto_property** proplist, int identifier, ushort value)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_property_add_int32
int mosquitto_property_add_int32(mosquitto_property** proplist, int identifier, uint value)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_property_add_string
int mosquitto_property_add_string(mosquitto_property** proplist, int identifier, const(char)* value)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_property_add_string_pair
int mosquitto_property_add_string_pair(mosquitto_property** proplist, int identifier, const(char)* name, const(char)* value)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_property_add_varint
int mosquitto_property_add_varint(mosquitto_property** proplist, int identifier, uint value)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_property_check_all
int mosquitto_property_check_all(int command, mosquitto_property* properties)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_property_check_command
int mosquitto_property_check_command(int command, int identifier)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_property_copy_all
int mosquitto_property_copy_all(mosquitto_property** dest, mosquitto_property* src)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_property_free_all
void mosquitto_property_free_all(mosquitto_property** properties)
Undocumented in source.
mosquitto_property_read_binary
const(mosquitto_property)* mosquitto_property_read_binary(mosquitto_property* proplist, int identifier, void** value, ushort* len, bool skip_first)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_property_read_byte
const(mosquitto_property)* mosquitto_property_read_byte(mosquitto_property* proplist, int identifier, ubyte* value, bool skip_first)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_property_read_int16
const(mosquitto_property)* mosquitto_property_read_int16(mosquitto_property* proplist, int identifier, ushort* value, bool skip_first)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_property_read_int32
const(mosquitto_property)* mosquitto_property_read_int32(mosquitto_property* proplist, int identifier, uint* value, bool skip_first)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_property_read_string
const(mosquitto_property)* mosquitto_property_read_string(mosquitto_property* proplist, int identifier, char** value, bool skip_first)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_property_read_string_pair
const(mosquitto_property)* mosquitto_property_read_string_pair(mosquitto_property* proplist, int identifier, char** name, char** value, bool skip_first)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_property_read_varint
const(mosquitto_property)* mosquitto_property_read_varint(mosquitto_property* proplist, int identifier, uint* value, bool skip_first)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_pub_topic_check
int mosquitto_pub_topic_check(const(char)* topic)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_pub_topic_check2
int mosquitto_pub_topic_check2(const(char)* topic, size_t topiclen)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_publish
int mosquitto_publish(mosquitto* mosq, int* mid, const(char)* topic, int payloadlen, const(void)* payload, int qos, bool retain)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_publish_callback_set
void mosquitto_publish_callback_set(mosquitto* mosq, mosq_base_callback on_publish)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_publish_v5
int mosquitto_publish_v5(mosquitto* mosq, int* mid, const(char)* topic, int payloadlen, const(void)* payload, int qos, bool retain, mosquitto_property* prop)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_publish_v5_callback_set
void mosquitto_publish_v5_callback_set(mosquitto* mosq, mosq_v5_base2_callback on_publish)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_reason_string
const(char)* mosquitto_reason_string(int reason_code)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_reconnect
int mosquitto_reconnect(mosquitto* mosq)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_reconnect_async
int mosquitto_reconnect_async(mosquitto* mosq)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_reconnect_delay_set
int mosquitto_reconnect_delay_set(mosquitto* mosq, uint reconnect_delay, uint reconnect_delay_max, bool reconnect_exponential_backoff)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_reinitialise
int mosquitto_reinitialise(mosquitto* mosq, const(char)* id, bool clean_session, void* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_socket
int mosquitto_socket(mosquitto* mosq)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_socks5_set
int mosquitto_socks5_set(mosquitto* mosq, const(char)* host, int port, const(char)* username, const(char)* password)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_strerror
const(char)* mosquitto_strerror(int mosq_errno)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_string_option
int mosquitto_string_option(mosquitto* mosq, MOSQ_OPT option, const(char)* value)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_string_to_command
int mosquitto_string_to_command(const(char)* str, int* cmd)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_string_to_property_info
int mosquitto_string_to_property_info(const(char)* propname, int* identifier, int* type)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_sub_topic_check
int mosquitto_sub_topic_check(const(char)* topic)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_sub_topic_check2
int mosquitto_sub_topic_check2(const(char)* topic, size_t topiclen)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_sub_topic_tokenise
int mosquitto_sub_topic_tokenise(const(char)* subtopic, char*** topics, int* count)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_sub_topic_tokens_free
int mosquitto_sub_topic_tokens_free(char*** topics, int count)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_subscribe
int mosquitto_subscribe(mosquitto* mosq, int* mid, const(char)* sub, int qos)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_subscribe_callback
int mosquitto_subscribe_callback(mosq_msg_callback callback, void* userdata, const(char)* topic, int qos, const(char)* host, int port, const(char)* client_id, int keepalive, bool clean_session, const(char)* username, const(char)* password, libmosquitto_will* will, libmosquitto_tls* tls)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_subscribe_callback_set
void mosquitto_subscribe_callback_set(mosquitto* mosq, mosq_sub_callback on_subscribe)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_subscribe_multiple
int mosquitto_subscribe_multiple(mosquitto* mosq, int* mid, int sub_count, const(char)** sub, int qos, int options, mosquitto_property* prop)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_subscribe_simple
int mosquitto_subscribe_simple(mosquitto_message** messages, int msg_count, bool want_retained, const(char)* topic, int qos, const(char)* host, int port, const(char)* client_id, int keepalive, bool clean_session, const(char)* username, const(char)* password, libmosquitto_will* will, libmosquitto_tls* tls)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_subscribe_v5
int mosquitto_subscribe_v5(mosquitto* mosq, int* mid, const(char)* sub, int qos, mosquitto_property* prop)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_subscribe_v5_callback_set
void mosquitto_subscribe_v5_callback_set(mosquitto* mosq, mosq_v5_sub_callback on_subscribe)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_threaded_set
int mosquitto_threaded_set(mosquitto* mosq, bool threaded)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_tls_insecure_set
int mosquitto_tls_insecure_set(mosquitto* mosq, bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_tls_opts_set
int mosquitto_tls_opts_set(mosquitto* mosq, int cert_reqs, const(char)* tls_version, const(char)* ciphers)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_tls_psk_set
int mosquitto_tls_psk_set(mosquitto* mosq, const(char)* psk, const(char)* identity, const(char)* ciphers)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_tls_set
int mosquitto_tls_set(mosquitto* mosq, const(char)* cafile, const(char)* capath, const(char)* certfile, const(char)* keyfile, mosq_tls_callback pw_callback)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_topic_matches_sub
int mosquitto_topic_matches_sub(const(char)* sub, const(char)* topic, bool* result)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_topic_matches_sub2
int mosquitto_topic_matches_sub2(const(char)* sub, size_t sublen, const(char)* topic, size_t topiclen, bool* result)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_unsubscribe
int mosquitto_unsubscribe(mosquitto* mosq, int* mid, const(char)* sub)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_unsubscribe_callback_set
void mosquitto_unsubscribe_callback_set(mosquitto* mosq, mosq_base_callback on_unsubscribe)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_unsubscribe_multiple
int mosquitto_unsubscribe_multiple(mosquitto* mosq, int* mid, int sub_count, const(char)** sub, mosquitto_property* prop)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_unsubscribe_v5
int mosquitto_unsubscribe_v5(mosquitto* mosq, int* mid, const(char)* sub, mosquitto_property* prop)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_unsubscribe_v5_callback_set
void mosquitto_unsubscribe_v5_callback_set(mosquitto* mosq, mosq_v5_base1_callback on_unsubscribe)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_user_data_set
void mosquitto_user_data_set(mosquitto* mosq, void* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_userdata
void* mosquitto_userdata(mosquitto* mosq)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_username_pw_set
int mosquitto_username_pw_set(mosquitto* mosq, const(char)* username, const(char)* password)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_validate_utf8
int mosquitto_validate_utf8(const(char)* str, int len)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_void_option
int mosquitto_void_option(mosquitto* mosq, MOSQ_OPT option, void* value)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_want_write
bool mosquitto_want_write(mosquitto* mosq)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_will_clear
int mosquitto_will_clear(mosquitto* mosq)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_will_set
int mosquitto_will_set(mosquitto* mosq, const(char)* topic, int payloadlen, const(void)* payload, int qos, bool retain)
Undocumented in source. Be warned that the author may not have intended to support it.
mosquitto_will_set_v5
int mosquitto_will_set_v5(mosquitto* mosq, const(char)* topic, int payloadlen, const(void)* payload, int qos, bool retain, mosquitto_property* prop)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin SSLL_INIT
Undocumented in source.

Meta