+static void
+arm_stopped (void *cls, enum GNUNET_ARM_ProcessStatus success)
+{
+ GNUNET_break (success == GNUNET_ARM_PROCESS_DOWN);
+ if (success != GNUNET_ARM_PROCESS_DOWN)
+ ok = 3;
+ else if (ok == 1)
+ ok = 0;
+}
+
+
+static void
+arm_notify_stop (void *cls, enum GNUNET_ARM_ProcessStatus success)
+{
+ GNUNET_break (success == GNUNET_ARM_PROCESS_DOWN);
+#if START_ARM
+ GNUNET_ARM_stop_service (arm, "arm", TIMEOUT, &arm_stopped, NULL);
+#endif
+}
+
+