diff options
Diffstat (limited to 'src/transport/gnunet-service-transport_validation.h')
-rw-r--r-- | src/transport/gnunet-service-transport_validation.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/transport/gnunet-service-transport_validation.h b/src/transport/gnunet-service-transport_validation.h index d117faca5..179070454 100644 --- a/src/transport/gnunet-service-transport_validation.h +++ b/src/transport/gnunet-service-transport_validation.h | |||
@@ -32,17 +32,16 @@ | |||
32 | #include "gnunet_hello_lib.h" | 32 | #include "gnunet_hello_lib.h" |
33 | 33 | ||
34 | /** | 34 | /** |
35 | * Function called for each address (or address status change) that | 35 | * Function called to notify transport users that a neighbour peer changed its |
36 | * the validation module is aware of (for the given target). | 36 | * active address. |
37 | * | 37 | * |
38 | * @param cls closure | 38 | * @param cls closure |
39 | * @param public_key public key for the peer, never NULL | 39 | * @param peer peer this update is about (never NULL) |
40 | * @param valid_until is ZERO if we never validated the address, | 40 | * @param address address (never NULL) |
41 | * otherwise a time up to when we consider it (or was) valid | 41 | * @param last_validation point in time when last validation was performed |
42 | * @param validation_block is FOREVER if the address is for an unsupported plugin (from PEERINFO) | 42 | * @param valid_until point in time how long address is valid |
43 | * is ZERO if the address is considered valid (no validation needed) | 43 | * @param next_validation point in time when next validation will be performed |
44 | * otherwise a time in the future if we're currently denying re-validation | 44 | * @param state state of validation notification |
45 | * @param address the address | ||
46 | */ | 45 | */ |
47 | typedef void (*GST_ValidationChangedCallback) (void *cls, | 46 | typedef void (*GST_ValidationChangedCallback) (void *cls, |
48 | const struct GNUNET_PeerIdentity *peer, | 47 | const struct GNUNET_PeerIdentity *peer, |