diff options
Diffstat (limited to 'src/include/gnunet_arm_service.h')
-rw-r--r-- | src/include/gnunet_arm_service.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/include/gnunet_arm_service.h b/src/include/gnunet_arm_service.h index 76529ede4..6d52773de 100644 --- a/src/include/gnunet_arm_service.h +++ b/src/include/gnunet_arm_service.h | |||
@@ -73,9 +73,9 @@ struct GNUNET_ARM_Handle; | |||
73 | * @param service service that *this* process is implementing/providing, can be NULL | 73 | * @param service service that *this* process is implementing/providing, can be NULL |
74 | * @return context to use for further ARM operations, NULL on error | 74 | * @return context to use for further ARM operations, NULL on error |
75 | */ | 75 | */ |
76 | struct GNUNET_ARM_Handle *GNUNET_ARM_connect (const struct | 76 | struct GNUNET_ARM_Handle * |
77 | GNUNET_CONFIGURATION_Handle *cfg, | 77 | GNUNET_ARM_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, |
78 | const char *service); | 78 | const char *service); |
79 | 79 | ||
80 | 80 | ||
81 | /** | 81 | /** |
@@ -83,7 +83,8 @@ struct GNUNET_ARM_Handle *GNUNET_ARM_connect (const struct | |||
83 | * | 83 | * |
84 | * @param h the handle that was being used | 84 | * @param h the handle that was being used |
85 | */ | 85 | */ |
86 | void GNUNET_ARM_disconnect (struct GNUNET_ARM_Handle *h); | 86 | void |
87 | GNUNET_ARM_disconnect (struct GNUNET_ARM_Handle *h); | ||
87 | 88 | ||
88 | 89 | ||
89 | /** | 90 | /** |
@@ -104,10 +105,10 @@ void GNUNET_ARM_disconnect (struct GNUNET_ARM_Handle *h); | |||
104 | * @param cb callback to invoke when service is ready | 105 | * @param cb callback to invoke when service is ready |
105 | * @param cb_cls closure for callback | 106 | * @param cb_cls closure for callback |
106 | */ | 107 | */ |
107 | void GNUNET_ARM_start_service (struct GNUNET_ARM_Handle *h, | 108 | void |
108 | const char *service_name, | 109 | GNUNET_ARM_start_service (struct GNUNET_ARM_Handle *h, const char *service_name, |
109 | struct GNUNET_TIME_Relative timeout, | 110 | struct GNUNET_TIME_Relative timeout, |
110 | GNUNET_ARM_Callback cb, void *cb_cls); | 111 | GNUNET_ARM_Callback cb, void *cb_cls); |
111 | 112 | ||
112 | 113 | ||
113 | /** | 114 | /** |
@@ -121,10 +122,10 @@ void GNUNET_ARM_start_service (struct GNUNET_ARM_Handle *h, | |||
121 | * @param cb callback to invoke when service is ready | 122 | * @param cb callback to invoke when service is ready |
122 | * @param cb_cls closure for callback | 123 | * @param cb_cls closure for callback |
123 | */ | 124 | */ |
124 | void GNUNET_ARM_stop_service (struct GNUNET_ARM_Handle *h, | 125 | void |
125 | const char *service_name, | 126 | GNUNET_ARM_stop_service (struct GNUNET_ARM_Handle *h, const char *service_name, |
126 | struct GNUNET_TIME_Relative timeout, | 127 | struct GNUNET_TIME_Relative timeout, |
127 | GNUNET_ARM_Callback cb, void *cb_cls); | 128 | GNUNET_ARM_Callback cb, void *cb_cls); |
128 | 129 | ||
129 | 130 | ||
130 | 131 | ||