Crate libstrophe_sys_bindgen

Source
Expand description

§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 crate, 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.14.0

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

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

Structs§

__va_list_tag
_xmpp_conn_t
_xmpp_ctx_t
_xmpp_log_t
_xmpp_mem_t
_xmpp_rand_t
_xmpp_sha1_t
_xmpp_sm_t
_xmpp_stanza_t
_xmpp_tlscert_t
xmpp_stream_error_t

Enums§

xmpp_cert_element_t
xmpp_conn_event_t
xmpp_conn_type_t
xmpp_error_type_t
xmpp_log_level_t
xmpp_queue_element_t

Constants§

XMPP_CONN_FLAG_COMPRESSION_DONT_RESET
XMPP_CONN_FLAG_DISABLE_SM
XMPP_CONN_FLAG_DISABLE_TLS
XMPP_CONN_FLAG_ENABLE_COMPRESSION
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_COMPRESSION
XMPP_NS_DISCO_INFO
XMPP_NS_DISCO_ITEMS
XMPP_NS_FEATURE_COMPRESSION
XMPP_NS_REGISTER
XMPP_NS_ROSTER
XMPP_NS_SASL
XMPP_NS_SESSION
XMPP_NS_SM
XMPP_NS_STANZAS_IETF
XMPP_NS_STREAMS
XMPP_NS_STREAMS_IETF
XMPP_NS_TLS
XMPP_SHA1_DIGEST_SIZE

Functions§

xmpp_alloc
xmpp_base64_decode_bin
xmpp_base64_decode_str
xmpp_base64_encode
xmpp_conn_cert_xmppaddr
xmpp_conn_cert_xmppaddr_num
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_keyfile
xmpp_conn_get_pass
xmpp_conn_get_peer_cert
xmpp_conn_get_sm_state
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_restore_sm_state
xmpp_conn_send_queue_drop_element
xmpp_conn_send_queue_len
xmpp_conn_set_cafile
xmpp_conn_set_capath
xmpp_conn_set_certfail_handler
xmpp_conn_set_client_cert
xmpp_conn_set_flags
xmpp_conn_set_jid
xmpp_conn_set_keepalive
xmpp_conn_set_pass
xmpp_conn_set_password_callback
xmpp_conn_set_password_retries
xmpp_conn_set_sm_callback
xmpp_conn_set_sm_state
xmpp_conn_set_sockopt_callback
xmpp_conn_tls_start
xmpp_connect_client
xmpp_connect_component
xmpp_connect_raw
xmpp_ctx_free
xmpp_ctx_new
xmpp_ctx_set_timeout
xmpp_ctx_set_verbosity
xmpp_debug
xmpp_debug_verbose
xmpp_disconnect
xmpp_error
xmpp_error_new
xmpp_free
xmpp_free_sm_state
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_info
xmpp_initialize
xmpp_iq_new
xmpp_jid_bare
xmpp_jid_domain
xmpp_jid_new
xmpp_jid_node
xmpp_jid_resource
xmpp_log
xmpp_message_get_body
xmpp_message_new
xmpp_message_set_body
xmpp_presence_new
xmpp_rand
xmpp_rand_bytes
xmpp_rand_free
xmpp_rand_new
xmpp_rand_nonce
xmpp_realloc
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_snprintf
xmpp_sockopt_cb_keepalive
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_child_by_path
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_strdup
xmpp_strndup
xmpp_strtok_r
xmpp_timed_handler_add
xmpp_timed_handler_delete
xmpp_tlscert_free
xmpp_tlscert_get_conn
xmpp_tlscert_get_ctx
xmpp_tlscert_get_description
xmpp_tlscert_get_dnsname
xmpp_tlscert_get_pem
xmpp_tlscert_get_string
xmpp_uuid_gen
xmpp_version_check
xmpp_vsnprintf
xmpp_warn

Type Aliases§

__blkcnt64_t
__blkcnt_t
__blksize_t
__builtin_va_list
__caddr_t
__clock_t
__clockid_t
__daddr_t
__dev_t
__fsblkcnt64_t
__fsblkcnt_t
__fsfilcnt64_t
__fsfilcnt_t
__fsword_t
__gid_t
__gnuc_va_list
__id_t
__ino64_t
__ino_t
__int8_t
__int16_t
__int32_t
__int64_t
__int_least8_t
__int_least16_t
__int_least32_t
__int_least64_t
__intmax_t
__intptr_t
__key_t
__loff_t
__mode_t
__nlink_t
__off64_t
__off_t
__pid_t
__quad_t
__rlim64_t
__rlim_t
__sig_atomic_t
__socklen_t
__ssize_t
__suseconds64_t
__suseconds_t
__syscall_slong_t
__syscall_ulong_t
__time_t
__timer_t
__u_char
__u_int
__u_long
__u_quad_t
__u_short
__uid_t
__uint8_t
__uint16_t
__uint32_t
__uint64_t
__uint_least8_t
__uint_least16_t
__uint_least32_t
__uint_least64_t
__uintmax_t
__useconds_t
int_fast8_t
int_fast16_t
int_fast32_t
int_fast64_t
int_least8_t
int_least16_t
int_least32_t
int_least64_t
intmax_t
uint_fast8_t
uint_fast16_t
uint_fast32_t
uint_fast64_t
uint_least8_t
uint_least16_t
uint_least32_t
uint_least64_t
uintmax_t
va_list
xmpp_certfail_handler
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_password_callback
xmpp_rand_t
xmpp_sha1_t
xmpp_sm_callback
xmpp_sm_state_t
xmpp_sockopt_callback
xmpp_stanza_t
xmpp_timed_handler
xmpp_tlscert_t