aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-03-28 13:54:03 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-03-28 13:54:03 +0000
commit5649e3ad7dd87a419d0b257ed2a357adfcf1a372 (patch)
treeb0952aa199a1ecedbc3cb1f250ff62da1e90c2ef /src
parentff71fa2f71ad29c1972efd0e57937459a0976389 (diff)
downloadgnunet-5649e3ad7dd87a419d0b257ed2a357adfcf1a372.tar.gz
gnunet-5649e3ad7dd87a419d0b257ed2a357adfcf1a372.zip
more docu
Diffstat (limited to 'src')
-rw-r--r--src/transport/gnunet-service-transport_manipulation.c8
-rw-r--r--src/transport/gnunet-service-transport_manipulation.h8
2 files changed, 16 insertions, 0 deletions
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
166 } 166 }
167} 167}
168 168
169
170/**
171 * Set traffic metric to manipulate
172 *
173 * @param cls closure
174 * @param client client sending message
175 * @param message containing information
176 */
169void 177void
170GST_manipulation_set_metric (void *cls, struct GNUNET_SERVER_Client *client, 178GST_manipulation_set_metric (void *cls, struct GNUNET_SERVER_Client *client,
171 const struct GNUNET_MessageHeader *message) 179 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 @@
37#include "transport.h" 37#include "transport.h"
38 38
39 39
40/**
41 * Set traffic metric to manipulate
42 *
43 * @param cls closure
44 * @param client client sending message
45 * @param message containing information
46 */
47
40void 48void
41GST_manipulation_set_metric (void *cls, struct GNUNET_SERVER_Client *client, 49GST_manipulation_set_metric (void *cls, struct GNUNET_SERVER_Client *client,
42 const struct GNUNET_MessageHeader *message); 50 const struct GNUNET_MessageHeader *message);