aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_testing_ng_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_testing_ng_lib.h')
-rw-r--r--src/include/gnunet_testing_ng_lib.h15
1 files changed, 15 insertions, 0 deletions
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 @@
27#ifndef GNUNET_TESTING_NG_LIB_H 27#ifndef GNUNET_TESTING_NG_LIB_H
28#define GNUNET_TESTING_NG_LIB_H 28#define GNUNET_TESTING_NG_LIB_H
29 29
30#include "gnunet_util_lib.h"
30#include "gnunet_scheduler_lib.h" 31#include "gnunet_scheduler_lib.h"
31 32
32 33
@@ -760,4 +761,18 @@ struct GNUNET_TESTING_Command
760GNUNET_TESTING_cmd_hello_world (const char *label, 761GNUNET_TESTING_cmd_hello_world (const char *label,
761 char *message); 762 char *message);
762 763
764/**
765 * Offer data from trait
766 *
767 * @param cmd command to extract the url from.
768 * @param pt which url is to be picked, in case
769 * multiple are offered.
770 * @param[out] url where to write the url.
771 * @return #GNUNET_OK on success.
772 */
773int
774GNUNET_TESTING_get_trait_what_am_i (const struct
775 GNUNET_TESTING_Command *cmd,
776 char *what_am_i);
777
763#endif 778#endif