From b95a377885d3aaaedca0004e38a0ec8db0e7ae01 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 25 Mar 2013 09:40:44 +0000 Subject: [PATCH] doxygen --- src/hostlist/gnunet-daemon-hostlist.c | 4 ---- src/transport/gnunet-service-transport_blacklist.c | 2 -- src/transport/gnunet-service-transport_clients.c | 4 ---- .../gnunet-service-transport_manipulation.h | 14 +++++++++++++- 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/hostlist/gnunet-daemon-hostlist.c b/src/hostlist/gnunet-daemon-hostlist.c index 8d5252534..f5ea6bba7 100644 --- a/src/hostlist/gnunet-daemon-hostlist.c +++ b/src/hostlist/gnunet-daemon-hostlist.c @@ -142,8 +142,6 @@ core_init (void *cls, struct GNUNET_CORE_Handle *server, * @param cls closure * @param peer identity of the sender * @param message advertisement message we got - * @param atsi performance information - * @param atsi_count number of records in 'atsi' * @return GNUNET_OK on success */ static int @@ -160,8 +158,6 @@ advertisement_handler (void *cls, const struct GNUNET_PeerIdentity *peer, * * @param cls closure * @param peer peer identity this notification is about - * @param atsi performance data - * @param atsi_count number of records in 'atsi' */ static void connect_handler (void *cls, const struct GNUNET_PeerIdentity *peer) diff --git a/src/transport/gnunet-service-transport_blacklist.c b/src/transport/gnunet-service-transport_blacklist.c index 73dbd931d..9193922a9 100644 --- a/src/transport/gnunet-service-transport_blacklist.c +++ b/src/transport/gnunet-service-transport_blacklist.c @@ -540,8 +540,6 @@ struct TestConnectionContext * * @param cls the 'struct TestConnectionContest' * @param neighbour neighbour's identity - * @param ats performance data - * @param ats_count number of entries in ats (excluding 0-termination) * @param address the address * @param bandwidth_in inbound quota in NBO * @param bandwidth_out outbound quota in NBO diff --git a/src/transport/gnunet-service-transport_clients.c b/src/transport/gnunet-service-transport_clients.c index 610dda021..db2718f4e 100644 --- a/src/transport/gnunet-service-transport_clients.c +++ b/src/transport/gnunet-service-transport_clients.c @@ -465,8 +465,6 @@ client_disconnect_notification (void *cls, struct GNUNET_SERVER_Client *client) * * @param cls the 'struct TransportClient' to notify * @param peer identity of the neighbour - * @param ats performance data - * @param ats_count number of entries in ats (excluding 0-termination) * @param address the address * @param bandwidth_in inbound bandwidth in NBO * @param bandwidth_out outbound bandwidth in NBO @@ -882,8 +880,6 @@ compose_address_iterate_response_message (const struct GNUNET_PeerIdentity * * @param cls the 'struct GNUNET_SERVER_TransmitContext' for transmission to the client * @param peer identity of the neighbour - * @param ats performance data - * @param ats_count number of entries in ats (excluding 0-termination) * @param address the address * @param bandwidth_in inbound quota in NBO * @param bandwidth_out outbound quota in NBO diff --git a/src/transport/gnunet-service-transport_manipulation.h b/src/transport/gnunet-service-transport_manipulation.h index 17a0a24f3..c8e8b27e9 100644 --- a/src/transport/gnunet-service-transport_manipulation.h +++ b/src/transport/gnunet-service-transport_manipulation.h @@ -54,9 +54,21 @@ GST_manipulation_recv (void *cls, const char *sender_address, uint16_t sender_address_len); +/** + * Function that will be called to figure if an address is an loopback, + * LAN, WAN etc. address + * + * @param cls closure + * @param peer the peer + * @param address binary address + * @param address_len length of the address + * @param session the session + * @param ats the ats information + * @param ats_count the number of ats information + */ void GST_manipulation_metrics_recv (void *cls, - const struct GNUNET_PeerIdentity *peer, + struct GNUNET_PeerIdentity *peer, const char *address, uint16_t address_len, struct Session *session, -- 2.25.1