diff options
Diffstat (limited to 'src/peerinfo/gnunet-service-peerinfo.c')
-rw-r--r-- | src/peerinfo/gnunet-service-peerinfo.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/peerinfo/gnunet-service-peerinfo.c b/src/peerinfo/gnunet-service-peerinfo.c index 281779897..3608dab84 100644 --- a/src/peerinfo/gnunet-service-peerinfo.c +++ b/src/peerinfo/gnunet-service-peerinfo.c | |||
@@ -104,6 +104,10 @@ static char *trustDirectory; | |||
104 | * Address iterator that causes expired entries to be discarded. | 104 | * Address iterator that causes expired entries to be discarded. |
105 | * | 105 | * |
106 | * @param cls pointer to the current time | 106 | * @param cls pointer to the current time |
107 | * @param tname name of the transport | ||
108 | * @param expiration expiration time for the address | ||
109 | * @param addr the address | ||
110 | * @param addrlen length of addr in bytes | ||
107 | * @return GNUNET_NO if expiration smaller than the current time | 111 | * @return GNUNET_NO if expiration smaller than the current time |
108 | */ | 112 | */ |
109 | static int | 113 | static int |
@@ -176,7 +180,6 @@ lookup_host_entry (const struct GNUNET_PeerIdentity *id) | |||
176 | * Add a host to the list. | 180 | * Add a host to the list. |
177 | * | 181 | * |
178 | * @param identity the identity of the host | 182 | * @param identity the identity of the host |
179 | * @param protocol the protocol for the host | ||
180 | */ | 183 | */ |
181 | static void | 184 | static void |
182 | add_host_to_known_hosts (const struct GNUNET_PeerIdentity *identity) | 185 | add_host_to_known_hosts (const struct GNUNET_PeerIdentity *identity) |
@@ -398,7 +401,9 @@ bind_address (const struct GNUNET_PeerIdentity *peer, | |||
398 | * argument or for all known hosts and change their trust values by | 401 | * argument or for all known hosts and change their trust values by |
399 | * the given delta. | 402 | * the given delta. |
400 | * | 403 | * |
401 | * @param only NULL to hit all hosts | 404 | * @param only NULL to hit all hosts, otherwise specifies a particular target |
405 | * @param trust_change how much should the trust be changed | ||
406 | * @param client who is making the request (and will thus receive our confirmation) | ||
402 | */ | 407 | */ |
403 | static void | 408 | static void |
404 | send_to_each_host (const struct GNUNET_PeerIdentity *only, | 409 | send_to_each_host (const struct GNUNET_PeerIdentity *only, |