diff options
Diffstat (limited to 'src/arm/gnunet-service-arm.h')
-rw-r--r-- | src/arm/gnunet-service-arm.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/arm/gnunet-service-arm.h b/src/arm/gnunet-service-arm.h index 77dfb8c6c..632b46b09 100644 --- a/src/arm/gnunet-service-arm.h +++ b/src/arm/gnunet-service-arm.h | |||
@@ -27,8 +27,17 @@ | |||
27 | #ifndef GNUNET_SERVICE_ARM__H | 27 | #ifndef GNUNET_SERVICE_ARM__H |
28 | #define GNUNET_SERVICE_ARM__H | 28 | #define GNUNET_SERVICE_ARM__H |
29 | 29 | ||
30 | void start_service (struct GNUNET_SERVER_Client *client, | 30 | /** |
31 | const char *servicename); | 31 | * Start the specified service. |
32 | * | ||
33 | * @param client who is asking for this | ||
34 | * @param servicename name of the service to start | ||
35 | * @param lsocks -1 terminated list of listen sockets to pass (systemd style), or NULL | ||
36 | * @return GNUNET_OK on success | ||
37 | */ | ||
38 | int start_service (struct GNUNET_SERVER_Client *client, | ||
39 | const char *servicename, | ||
40 | const int *lsocks); | ||
32 | 41 | ||
33 | /** | 42 | /** |
34 | * Stop listening for connections to a service. | 43 | * Stop listening for connections to a service. |