aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_validation.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-01-16 12:29:57 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-01-16 12:29:57 +0000
commit8a5993b15da336afade45be6ee4619a39561956a (patch)
tree362f51ad0697f94ded8990cafd82ae7793d6c1be /src/transport/gnunet-service-transport_validation.h
parentb0c00af6d9eee5788c0220da6e427e8bacf81637 (diff)
downloadgnunet-8a5993b15da336afade45be6ee4619a39561956a.tar.gz
gnunet-8a5993b15da336afade45be6ee4619a39561956a.zip
documentation for transport service
Diffstat (limited to 'src/transport/gnunet-service-transport_validation.h')
-rw-r--r--src/transport/gnunet-service-transport_validation.h17
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 */
47typedef void (*GST_ValidationChangedCallback) (void *cls, 46typedef void (*GST_ValidationChangedCallback) (void *cls,
48 const struct GNUNET_PeerIdentity *peer, 47 const struct GNUNET_PeerIdentity *peer,