summaryrefslogtreecommitdiff
path: root/src/rexmpp_dns.h
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-14Use more pointers to other structures from struct rexmppdefanor
Instead of including them. Those structures can vary depending on configuration options, while for bindings it is easier if they stay the same, and are mere pointers. Besides, some of them may refer to opaque Rust-only structures in the future.
2023-05-02Use timespec and monotonic clock for timersdefanor
2021-09-22Update doxygen docsdefanor
2021-09-22Reintroduce c-ares as an option for DNS lookupsdefanor
2021-09-21Make libunbound optionaldefanor
Just use gethostbyname when it's disabled. Possibly will add c-ares, getaddrinfo_a, and other options in the future.
2020-11-26Propagate more errors backdefanor
Still not certain whether rexmpp_run should return anything other than REXMPP_E_AGAIN and REXMPP_E_SUCCESS, since the library handles reconnects, but perhaps some errors could be critical. It should be sorted out in the future.
2020-11-14Remove the c-ares dependencydefanor