From: Christian Grothoff Date: Sun, 23 Oct 2016 16:03:17 +0000 (+0000) Subject: avoid using dying type for function X-Git-Tag: initial-import-from-subversion-38251~68 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a539ef2a879ff65e548aa0bb2ad6de65ba04275a;p=oweals%2Fgnunet.git avoid using dying type for function --- diff --git a/src/testbed/testbed_api.c b/src/testbed/testbed_api.c index 3f2109ecd..667b9b369 100644 --- a/src/testbed/testbed_api.c +++ b/src/testbed/testbed_api.c @@ -75,7 +75,7 @@ struct ForwardedOperationData /** * The callback to call when reply is available */ - GNUNET_CLIENT_MessageHandler cc; + GNUNET_MQ_MessageCallback cc; /** * The closure for the above callback @@ -1362,7 +1362,7 @@ struct OperationContext * GNUNET_TESTBED_forward_operation_msg_ (struct GNUNET_TESTBED_Controller *controller, uint64_t operation_id, const struct GNUNET_MessageHeader *msg, - GNUNET_CLIENT_MessageHandler cc, + GNUNET_MQ_MessageCallback cc, void *cc_cls) { struct OperationContext *opc; diff --git a/src/testbed/testbed_api.h b/src/testbed/testbed_api.h index 82ff5918f..09db9265f 100644 --- a/src/testbed/testbed_api.h +++ b/src/testbed/testbed_api.h @@ -415,7 +415,7 @@ struct OperationContext * GNUNET_TESTBED_forward_operation_msg_ (struct GNUNET_TESTBED_Controller *controller, uint64_t operation_id, const struct GNUNET_MessageHeader *msg, - GNUNET_CLIENT_MessageHandler cc, + GNUNET_MQ_MessageCallback cc, void *cc_cls); /**