diff options
author | t3sserakt <t3ss@posteo.de> | 2021-11-29 13:24:29 +0100 |
---|---|---|
committer | t3sserakt <t3ss@posteo.de> | 2021-11-29 13:24:29 +0100 |
commit | 297ee1c85e3b8a1745193c854df2dec1126b7b99 (patch) | |
tree | 862872c1f89059dc9a43d21111eba4c932caf15a /src/include | |
parent | fdb9fc3b6f1333a05e093ed1a8aee63d6308ced1 (diff) | |
download | gnunet-297ee1c85e3b8a1745193c854df2dec1126b7b99.tar.gz gnunet-297ee1c85e3b8a1745193c854df2dec1126b7b99.zip |
- 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
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_testing_ng_lib.h | 14 |
1 files changed, 14 insertions, 0 deletions
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 | |||
@@ -231,6 +231,20 @@ GNUNET_TESTING_interpreter_lookup_command ( | |||
231 | 231 | ||
232 | 232 | ||
233 | /** | 233 | /** |
234 | * Lookup command by label. | ||
235 | * All commands, first into the past, then into the furture are looked up. | ||
236 | * | ||
237 | * @param is interpreter to lookup command in | ||
238 | * @param label label of the command to lookup. | ||
239 | * @return the command, if it is found, or NULL. | ||
240 | */ | ||
241 | const struct GNUNET_TESTING_Command * | ||
242 | GNUNET_TESTING_interpreter_lookup_command_all ( | ||
243 | struct GNUNET_TESTING_Interpreter *is, | ||
244 | const char *label); | ||
245 | |||
246 | |||
247 | /** | ||
234 | * Obtain label of the command being now run. | 248 | * Obtain label of the command being now run. |
235 | * | 249 | * |
236 | * @param is interpreter state. | 250 | * @param is interpreter state. |