aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_arm_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_arm_service.h')
-rw-r--r--src/include/gnunet_arm_service.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/include/gnunet_arm_service.h b/src/include/gnunet_arm_service.h
index 7c35b0b20..e1f44620f 100644
--- a/src/include/gnunet_arm_service.h
+++ b/src/include/gnunet_arm_service.h
@@ -180,7 +180,7 @@ struct GNUNET_ARM_Handle;
180 * @param connected GNUNET_YES if connected, GNUNET_NO if disconnected, 180 * @param connected GNUNET_YES if connected, GNUNET_NO if disconnected,
181 * GNUNET_SYSERR if there was an error. 181 * GNUNET_SYSERR if there was an error.
182 */ 182 */
183typedef void (*GNUNET_ARM_ConnectionStatusCallback) (void *cls, 183typedef void (*GNUNET_ARM_ConnectionStatusCallback) (void *cls,
184 int connected); 184 int connected);
185 185
186 186
@@ -195,9 +195,9 @@ typedef void (*GNUNET_ARM_ConnectionStatusCallback) (void *cls,
195 * @param service service name 195 * @param service service name
196 * @param result result of the operation 196 * @param result result of the operation
197 */ 197 */
198typedef void (*GNUNET_ARM_ResultCallback) (void *cls, 198typedef void (*GNUNET_ARM_ResultCallback) (void *cls,
199 enum GNUNET_ARM_RequestStatus rs, 199 enum GNUNET_ARM_RequestStatus rs,
200 const char *service, 200 const char *service,
201 enum GNUNET_ARM_Result result); 201 enum GNUNET_ARM_Result result);
202 202
203 203
@@ -212,9 +212,9 @@ typedef void (*GNUNET_ARM_ResultCallback) (void *cls,
212 * @param count number of strings in the list 212 * @param count number of strings in the list
213 * @param list list of running services 213 * @param list list of running services
214 */ 214 */
215typedef void (*GNUNET_ARM_ServiceListCallback) (void *cls, 215typedef void (*GNUNET_ARM_ServiceListCallback) (void *cls,
216 enum GNUNET_ARM_RequestStatus rs, 216 enum GNUNET_ARM_RequestStatus rs,
217 unsigned int count, 217 unsigned int count,
218 const char *const*list); 218 const char *const*list);
219 219
220 220
@@ -231,7 +231,7 @@ typedef void (*GNUNET_ARM_ServiceListCallback) (void *cls,
231 */ 231 */
232struct GNUNET_ARM_Handle * 232struct GNUNET_ARM_Handle *
233GNUNET_ARM_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, 233GNUNET_ARM_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,
234 GNUNET_ARM_ConnectionStatusCallback conn_status, 234 GNUNET_ARM_ConnectionStatusCallback conn_status,
235 void *cls); 235 void *cls);
236 236
237 237
@@ -274,7 +274,7 @@ GNUNET_ARM_request_service_list (struct GNUNET_ARM_Handle *h,
274 */ 274 */
275void 275void
276GNUNET_ARM_request_service_stop (struct GNUNET_ARM_Handle *h, 276GNUNET_ARM_request_service_stop (struct GNUNET_ARM_Handle *h,
277 const char *service_name, 277 const char *service_name,
278 struct GNUNET_TIME_Relative timeout, 278 struct GNUNET_TIME_Relative timeout,
279 GNUNET_ARM_ResultCallback cont, void *cont_cls); 279 GNUNET_ARM_ResultCallback cont, void *cont_cls);
280 280
@@ -291,9 +291,9 @@ GNUNET_ARM_request_service_stop (struct GNUNET_ARM_Handle *h,
291 */ 291 */
292void 292void
293GNUNET_ARM_request_service_start (struct GNUNET_ARM_Handle *h, 293GNUNET_ARM_request_service_start (struct GNUNET_ARM_Handle *h,
294 const char *service_name, 294 const char *service_name,
295 enum GNUNET_OS_InheritStdioFlags std_inheritance, 295 enum GNUNET_OS_InheritStdioFlags std_inheritance,
296 struct GNUNET_TIME_Relative timeout, 296 struct GNUNET_TIME_Relative timeout,
297 GNUNET_ARM_ResultCallback cont, 297 GNUNET_ARM_ResultCallback cont,
298 void *cont_cls); 298 void *cont_cls);
299 299
@@ -312,8 +312,8 @@ struct GNUNET_ARM_MonitorHandle;
312 * @param service service name 312 * @param service service name
313 * @param status status of the service 313 * @param status status of the service
314 */ 314 */
315typedef void (*GNUNET_ARM_ServiceStatusCallback) (void *cls, 315typedef void (*GNUNET_ARM_ServiceStatusCallback) (void *cls,
316 const char *service, 316 const char *service,
317 enum GNUNET_ARM_ServiceStatus status); 317 enum GNUNET_ARM_ServiceStatus status);
318 318
319 319
@@ -330,7 +330,7 @@ typedef void (*GNUNET_ARM_ServiceStatusCallback) (void *cls,
330 */ 330 */
331struct GNUNET_ARM_MonitorHandle * 331struct GNUNET_ARM_MonitorHandle *
332GNUNET_ARM_monitor (const struct GNUNET_CONFIGURATION_Handle *cfg, 332GNUNET_ARM_monitor (const struct GNUNET_CONFIGURATION_Handle *cfg,
333 GNUNET_ARM_ServiceStatusCallback cont, 333 GNUNET_ARM_ServiceStatusCallback cont,
334 void *cont_cls); 334 void *cont_cls);
335 335
336 336