summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_wire.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-14 17:12:25 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-14 17:12:48 +0100
commit04f2e9a4d5b64000b5e29b4603c9bc57c732c4f7 (patch)
tree5022fd75fe7dd2facd939c71f39657fab7964da9 /src/exchange/taler-exchange-httpd_wire.h
parentb5d88fc2d1832fd27bdd7df0860c07ae3c61312c (diff)
downloadexchange-04f2e9a4d5b64000b5e29b4603c9bc57c732c4f7.tar.gz
exchange-04f2e9a4d5b64000b5e29b4603c9bc57c732c4f7.tar.bz2
exchange-04f2e9a4d5b64000b5e29b4603c9bc57c732c4f7.zip
(start to) remove logic no longer needed with new key management
Diffstat (limited to 'src/exchange/taler-exchange-httpd_wire.h')
-rw-r--r--src/exchange/taler-exchange-httpd_wire.h19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/exchange/taler-exchange-httpd_wire.h b/src/exchange/taler-exchange-httpd_wire.h
index 7df874320..b07bfcfb2 100644
--- a/src/exchange/taler-exchange-httpd_wire.h
+++ b/src/exchange/taler-exchange-httpd_wire.h
@@ -29,12 +29,10 @@
/**
* Initialize wire subsystem.
*
- * @param cfg configuration to use
- * @return #GNUNET_OK on success, #GNUNET_SYSERR if we found no valid
- * wire methods
+ * @return #GNUNET_OK on success, #GNUNET_SYSERR on error.
*/
int
-TEH_WIRE_init (const struct GNUNET_CONFIGURATION_Handle *cfg);
+TEH_WIRE_init (void);
/**
@@ -45,6 +43,19 @@ TEH_WIRE_done (void);
/**
+ * Something changed in the database. Rebuild the wire replies. This function
+ * should be called if the exchange learns about a new signature from our
+ * master key.
+ *
+ * (We do not do so immediately, but merely signal to all threads that they
+ * need to rebuild their wire state upon the next call to
+ * #wire_get_state()).
+ */
+void
+TEH_wire_update_state (void);
+
+
+/**
* Handle a "/wire" request.
*
* @param rh context of the handler