aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_service_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-10-21 22:25:27 +0000
committerChristian Grothoff <christian@grothoff.org>2016-10-21 22:25:27 +0000
commitdaaf913352faafac1e1a1642ea126b8a1c6777a5 (patch)
tree93589907d29364edce66fa13a0db7b864e7e2fba /src/include/gnunet_service_lib.h
parent89809e9bdb637537c832c775bb3c2d03b6562b79 (diff)
downloadgnunet-daaf913352faafac1e1a1642ea126b8a1c6777a5.tar.gz
gnunet-daaf913352faafac1e1a1642ea126b8a1c6777a5.zip
new service API will no longer export this function
Diffstat (limited to 'src/include/gnunet_service_lib.h')
-rw-r--r--src/include/gnunet_service_lib.h27
1 files changed, 0 insertions, 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
@@ -49,33 +49,6 @@ extern "C"
49 49
50 50
51/** 51/**
52 * Get the list of addresses that a server for the given service
53 * should bind to.
54 *
55 * @param service_name name of the service
56 * @param cfg configuration (which specifies the addresses)
57 * @param addrs set (call by reference) to an array of pointers to the
58 * addresses the server should bind to and listen on; the
59 * array will be NULL-terminated (on success)
60 * @param addr_lens set (call by reference) to an array of the lengths
61 * of the respective `struct sockaddr` struct in the @a addrs
62 * array (on success)
63 * @return number of addresses found on success,
64 * #GNUNET_SYSERR if the configuration
65 * did not specify reasonable finding information or
66 * if it specified a hostname that could not be resolved;
67 * #GNUNET_NO if the number of addresses configured is
68 * zero (in this case, '* @a addrs' and '* @a addr_lens' will be
69 * set to NULL).
70 */
71int
72GNUNET_SERVICE_get_server_addresses (const char *service_name,
73 const struct GNUNET_CONFIGURATION_Handle *cfg,
74 struct sockaddr ***addrs,
75 socklen_t **addr_lens);
76
77
78/**
79 * Function called by the service's run 52 * Function called by the service's run
80 * method to run service-specific setup code. 53 * method to run service-specific setup code.
81 * 54 *