From 7666505af72b1ca0b568f1c8a053a506dda64d95 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Sun, 9 Sep 2012 14:20:50 +0000 Subject: error reporting in service_connect --- src/testbed/testbed_api.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/testbed/testbed_api.h') diff --git a/src/testbed/testbed_api.h b/src/testbed/testbed_api.h index 06ab6d504..a021e2130 100644 --- a/src/testbed/testbed_api.h +++ b/src/testbed/testbed_api.h @@ -398,5 +398,18 @@ GNUNET_TESTBED_get_config_from_peerinfo_msg_ (const struct GNUNET_TESTBED_PeerConfigurationInformationMessage *msg); + +/** + * Checks the integrity of the OpeationFailureEventMessage and if good returns + * the error message it contains. + * + * @param msg the OperationFailureEventMessage + * @return the error message + */ +const char * +GNUNET_TESTBED_parse_error_string_ (const struct + GNUNET_TESTBED_OperationFailureEventMessage + *msg); + #endif /* end of testbed_api.h */ -- cgit v1.2.3