notify = GNUNET_YES;
}
+static void
+send_trap_cb (void *cls)
+{
+ GNUNET_abort ();
+}
+
static void
test_mq (struct GNUNET_CLIENT_Connection *client)
mqm = GNUNET_MQ_msg_header (MY_TYPE);
GNUNET_MQ_send (mq, mqm);
+ mqm = GNUNET_MQ_msg_header (MY_TYPE);
+ GNUNET_MQ_notify_sent (mqm, send_trap_cb, NULL);
+ GNUNET_MQ_send (mq, mqm);
+ GNUNET_MQ_send_cancel (mqm);
+
mqm = GNUNET_MQ_msg_header (MY_TYPE);
GNUNET_MQ_notify_sent (mqm, send_cb, NULL);
GNUNET_MQ_send (mq, mqm);
- /* FIXME: add a message that will be canceled */
}