summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_keys.h
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2022-11-20 12:36:54 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2022-11-20 12:36:54 +0100
commit8250d830b6facc3cd51ba9cecf109566ec346013 (patch)
tree531bfc61baf8ab924b472c72137fb453fbc11828 /src/exchange/taler-exchange-httpd_keys.h
parentbf97de5472b703abe3c554c6d388196f9f76290e (diff)
downloadexchange-8250d830b6facc3cd51ba9cecf109566ec346013.tar.gz
exchange-8250d830b6facc3cd51ba9cecf109566ec346013.tar.bz2
exchange-8250d830b6facc3cd51ba9cecf109566ec346013.zip
Call TEH_keys_update_state on extension config change
Fixes #7266 Also better API: - TEH_keys_get_state and - TEH_keys_get_state_for_management_only
Diffstat (limited to 'src/exchange/taler-exchange-httpd_keys.h')
-rw-r--r--src/exchange/taler-exchange-httpd_keys.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/exchange/taler-exchange-httpd_keys.h b/src/exchange/taler-exchange-httpd_keys.h
index 7e8c1e995..8758afb71 100644
--- a/src/exchange/taler-exchange-httpd_keys.h
+++ b/src/exchange/taler-exchange-httpd_keys.h
@@ -168,18 +168,12 @@ TEH_check_invariants (void);
struct TEH_KeyStateHandle *
TEH_keys_get_state (void);
-
/**
- * Obtain the key state. Should ONLY be used
- * directly if @a management_only is true. Otherwise use #TEH_keys_get_state().
- *
- * @param management_only if we should NOT run finish_keys_response()
- * because we only need the state for the /management/keys API
- * @return NULL on error
+ * Obtain the key state if we should NOT run finish_keys_response() because we
+ * only need the state for the /management/keys API
*/
struct TEH_KeyStateHandle *
-TEH_keys_get_state2 (bool management_only);
-
+TEH_keys_get_state_for_management_only (void);
/**
* Something changed in the database. Rebuild all key states. This function