[][src]Crate libstrophe_sys_bindgen

libstrophe C library bindings

This crate provides bindings to libstrophe C library which enables you the creation of XMPP clients and servers. The bindings were statically generated using bindgen so the crate doesn't have a hard dependency on bindgen. If you still want to regenerate the bindings during building of the create, enable buildtime_bindgen feature.

Usage of this crate creates runtime dependency on libstrophe.so so be sure to install that using your package manager.

Current bindings were generated from libstrophe version: 0.9.3

The difference from libstrophe-sys crate is the this one is automatically generated hence easier to maintain.

This crate contains only C bindings, for Rust ergonomic interface see libstrophe crate.

Structs

_xmpp_conn_t
_xmpp_ctx_t
_xmpp_log_t
_xmpp_mem_t
_xmpp_sha1_t
_xmpp_stanza_t
xmpp_stream_error_t

Enums

xmpp_conn_event_t
xmpp_conn_type_t
xmpp_error_type_t
xmpp_log_level_t

Constants

XMPP_CONN_FLAG_DISABLE_TLS
XMPP_CONN_FLAG_LEGACY_AUTH
XMPP_CONN_FLAG_LEGACY_SSL
XMPP_CONN_FLAG_MANDATORY_TLS
XMPP_CONN_FLAG_TRUST_TLS
XMPP_EINT
XMPP_EINVOP
XMPP_EMEM
XMPP_EOK
XMPP_NS_AUTH
XMPP_NS_BIND
XMPP_NS_CLIENT
XMPP_NS_COMPONENT
XMPP_NS_DISCO_INFO
XMPP_NS_DISCO_ITEMS
XMPP_NS_REGISTER
XMPP_NS_ROSTER
XMPP_NS_SASL
XMPP_NS_SESSION
XMPP_NS_STANZAS_IETF
XMPP_NS_STREAMS
XMPP_NS_STREAMS_IETF
XMPP_NS_TLS
XMPP_SHA1_DIGEST_SIZE

Functions

xmpp_base64_decode_bin
xmpp_base64_decode_str
xmpp_base64_encode
xmpp_conn_clone
xmpp_conn_disable_tls
xmpp_conn_get_bound_jid
xmpp_conn_get_context
xmpp_conn_get_flags
xmpp_conn_get_jid
xmpp_conn_get_pass
xmpp_conn_is_connected
xmpp_conn_is_connecting
xmpp_conn_is_disconnected
xmpp_conn_is_secured
xmpp_conn_new
xmpp_conn_open_stream
xmpp_conn_open_stream_default
xmpp_conn_release
xmpp_conn_set_flags
xmpp_conn_set_jid
xmpp_conn_set_keepalive
xmpp_conn_set_pass
xmpp_conn_tls_start
xmpp_connect_client
xmpp_connect_component
xmpp_connect_raw
xmpp_ctx_free
xmpp_ctx_new
xmpp_ctx_set_timeout
xmpp_disconnect
xmpp_error_new
xmpp_free
xmpp_get_default_logger
xmpp_global_timed_handler_add
xmpp_global_timed_handler_delete
xmpp_handler_add
xmpp_handler_delete
xmpp_id_handler_add
xmpp_id_handler_delete
xmpp_initialize
xmpp_iq_new
xmpp_jid_bare
xmpp_jid_domain
xmpp_jid_new
xmpp_jid_node
xmpp_jid_resource
xmpp_message_get_body
xmpp_message_new
xmpp_message_set_body
xmpp_presence_new
xmpp_run
xmpp_run_once
xmpp_send
xmpp_send_error
xmpp_send_raw
xmpp_send_raw_string
xmpp_sha1
xmpp_sha1_digest
xmpp_sha1_final
xmpp_sha1_free
xmpp_sha1_new
xmpp_sha1_to_digest
xmpp_sha1_to_string
xmpp_sha1_to_string_alloc
xmpp_sha1_update
xmpp_shutdown
xmpp_stanza_add_child
xmpp_stanza_add_child_ex
xmpp_stanza_clone
xmpp_stanza_copy
xmpp_stanza_del_attribute
xmpp_stanza_get_attribute
xmpp_stanza_get_attribute_count
xmpp_stanza_get_attributes
xmpp_stanza_get_child_by_name
xmpp_stanza_get_child_by_name_and_ns
xmpp_stanza_get_child_by_ns
xmpp_stanza_get_children
xmpp_stanza_get_context
xmpp_stanza_get_from
xmpp_stanza_get_id
xmpp_stanza_get_name
xmpp_stanza_get_next
xmpp_stanza_get_ns
xmpp_stanza_get_text
xmpp_stanza_get_text_ptr
xmpp_stanza_get_to
xmpp_stanza_get_type
xmpp_stanza_is_tag
xmpp_stanza_is_text
xmpp_stanza_new
xmpp_stanza_new_from_string
xmpp_stanza_release
xmpp_stanza_reply
xmpp_stanza_reply_error
xmpp_stanza_set_attribute
xmpp_stanza_set_from
xmpp_stanza_set_id
xmpp_stanza_set_name
xmpp_stanza_set_ns
xmpp_stanza_set_text
xmpp_stanza_set_text_with_size
xmpp_stanza_set_to
xmpp_stanza_set_type
xmpp_stanza_to_text
xmpp_stop
xmpp_timed_handler_add
xmpp_timed_handler_delete
xmpp_uuid_gen
xmpp_version_check

Type Definitions

xmpp_conn_handler
xmpp_conn_t
xmpp_ctx_t
xmpp_global_timed_handler
xmpp_handler
xmpp_log_handler
xmpp_log_t
xmpp_mem_t
xmpp_sha1_t
xmpp_stanza_t
xmpp_timed_handler