diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-09-09 13:21:48 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-09-09 13:21:48 +0000 |
commit | b9e7bbea6e7628e77fdbcfdd6832587a07d43658 (patch) | |
tree | 2b885562e701d3cc5c11ec07d2051b08ed4c05bf /src/transport/gnunet-service-transport_validation.c | |
parent | f0ac323a4bae4dd87c96bf6d2e9980ec9952df8b (diff) | |
download | gnunet-b9e7bbea6e7628e77fdbcfdd6832587a07d43658.tar.gz gnunet-b9e7bbea6e7628e77fdbcfdd6832587a07d43658.zip |
misc train hacking
Diffstat (limited to 'src/transport/gnunet-service-transport_validation.c')
-rw-r--r-- | src/transport/gnunet-service-transport_validation.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/transport/gnunet-service-transport_validation.c b/src/transport/gnunet-service-transport_validation.c index 56b4037b4..57fa86260 100644 --- a/src/transport/gnunet-service-transport_validation.c +++ b/src/transport/gnunet-service-transport_validation.c | |||
@@ -335,9 +335,6 @@ validation_entry_match (void *cls, const GNUNET_HashCode * key, void *value) | |||
335 | * @param public_key public key of the peer, NULL for unknown | 335 | * @param public_key public key of the peer, NULL for unknown |
336 | * @param neighbour which peer we care about | 336 | * @param neighbour which peer we care about |
337 | * @param tname name of the transport plugin | 337 | * @param tname name of the transport plugin |
338 | * @param session session to look for, NULL for 'any'; otherwise | ||
339 | * can be used for the service to "learn" this session ID | ||
340 | * if 'addr' matches | ||
341 | * @param addr binary address | 338 | * @param addr binary address |
342 | * @param addrlen length of addr | 339 | * @param addrlen length of addr |
343 | * @return validation entry matching the given specifications, NULL | 340 | * @return validation entry matching the given specifications, NULL |
@@ -425,7 +422,7 @@ add_valid_address (void *cls, const char *tname, | |||
425 | * @param cls unused | 422 | * @param cls unused |
426 | * @param peer id of the peer, NULL for last call | 423 | * @param peer id of the peer, NULL for last call |
427 | * @param hello hello message for the peer (can be NULL) | 424 | * @param hello hello message for the peer (can be NULL) |
428 | * @param error message | 425 | * @param err_msg error message |
429 | */ | 426 | */ |
430 | static void | 427 | static void |
431 | process_peerinfo_hello (void *cls, const struct GNUNET_PeerIdentity *peer, | 428 | process_peerinfo_hello (void *cls, const struct GNUNET_PeerIdentity *peer, |
@@ -1077,12 +1074,8 @@ iterate_addresses (void *cls, const GNUNET_HashCode * key, void *value) | |||
1077 | * Can either give a snapshot (synchronous API) or be continuous. | 1074 | * Can either give a snapshot (synchronous API) or be continuous. |
1078 | * | 1075 | * |
1079 | * @param target peer information is requested for | 1076 | * @param target peer information is requested for |
1080 | * @param snapshot_only GNUNET_YES to iterate over addresses once, GNUNET_NO to | ||
1081 | * continue to give information about addresses as it evolves | ||
1082 | * @param cb function to call; will not be called after this function returns | 1077 | * @param cb function to call; will not be called after this function returns |
1083 | * if snapshot_only is GNUNET_YES | ||
1084 | * @param cb_cls closure for 'cb' | 1078 | * @param cb_cls closure for 'cb' |
1085 | * @return context to cancel, NULL if 'snapshot_only' is GNUNET_YES | ||
1086 | */ | 1079 | */ |
1087 | void | 1080 | void |
1088 | GST_validation_get_addresses (const struct GNUNET_PeerIdentity *target, | 1081 | GST_validation_get_addresses (const struct GNUNET_PeerIdentity *target, |