[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r38180 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r38180 - gnunet/src/include |
Date: |
Sat, 22 Oct 2016 00:25:27 +0200 |
Author: grothoff
Date: 2016-10-22 00:25:27 +0200 (Sat, 22 Oct 2016)
New Revision: 38180
Modified:
gnunet/src/include/gnunet_service_lib.h
Log:
new service API will no longer export this function
Modified: gnunet/src/include/gnunet_service_lib.h
===================================================================
--- gnunet/src/include/gnunet_service_lib.h 2016-10-21 22:24:53 UTC (rev
38179)
+++ gnunet/src/include/gnunet_service_lib.h 2016-10-21 22:25:27 UTC (rev
38180)
@@ -49,33 +49,6 @@
/**
- * 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.
*
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r38180 - gnunet/src/include,
gnunet <=