diff options
author | t3sserakt <t3ss@posteo.de> | 2023-06-07 14:26:26 +0200 |
---|---|---|
committer | t3sserakt <t3ss@posteo.de> | 2023-06-07 14:26:26 +0200 |
commit | 664286d705905dff31298844753b12be38a079e7 (patch) | |
tree | ef8ae6f066aab849e5bc23de2970b5f631c3316f /src/include/gnunet_testing_ng_lib.h | |
parent | ae7fcd30040c38650aa96286468dc9b0a2178d9e (diff) | |
download | gnunet-664286d705905dff31298844753b12be38a079e7.tar.gz gnunet-664286d705905dff31298844753b12be38a079e7.zip |
NEWS: Added __attribute__((deprecated)) to the old transport API
Diffstat (limited to 'src/include/gnunet_testing_ng_lib.h')
-rw-r--r-- | src/include/gnunet_testing_ng_lib.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/gnunet_testing_ng_lib.h b/src/include/gnunet_testing_ng_lib.h index aae918ff3..a691137cd 100644 --- a/src/include/gnunet_testing_ng_lib.h +++ b/src/include/gnunet_testing_ng_lib.h | |||
@@ -542,6 +542,22 @@ struct GNUNET_TESTING_Command | |||
542 | GNUNET_TESTING_cmd_stat (struct GNUNET_TESTING_Timer *timers); | 542 | GNUNET_TESTING_cmd_stat (struct GNUNET_TESTING_Timer *timers); |
543 | 543 | ||
544 | 544 | ||
545 | /** | ||
546 | * Command to execute a script. The cmd succeeds when the script exit with 0 and fails, | ||
547 | * when the script exits with an error code. | ||
548 | * | ||
549 | * @param label The label of the cmd. | ||
550 | * @param script The name of the script. | ||
551 | * @param script_argv Array with script args. | ||
552 | * @param script_argv_len Length of the array. | ||
553 | */ | ||
554 | const struct GNUNET_TESTING_Command | ||
555 | GNUNET_TESTING_cmd_exec_bash_script (const char *label, | ||
556 | const char *script, | ||
557 | char **script_argv, | ||
558 | unsigned int script_argv_len); | ||
559 | |||
560 | |||
545 | /* *** Generic trait logic for implementing traits ********* */ | 561 | /* *** Generic trait logic for implementing traits ********* */ |
546 | 562 | ||
547 | /** | 563 | /** |