From 5649e3ad7dd87a419d0b257ed2a357adfcf1a372 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Thu, 28 Mar 2013 13:54:03 +0000 Subject: more docu --- src/transport/gnunet-service-transport_manipulation.c | 8 ++++++++ src/transport/gnunet-service-transport_manipulation.h | 8 ++++++++ 2 files changed, 16 insertions(+) (limited to 'src/transport') diff --git a/src/transport/gnunet-service-transport_manipulation.c b/src/transport/gnunet-service-transport_manipulation.c index 145ffc078..de65c44a4 100644 --- a/src/transport/gnunet-service-transport_manipulation.c +++ b/src/transport/gnunet-service-transport_manipulation.c @@ -166,6 +166,14 @@ set_distance (struct TM_Peer *tmp, struct GNUNET_PeerIdentity *peer, int directi } } + +/** + * Set traffic metric to manipulate + * + * @param cls closure + * @param client client sending message + * @param message containing information + */ void GST_manipulation_set_metric (void *cls, struct GNUNET_SERVER_Client *client, const struct GNUNET_MessageHeader *message) diff --git a/src/transport/gnunet-service-transport_manipulation.h b/src/transport/gnunet-service-transport_manipulation.h index 091062459..d58c11ea3 100644 --- a/src/transport/gnunet-service-transport_manipulation.h +++ b/src/transport/gnunet-service-transport_manipulation.h @@ -37,6 +37,14 @@ #include "transport.h" +/** + * Set traffic metric to manipulate + * + * @param cls closure + * @param client client sending message + * @param message containing information + */ + void GST_manipulation_set_metric (void *cls, struct GNUNET_SERVER_Client *client, const struct GNUNET_MessageHeader *message); -- cgit v1.2.3