X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/763d5e6ad88ef3ba1cd1d7742d060e4f1e54c6b8..d76cf88cd996f286bbace99a149ce16c50c2f852:/lib/client-common.c diff --git a/lib/client-common.c b/lib/client-common.c index c2dfe02..e1fcce9 100644 --- a/lib/client-common.c +++ b/lib/client-common.c @@ -34,6 +34,12 @@ #include "client-common.h" #include "addr.h" +/** @brief Invoke a function with the connect address + * @param c Passed to callback + * @param function Function to call + * + * Calls @p function with the result of looking up the connect address. + */ int with_sockaddr(void *c, int (*function)(void *c, const struct sockaddr *sa,