aboutsummaryrefslogtreecommitdiff
path: root/src/testbed
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-10-23 16:03:17 +0000
committerChristian Grothoff <christian@grothoff.org>2016-10-23 16:03:17 +0000
commita539ef2a879ff65e548aa0bb2ad6de65ba04275a (patch)
treee70af3daa8127ea8493e9f892d27eb51e9dcfcd8 /src/testbed
parent3ecbb9b47c2f8c1ed5e9dbed4803999420dbd6ac (diff)
avoid using dying type for function
Diffstat (limited to 'src/testbed')
-rw-r--r--src/testbed/testbed_api.c4
-rw-r--r--src/testbed/testbed_api.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/testbed/testbed_api.c b/src/testbed/testbed_api.c
index 3f2109ecde..667b9b3691 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 82ff5918fa..09db9265f8 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);
/**