move to new client API: remove old client API
[oweals/gnunet.git] / src / include / gnunet_service_lib.h
index 31abe0ab62238c0abdca0ad332193b9763ff20bc..75b8805304abafe6ff96b13f8f8243016693dd86 100644 (file)
@@ -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.