summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-11-30 00:53:58 +0100
committerChristian Grothoff <christian@grothoff.org>2019-11-30 00:53:58 +0100
commit6510f9aa481e037fcc5c9b1e13cc9eb0526918e7 (patch)
tree6a8c3e325f0ba66e806979b72269f0b0506d817d /src/include
parent35dc96ac784586d0c137a43ff90eea7b7b253d7a (diff)
downloadsync-6510f9aa481e037fcc5c9b1e13cc9eb0526918e7.tar.gz
sync-6510f9aa481e037fcc5c9b1e13cc9eb0526918e7.tar.bz2
sync-6510f9aa481e037fcc5c9b1e13cc9eb0526918e7.zip
test payment required by client
Diffstat (limited to 'src/include')
-rw-r--r--src/include/sync_testing_lib.h10
1 files changed, 6 insertions, 4 deletions
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,