aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo/gnunet-service-peerinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peerinfo/gnunet-service-peerinfo.c')
-rw-r--r--src/peerinfo/gnunet-service-peerinfo.c9
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 */
109static int 113static 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 */
181static void 184static void
182add_host_to_known_hosts (const struct GNUNET_PeerIdentity *identity) 185add_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 */
403static void 408static void
404send_to_each_host (const struct GNUNET_PeerIdentity *only, 409send_to_each_host (const struct GNUNET_PeerIdentity *only,