diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-11-15 09:39:31 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-11-15 09:39:31 +0100 |
commit | 9badf80eb4228a9c009839a4856710127efe8601 (patch) | |
tree | ec62e28f2ab3b90ca374537a9b2730b1fecdbb93 /src/sync/sync-httpd_backup.h | |
parent | d0e22221b9fd3627d63e484b8957337d2638a871 (diff) | |
download | sync-9badf80eb4228a9c009839a4856710127efe8601.tar.gz sync-9badf80eb4228a9c009839a4856710127efe8601.tar.bz2 sync-9badf80eb4228a9c009839a4856710127efe8601.zip |
implement GET logic
Diffstat (limited to 'src/sync/sync-httpd_backup.h')
-rw-r--r-- | src/sync/sync-httpd_backup.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sync/sync-httpd_backup.h b/src/sync/sync-httpd_backup.h index 1ba7408..02f31be 100644 --- a/src/sync/sync-httpd_backup.h +++ b/src/sync/sync-httpd_backup.h @@ -24,20 +24,20 @@ /** * @param connection the MHD connection to handle - * @param[in,out] connection_cls the connection's closure (can be updated) - * @param upload_data upload data - * @param[in,out] upload_data_size number of bytes (left) in @a upload_data + * @param account public key of the account the request is for + * @param[in,out] con_cls the connection's closure (can be updated) * @return MHD result code */ int sync_handler_backup_get (struct MHD_Connection *connection, - const char *url, + const struct SYNC_AccountPublicKeyP *account, void **con_cls); /** * @param connection the MHD connection to handle * @param[in,out] connection_cls the connection's closure (can be updated) + * @param account public key of the account the request is for * @param upload_data upload data * @param[in,out] upload_data_size number of bytes (left) in @a upload_data * @return MHD result code @@ -45,7 +45,7 @@ sync_handler_backup_get (struct MHD_Connection *connection, int sync_handler_backup_post (struct MHD_Connection *connection, void **con_cls, - const char *url, + const struct SYNC_AccountPublicKeyP *account, const char *upload_data, size_t *upload_data_size); |