X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/460b9539a7c15580e41a71bbc0f47ae776238915..f6033c46c877646b95bc2e99ce69097203bc5c77:/lib/client-common.c diff --git a/lib/client-common.c b/lib/client-common.c index 1e8fbac..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, @@ -83,4 +89,3 @@ fill-column:79 indent-tabs-mode:nil End: */ -/* arch-tag:NhE5Xyy+Tzv6rhKtZ1jNlg */