diff options
Diffstat (limited to 'src/transport/gnunet-service-transport_manipulation.h')
-rw-r--r-- | src/transport/gnunet-service-transport_manipulation.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/transport/gnunet-service-transport_manipulation.h b/src/transport/gnunet-service-transport_manipulation.h index e2ab69d94..b84f3fc32 100644 --- a/src/transport/gnunet-service-transport_manipulation.h +++ b/src/transport/gnunet-service-transport_manipulation.h | |||
@@ -42,7 +42,7 @@ | |||
42 | * @param message containing information | 42 | * @param message containing information |
43 | */ | 43 | */ |
44 | void | 44 | void |
45 | GST_manipulation_set_metric(const struct TrafficMetricMessage *tm); | 45 | GST_manipulation_set_metric (const struct TrafficMetricMessage *tm); |
46 | 46 | ||
47 | 47 | ||
48 | /** | 48 | /** |
@@ -56,12 +56,12 @@ GST_manipulation_set_metric(const struct TrafficMetricMessage *tm); | |||
56 | * @param cont_cls cls for continuation | 56 | * @param cont_cls cls for continuation |
57 | */ | 57 | */ |
58 | void | 58 | void |
59 | GST_manipulation_send(const struct GNUNET_PeerIdentity *target, | 59 | GST_manipulation_send (const struct GNUNET_PeerIdentity *target, |
60 | const void *msg, | 60 | const void *msg, |
61 | size_t msg_size, | 61 | size_t msg_size, |
62 | struct GNUNET_TIME_Relative timeout, | 62 | struct GNUNET_TIME_Relative timeout, |
63 | GST_NeighbourSendContinuation cont, | 63 | GST_NeighbourSendContinuation cont, |
64 | void *cont_cls); | 64 | void *cont_cls); |
65 | 65 | ||
66 | 66 | ||
67 | /** | 67 | /** |
@@ -75,10 +75,10 @@ GST_manipulation_send(const struct GNUNET_PeerIdentity *target, | |||
75 | * @return manipulated delay for next receive | 75 | * @return manipulated delay for next receive |
76 | */ | 76 | */ |
77 | struct GNUNET_TIME_Relative | 77 | struct GNUNET_TIME_Relative |
78 | GST_manipulation_recv(void *cls, | 78 | GST_manipulation_recv (void *cls, |
79 | const struct GNUNET_HELLO_Address *address, | 79 | const struct GNUNET_HELLO_Address *address, |
80 | struct GNUNET_ATS_Session *session, | 80 | struct GNUNET_ATS_Session *session, |
81 | const struct GNUNET_MessageHeader *message); | 81 | const struct GNUNET_MessageHeader *message); |
82 | 82 | ||
83 | 83 | ||
84 | /** | 84 | /** |
@@ -90,9 +90,9 @@ GST_manipulation_recv(void *cls, | |||
90 | * @param prop[IN|OUT] metrics to modify | 90 | * @param prop[IN|OUT] metrics to modify |
91 | */ | 91 | */ |
92 | void | 92 | void |
93 | GST_manipulation_manipulate_metrics(const struct GNUNET_HELLO_Address *address, | 93 | GST_manipulation_manipulate_metrics (const struct GNUNET_HELLO_Address *address, |
94 | struct GNUNET_ATS_Session *session, | 94 | struct GNUNET_ATS_Session *session, |
95 | struct GNUNET_ATS_Properties *prop); | 95 | struct GNUNET_ATS_Properties *prop); |
96 | 96 | ||
97 | 97 | ||
98 | /** | 98 | /** |
@@ -101,21 +101,21 @@ GST_manipulation_manipulate_metrics(const struct GNUNET_HELLO_Address *address, | |||
101 | * @param peer the disconnecting peer | 101 | * @param peer the disconnecting peer |
102 | */ | 102 | */ |
103 | void | 103 | void |
104 | GST_manipulation_peer_disconnect(const struct GNUNET_PeerIdentity *peer); | 104 | GST_manipulation_peer_disconnect (const struct GNUNET_PeerIdentity *peer); |
105 | 105 | ||
106 | 106 | ||
107 | /** | 107 | /** |
108 | * Initialize traffic manipulation | 108 | * Initialize traffic manipulation |
109 | */ | 109 | */ |
110 | void | 110 | void |
111 | GST_manipulation_init(void); | 111 | GST_manipulation_init (void); |
112 | 112 | ||
113 | 113 | ||
114 | /** | 114 | /** |
115 | * Stop traffic manipulation | 115 | * Stop traffic manipulation |
116 | */ | 116 | */ |
117 | void | 117 | void |
118 | GST_manipulation_stop(void); | 118 | GST_manipulation_stop (void); |
119 | 119 | ||
120 | #endif | 120 | #endif |
121 | /* end of file gnunet-service-transport_neighbours.h */ | 121 | /* end of file gnunet-service-transport_neighbours.h */ |