static void
arm_stop_cb (void *cls,
- struct GNUNET_ARM_Handle *h,
enum GNUNET_ARM_RequestStatus status,
const char *servicename,
enum GNUNET_ARM_Result result)
{
GNUNET_break (status == GNUNET_ARM_REQUEST_SENT_OK);
- GNUNET_break (result == GNUNET_ARM_RESULT_STOPPING);
- if (result != GNUNET_ARM_RESULT_STOPPING)
+ GNUNET_break (result == GNUNET_ARM_RESULT_STOPPED);
+ if (result != GNUNET_ARM_RESULT_STOPPED)
ret = 4;
GNUNET_SCHEDULER_add_now (trigger_disconnect, NULL);
}
static void
-service_list (void *cls, struct GNUNET_ARM_Handle *arm,
+service_list (void *cls,
enum GNUNET_ARM_RequestStatus rs,
unsigned int count, const char *const*list)
{
static void
arm_start_cb (void *cls,
- struct GNUNET_ARM_Handle *h,
enum GNUNET_ARM_RequestStatus status,
const char *servicename,
enum GNUNET_ARM_Result result)