diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/transport/gnunet-service-transport_manipulation.c | 8 | ||||
-rw-r--r-- | src/transport/gnunet-service-transport_manipulation.h | 8 |
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 | */ | ||
169 | void | 177 | void |
170 | GST_manipulation_set_metric (void *cls, struct GNUNET_SERVER_Client *client, | 178 | GST_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 | |||
40 | void | 48 | void |
41 | GST_manipulation_set_metric (void *cls, struct GNUNET_SERVER_Client *client, | 49 | GST_manipulation_set_metric (void *cls, struct GNUNET_SERVER_Client *client, |
42 | const struct GNUNET_MessageHeader *message); | 50 | const struct GNUNET_MessageHeader *message); |