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