summaryrefslogtreecommitdiff
path: root/src/rexmpp_tcp.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-06-20Add Rust versions of the TCP module and of a few structuresdefanor