aboutsummaryrefslogtreecommitdiff
path: root/src/arm/gnunet-service-arm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arm/gnunet-service-arm.h')
-rw-r--r--src/arm/gnunet-service-arm.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/arm/gnunet-service-arm.h b/src/arm/gnunet-service-arm.h
index bdb5d2c93..e8d125b92 100644
--- a/src/arm/gnunet-service-arm.h
+++ b/src/arm/gnunet-service-arm.h
@@ -35,8 +35,9 @@
35 * @param lsocks -1 terminated list of listen sockets to pass (systemd style), or NULL 35 * @param lsocks -1 terminated list of listen sockets to pass (systemd style), or NULL
36 * @return GNUNET_OK on success 36 * @return GNUNET_OK on success
37 */ 37 */
38int start_service (struct GNUNET_SERVER_Client *client, const char *servicename, 38int
39 const int *lsocks); 39start_service (struct GNUNET_SERVER_Client *client, const char *servicename,
40 const int *lsocks);
40 41
41/** 42/**
42 * Stop listening for connections to a service. 43 * Stop listening for connections to a service.
@@ -45,9 +46,10 @@ int start_service (struct GNUNET_SERVER_Client *client, const char *servicename,
45 * @return GNUNET_OK if we stopped to listen, GNUNET_NO if we were 46 * @return GNUNET_OK if we stopped to listen, GNUNET_NO if we were
46 * not listening 47 * not listening
47 */ 48 */
48int stop_listening (const char *serviceName); 49int
50stop_listening (const char *serviceName);
49 51
50void prepareServices (const struct GNUNET_CONFIGURATION_Handle 52void
51 *configurationHandle); 53prepareServices (const struct GNUNET_CONFIGURATION_Handle *configurationHandle);
52 54
53#endif 55#endif