From 3583e51e3c4a6fb4bac331996891a7f7cd42f9cf Mon Sep 17 00:00:00 2001 From: t3sserakt Date: Mon, 8 Mar 2021 11:18:18 +0100 Subject: - Just make it compile again. --- src/include/gnunet_testing_ng_lib.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/include/gnunet_testing_ng_lib.h') diff --git a/src/include/gnunet_testing_ng_lib.h b/src/include/gnunet_testing_ng_lib.h index bfdce7557..0cc768d19 100644 --- a/src/include/gnunet_testing_ng_lib.h +++ b/src/include/gnunet_testing_ng_lib.h @@ -27,6 +27,7 @@ #ifndef GNUNET_TESTING_NG_LIB_H #define GNUNET_TESTING_NG_LIB_H +#include "gnunet_util_lib.h" #include "gnunet_scheduler_lib.h" @@ -760,4 +761,18 @@ struct GNUNET_TESTING_Command GNUNET_TESTING_cmd_hello_world (const char *label, char *message); +/** + * Offer data from trait + * + * @param cmd command to extract the url from. + * @param pt which url is to be picked, in case + * multiple are offered. + * @param[out] url where to write the url. + * @return #GNUNET_OK on success. + */ +int +GNUNET_TESTING_get_trait_what_am_i (const struct + GNUNET_TESTING_Command *cmd, + char *what_am_i); + #endif -- cgit v1.2.3