diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-04-25 23:06:58 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-04-25 23:06:58 +0200 |
commit | 487f23502f00cc0ec54e7cec043f41582030613d (patch) | |
tree | 3a48c14e5b9448f58548c644d59253f063121df3 /src/include | |
parent | 1a3dbf8c98cd5faf784deb2cfc75a1ba1988a3c5 (diff) | |
download | exchange-487f23502f00cc0ec54e7cec043f41582030613d.tar.xz |
add nexus-fetch-transactions
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_testing_lib.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 37d347c30..5fc930a86 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -1243,6 +1243,36 @@ TALER_TESTING_cmd_exec_wirewatch (const char *label, /** + * Request URL via "wget". + * + * @param label command label. + * @param url URL to fetch + * @return the command. + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_exec_wget (const char *label, + const char *url); + + +/** + * Request fetch-transactions via "wget". + * + * @param label command label. + * @param username username to use + * @param password password to use + * @param bank_base_url base URL of the nexus + * @param account_id account to fetch transactions for + * @return the command. + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_nexus_fetch_transactions (const char *label, + const char *username, + const char *password, + const char *bank_base_url, + const char *account_id); + + +/** * Make a "expire" CMD. * * @param label command label. |