X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/763d5e6ad88ef3ba1cd1d7742d060e4f1e54c6b8..ba39faf632da43d64106536f256153c2092346e4:/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,