gnunet

Main GNUnet Logic
Log | Files | Refs | Submodules | README | LICENSE

commit 776be341d9d0acd240accc07aadcb833b31d5028
parent efb63d91616d5587bf99efab80c85afd205fc1bd
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed,  7 Apr 2021 09:10:47 +0200

-add missing helper

Diffstat:
Msrc/include/gnunet_testing_ng_lib.h | 13++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/src/include/gnunet_testing_ng_lib.h b/src/include/gnunet_testing_ng_lib.h @@ -271,6 +271,17 @@ GNUNET_TESTING_cmd_end (void); /** + * Turn asynchronous command into synchronous command. + * + * @param cmd command to make synchronous. + * @return a finish-command. + */ +// SUGGESTION (NEW!) +const struct GNUNET_TESTING_Command +TALER_TESTING_cmd_make_synchronous (const struct GNUNET_TESTING_Command cmd); + + +/** * Create (synchronous) command that waits for another command to finish. * If @a cmd_ref did not finish after @a timeout, this command will fail * the test case. @@ -282,7 +293,7 @@ GNUNET_TESTING_cmd_end (void); * @return a finish-command. */ // SUGGESTION (NEW!) -const struct GNUNET_TESTING_Command * +const struct GNUNET_TESTING_Command TALER_TESTING_cmd_finish (const char *finish_label, const char *cmd_ref, struct GNUNET_TIME_Relative timeout);