From daaf913352faafac1e1a1642ea126b8a1c6777a5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 21 Oct 2016 22:25:27 +0000 Subject: [PATCH] new service API will no longer export this function --- src/include/gnunet_service_lib.h | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/src/include/gnunet_service_lib.h b/src/include/gnunet_service_lib.h index 31abe0ab6..75b880530 100644 --- a/src/include/gnunet_service_lib.h +++ b/src/include/gnunet_service_lib.h @@ -48,33 +48,6 @@ extern "C" #include "gnunet_mq_lib.h" -/** - * Get the list of addresses that a server for the given service - * should bind to. - * - * @param service_name name of the service - * @param cfg configuration (which specifies the addresses) - * @param addrs set (call by reference) to an array of pointers to the - * addresses the server should bind to and listen on; the - * array will be NULL-terminated (on success) - * @param addr_lens set (call by reference) to an array of the lengths - * of the respective `struct sockaddr` struct in the @a addrs - * array (on success) - * @return number of addresses found on success, - * #GNUNET_SYSERR if the configuration - * did not specify reasonable finding information or - * if it specified a hostname that could not be resolved; - * #GNUNET_NO if the number of addresses configured is - * zero (in this case, '* @a addrs' and '* @a addr_lens' will be - * set to NULL). - */ -int -GNUNET_SERVICE_get_server_addresses (const char *service_name, - const struct GNUNET_CONFIGURATION_Handle *cfg, - struct sockaddr ***addrs, - socklen_t **addr_lens); - - /** * Function called by the service's run * method to run service-specific setup code. -- 2.25.1