diff options
Diffstat (limited to 'src/reducer/anastasis_api_recovery_redux.c')
-rw-r--r-- | src/reducer/anastasis_api_recovery_redux.c | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/src/reducer/anastasis_api_recovery_redux.c b/src/reducer/anastasis_api_recovery_redux.c index 0d395bc..84db8fe 100644 --- a/src/reducer/anastasis_api_recovery_redux.c +++ b/src/reducer/anastasis_api_recovery_redux.c | |||
@@ -261,7 +261,7 @@ update_state_by_error (json_t *state, | |||
261 | * On success, the secret is returned in @a secret. | 261 | * On success, the secret is returned in @a secret. |
262 | * | 262 | * |
263 | * @param cls handle for the callback | 263 | * @param cls handle for the callback |
264 | * @param ec error code | 264 | * @param rc error code |
265 | * @param secret contains the core secret which is passed to the user | 265 | * @param secret contains the core secret which is passed to the user |
266 | * @param secret_size defines the size of the core secret | 266 | * @param secret_size defines the size of the core secret |
267 | */ | 267 | */ |
@@ -1655,18 +1655,6 @@ typedef struct ANASTASIS_ReduxAction * | |||
1655 | void *cb_cls); | 1655 | void *cb_cls); |
1656 | 1656 | ||
1657 | 1657 | ||
1658 | /** | ||
1659 | * Operates on a recovery state depending on given #ANASTASIS_RecoveryState | ||
1660 | * and #ANASTASIS_RecoveryAction. The new #ANASTASIS_RecoveryState is returned | ||
1661 | * by a callback function. | ||
1662 | * This function can do network access to talk to anastasis service providers. | ||
1663 | * | ||
1664 | * @param[in,out] state input/output state (to be modified) | ||
1665 | * @param action what action to perform | ||
1666 | * @param arguments data for the @a action | ||
1667 | * @param cb function to call with the result | ||
1668 | * @param cb_cls closure for @a cb | ||
1669 | */ | ||
1670 | struct ANASTASIS_ReduxAction * | 1658 | struct ANASTASIS_ReduxAction * |
1671 | ANASTASIS_recovery_action_ (json_t *state, | 1659 | ANASTASIS_recovery_action_ (json_t *state, |
1672 | const char *action, | 1660 | const char *action, |
@@ -1919,9 +1907,9 @@ struct RecoverSecretState | |||
1919 | 1907 | ||
1920 | 1908 | ||
1921 | /** | 1909 | /** |
1922 | * Function to free a #RecoverSecretState. | 1910 | * Function to free a `struct RecoverSecretState` |
1923 | * | 1911 | * |
1924 | * @param cls closure for a #RecoverSecretState. | 1912 | * @param cls must be a `struct RecoverSecretState` |
1925 | */ | 1913 | */ |
1926 | static void | 1914 | static void |
1927 | free_rss (void *cls) | 1915 | free_rss (void *cls) |
@@ -1967,7 +1955,7 @@ free_rss (void *cls) | |||
1967 | * we are called, it is because of some fatal error. | 1955 | * we are called, it is because of some fatal error. |
1968 | * | 1956 | * |
1969 | * @param cls a `struct PolicyDownloadEntry` | 1957 | * @param cls a `struct PolicyDownloadEntry` |
1970 | * @param ec error code | 1958 | * @param rc error code |
1971 | * @param secret contains the core secret which is passed to the user | 1959 | * @param secret contains the core secret which is passed to the user |
1972 | * @param secret_size defines the size of the core secret | 1960 | * @param secret_size defines the size of the core secret |
1973 | */ | 1961 | */ |