summaryrefslogtreecommitdiff
path: root/src/arm/arm_monitor_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arm/arm_monitor_api.c')
-rw-r--r--src/arm/arm_monitor_api.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arm/arm_monitor_api.c b/src/arm/arm_monitor_api.c
index c6e1e2683..00faaaef1 100644
--- a/src/arm/arm_monitor_api.c
+++ b/src/arm/arm_monitor_api.c
@@ -61,7 +61,7 @@ struct GNUNET_ARM_MonitorHandle {
61 /** 61 /**
62 * Callback to invoke on status updates. 62 * Callback to invoke on status updates.
63 */ 63 */
64 GNUNET_ARM_ServiceStatusCallback service_status; 64 GNUNET_ARM_ServiceMonitorCallback service_status;
65 65
66 /** 66 /**
67 * Closure for @e service_status. 67 * Closure for @e service_status.
@@ -153,9 +153,9 @@ static void
153handle_monitor_notify(void *cls, const struct GNUNET_ARM_StatusMessage *res) 153handle_monitor_notify(void *cls, const struct GNUNET_ARM_StatusMessage *res)
154{ 154{
155 struct GNUNET_ARM_MonitorHandle *h = cls; 155 struct GNUNET_ARM_MonitorHandle *h = cls;
156 enum GNUNET_ARM_ServiceStatus status; 156 enum GNUNET_ARM_ServiceMonitorStatus status;
157 157
158 status = (enum GNUNET_ARM_ServiceStatus)ntohl(res->status); 158 status = (enum GNUNET_ARM_ServiceMonitorStatus)ntohl(res->status);
159 LOG(GNUNET_ERROR_TYPE_DEBUG, 159 LOG(GNUNET_ERROR_TYPE_DEBUG,
160 "Received notification from ARM for service `%s' with status %d\n", 160 "Received notification from ARM for service `%s' with status %d\n",
161 (const char *)&res[1], 161 (const char *)&res[1],
@@ -230,7 +230,7 @@ reconnect_arm_monitor(struct GNUNET_ARM_MonitorHandle *h)
230 */ 230 */
231struct GNUNET_ARM_MonitorHandle * 231struct GNUNET_ARM_MonitorHandle *
232GNUNET_ARM_monitor_start(const struct GNUNET_CONFIGURATION_Handle *cfg, 232GNUNET_ARM_monitor_start(const struct GNUNET_CONFIGURATION_Handle *cfg,
233 GNUNET_ARM_ServiceStatusCallback cont, 233 GNUNET_ARM_ServiceMonitorCallback cont,
234 void *cont_cls) 234 void *cont_cls)
235{ 235{
236 struct GNUNET_ARM_MonitorHandle *h; 236 struct GNUNET_ARM_MonitorHandle *h;