From 6510f9aa481e037fcc5c9b1e13cc9eb0526918e7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 30 Nov 2019 00:53:58 +0100 Subject: test payment required by client --- src/include/sync_testing_lib.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/include') diff --git a/src/include/sync_testing_lib.h b/src/include/sync_testing_lib.h index 79e7eec..5a0d657 100644 --- a/src/include/sync_testing_lib.h +++ b/src/include/sync_testing_lib.h @@ -216,17 +216,19 @@ enum SYNC_TESTING_UploadOption * the policy store request. * @param prev_upload reference to a previous upload we are * supposed to update, NULL for none + * @param last_upload reference to the last upload for the + * same account, used to check result on MHD_HTTP_CONFLICT + * @param uo upload options * @param http_status expected HTTP status. - * @param pub account identifier - * @param payment_id payment identifier - * @param policy_data recovery data to post - * + * @param backup_data data to upload + * @param backup_data_size number of bytes in @a backup_data * @return the command */ struct TALER_TESTING_Command SYNC_TESTING_cmd_backup_upload (const char *label, const char *sync_url, const char *prev_upload, + const char *last_upload, enum SYNC_TESTING_UploadOption uo, unsigned int http_status, const void *backup_data, -- cgit v1.2.3