From 297ee1c85e3b8a1745193c854df2dec1126b7b99 Mon Sep 17 00:00:00 2001 From: t3sserakt Date: Mon, 29 Nov 2021 13:24:29 +0100 Subject: - added number of unintentional connects to connect cmd, fixed bugs in tcp communicator and tng service, added method to get a cmd not restricted to future or past cmds --- src/include/gnunet_testing_ng_lib.h | 14 ++++++++++++++ 1 file changed, 14 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 5011aefd8..c9f5e3e00 100644 --- a/src/include/gnunet_testing_ng_lib.h +++ b/src/include/gnunet_testing_ng_lib.h @@ -230,6 +230,20 @@ GNUNET_TESTING_interpreter_lookup_command ( const char *label); +/** + * Lookup command by label. + * All commands, first into the past, then into the furture are looked up. + * + * @param is interpreter to lookup command in + * @param label label of the command to lookup. + * @return the command, if it is found, or NULL. + */ +const struct GNUNET_TESTING_Command * +GNUNET_TESTING_interpreter_lookup_command_all ( + struct GNUNET_TESTING_Interpreter *is, + const char *label); + + /** * Obtain label of the command being now run. * -- cgit v1.2.3