summaryrefslogtreecommitdiff
path: root/src/rexmpp.rs
AgeCommit message (Collapse)Author
2023-12-07Provide a callback after socket creation, use _Booldefanor
The callback is provided to set socket options, instead of individual options such as path_mtu_discovery (which is now removed). Noticed that the Rust rexmpp structure's C representation does not match that of C, since Rust's "bool" maps to C99's "_Bool", while I thought that it maps to "int" (c_int). Adjusted C structures to use "bool" from stdbool.h as well, since C99 (GNU99) is used already.
2023-11-17Implement MUC self-ping (XEP-0410)defanor
2023-10-07Use file descriptors instead of streams, update Rust sourcesdefanor
File descriptors tend to be easier to handle with FFI.
2023-09-24Move GnuTLS operations from Jingle module into TLS moduledefanor
2023-09-07Implement rexmpp_xml_eq in Rustdefanor
2023-09-07Build rexmpp_xml_t directly on SAX parsingdefanor
Afterwards it is used for the input queue, too.
2023-08-09Fix pingingdefanor
It was broken since commit 938963c1d1c6a9b929d28a90030332d4f397ca61, since seconds from monotonic clocks were compared to calendar ones. Now last_network_activity is a timespec, using monotonic clocks as well.
2023-06-20Add Rust versions of the TCP module and of a few structuresdefanor