-allow caller ID to differ from zone used for resolution
[oweals/gnunet.git] / src / transport / gnunet-service-transport_clients.h
index 5b151382c514c71e62f9d68a9fe861afab178df3..f6d95eacc4ebd251402af256dbedee4e79522e4c 100644 (file)
@@ -86,5 +86,25 @@ GST_clients_broadcast_peer_notification (const struct GNUNET_PeerIdentity *peer,
     struct GNUNET_TIME_Absolute state_timeout);
 
 
+/**
+ * Broadcast the new validation changes to all clients monitoring the peer.
+ *
+ * @param peer peer this update is about (never NULL)
+ * @param address address, NULL on disconnect
+ * @param last_validation point in time when last validation was performed
+ * @param valid_until point in time how long address is valid
+ * @param next_validation point in time when next validation will be performed
+ * @param state state of validation notification
+ */
+void
+GST_clients_broadcast_validation_notification (
+    const struct GNUNET_PeerIdentity *peer,
+    const struct GNUNET_HELLO_Address *address,
+    struct GNUNET_TIME_Absolute last_validation,
+    struct GNUNET_TIME_Absolute valid_until,
+    struct GNUNET_TIME_Absolute next_validation,
+    enum GNUNET_TRANSPORT_ValidationState state);
+
+
 #endif
 /* end of file gnunet-service-transport_clients.h */