diff options
Diffstat (limited to 'src/reducer/anastasis_api_backup_redux.c')
-rw-r--r-- | src/reducer/anastasis_api_backup_redux.c | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/src/reducer/anastasis_api_backup_redux.c b/src/reducer/anastasis_api_backup_redux.c index 2f44688..cfe9f31 100644 --- a/src/reducer/anastasis_api_backup_redux.c +++ b/src/reducer/anastasis_api_backup_redux.c | |||
@@ -1388,7 +1388,7 @@ find_best_map (struct PolicyBuilder *pb, | |||
1388 | * Select cheapest policy combinations and add them to the JSON ``policies`` | 1388 | * Select cheapest policy combinations and add them to the JSON ``policies`` |
1389 | * array in @a pb | 1389 | * array in @a pb |
1390 | * | 1390 | * |
1391 | * @param[in,out] policy builder with our state | 1391 | * @param[in,out] pb policy builder with our state |
1392 | */ | 1392 | */ |
1393 | static void | 1393 | static void |
1394 | select_policies (struct PolicyBuilder *pb) | 1394 | select_policies (struct PolicyBuilder *pb) |
@@ -3383,7 +3383,7 @@ truth_upload_cb (void *cls, | |||
3383 | * @a truth for policy reference @a pmr. If such a truth object | 3383 | * @a truth for policy reference @a pmr. If such a truth object |
3384 | * already exists, append @a pmr to its list of reasons. | 3384 | * already exists, append @a pmr to its list of reasons. |
3385 | * | 3385 | * |
3386 | * @param[in,out] our upload context | 3386 | * @param[in,out] uc our upload context |
3387 | * @param pmr policy method combination that requires the truth | 3387 | * @param pmr policy method combination that requires the truth |
3388 | * @param provider_url the URL of the Anastasis provider to upload | 3388 | * @param provider_url the URL of the Anastasis provider to upload |
3389 | * the truth to, used to check for existing entries | 3389 | * the truth to, used to check for existing entries |
@@ -3556,7 +3556,7 @@ add_truth_object (struct UploadContext *uc, | |||
3556 | * policy reference @a pmr. If the upload is already queued, | 3556 | * policy reference @a pmr. If the upload is already queued, |
3557 | * append @a pmr to its list of reasons. | 3557 | * append @a pmr to its list of reasons. |
3558 | * | 3558 | * |
3559 | * @param[in,out] our upload context | 3559 | * @param[in,out] uc our upload context |
3560 | * @param pmr policy method combination that requires the truth | 3560 | * @param pmr policy method combination that requires the truth |
3561 | * @param provider_url the URL of the Anastasis provider to upload | 3561 | * @param provider_url the URL of the Anastasis provider to upload |
3562 | * the truth to, used to check for existing entries | 3562 | * the truth to, used to check for existing entries |
@@ -3755,7 +3755,6 @@ check_truth_upload (struct UploadContext *uc, | |||
3755 | * and change providers/policies), or payment, or finished. | 3755 | * and change providers/policies), or payment, or finished. |
3756 | * | 3756 | * |
3757 | * @param state state to operate on | 3757 | * @param state state to operate on |
3758 | * @param truth_indices indices of truths to upload explicitly | ||
3759 | * @param cb callback (#ANASTASIS_ActionCallback) to call after upload | 3758 | * @param cb callback (#ANASTASIS_ActionCallback) to call after upload |
3760 | * @param cb_cls callback closure | 3759 | * @param cb_cls callback closure |
3761 | */ | 3760 | */ |
@@ -4482,18 +4481,6 @@ typedef struct ANASTASIS_ReduxAction * | |||
4482 | void *cb_cls); | 4481 | void *cb_cls); |
4483 | 4482 | ||
4484 | 4483 | ||
4485 | /** | ||
4486 | * Operates on a backup state depending on given #ANASTASIS_BackupState | ||
4487 | * and #ANASTASIS_BackupAction. The new #ANASTASIS_BackupState is returned | ||
4488 | * by a callback function. | ||
4489 | * This function can do network access to talk to anastasis service providers. | ||
4490 | * | ||
4491 | * @param[in,out] state input/output state (to be modified) | ||
4492 | * @param action what action to perform | ||
4493 | * @param arguments data for the @a action | ||
4494 | * @param cb function to call with the result | ||
4495 | * @param cb_cls closure for @a cb | ||
4496 | */ | ||
4497 | struct ANASTASIS_ReduxAction * | 4484 | struct ANASTASIS_ReduxAction * |
4498 | ANASTASIS_backup_action_ (json_t *state, | 4485 | ANASTASIS_backup_action_ (json_t *state, |
4499 | const char *action, | 4486 | const char *action, |