diff options
Diffstat (limited to 'src/include/gnunet_service_lib.h')
-rw-r--r-- | src/include/gnunet_service_lib.h | 9 |
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 | */ |
79 | typedef void (*GNUNET_SERVICE_Main) (void *cls, | 79 | typedef 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 | /** |