aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_service_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-07 14:05:06 +0000
committerChristian Grothoff <christian@grothoff.org>2015-01-07 14:05:06 +0000
commitf7779acffd50d74b0fd309dd962f96c012034339 (patch)
tree4acdf658f3bd2b63a5c61d5a4c370a3745a315bf /src/include/gnunet_service_lib.h
parentf3e4e62791a032420892a4f947125cf1aceb2c36 (diff)
downloadgnunet-f7779acffd50d74b0fd309dd962f96c012034339.tar.gz
gnunet-f7779acffd50d74b0fd309dd962f96c012034339.zip
-simplify apis, doxygen
Diffstat (limited to 'src/include/gnunet_service_lib.h')
-rw-r--r--src/include/gnunet_service_lib.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/include/gnunet_service_lib.h b/src/include/gnunet_service_lib.h
index d7a798bc2..869e8c898 100644
--- a/src/include/gnunet_service_lib.h
+++ b/src/include/gnunet_service_lib.h
@@ -51,7 +51,7 @@ extern "C"
51 * addresses the server should bind to and listen on; the 51 * addresses the server should bind to and listen on; the
52 * array will be NULL-terminated (on success) 52 * array will be NULL-terminated (on success)
53 * @param addr_lens set (call by reference) to an array of the lengths 53 * @param addr_lens set (call by reference) to an array of the lengths
54 * of the respective 'struct sockaddr' struct in the @a addrs 54 * of the respective `struct sockaddr` struct in the @a addrs
55 * array (on success) 55 * array (on success)
56 * @return number of addresses found on success, 56 * @return number of addresses found on success,
57 * #GNUNET_SYSERR if the configuration 57 * #GNUNET_SYSERR if the configuration
@@ -76,9 +76,10 @@ GNUNET_SERVICE_get_server_addresses (const char *service_name,
76 * @param server the initialized server 76 * @param server the initialized server
77 * @param cfg configuration to use 77 * @param cfg configuration to use
78 */ 78 */
79typedef void (*GNUNET_SERVICE_Main) (void *cls, 79typedef void
80 struct GNUNET_SERVER_Handle *server, 80(*GNUNET_SERVICE_Main) (void *cls,
81 const struct GNUNET_CONFIGURATION_Handle *cfg); 81 struct GNUNET_SERVER_Handle *server,
82 const struct GNUNET_CONFIGURATION_Handle *cfg);
82 83
83 84
84/** 85/**