aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_manipulation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-service-transport_manipulation.h')
-rw-r--r--src/transport/gnunet-service-transport_manipulation.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/transport/gnunet-service-transport_manipulation.h b/src/transport/gnunet-service-transport_manipulation.h
index 87e71329a..e2ab69d94 100644
--- a/src/transport/gnunet-service-transport_manipulation.h
+++ b/src/transport/gnunet-service-transport_manipulation.h
@@ -11,12 +11,12 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19*/ 19 */
20 20
21/** 21/**
22 * @file transport/gnunet-service-transport_neighbours.h 22 * @file transport/gnunet-service-transport_neighbours.h
@@ -42,7 +42,7 @@
42 * @param message containing information 42 * @param message containing information
43 */ 43 */
44void 44void
45GST_manipulation_set_metric (const struct TrafficMetricMessage *tm); 45GST_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 */
58void 58void
59GST_manipulation_send (const struct GNUNET_PeerIdentity *target, 59GST_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 */
77struct GNUNET_TIME_Relative 77struct GNUNET_TIME_Relative
78GST_manipulation_recv (void *cls, 78GST_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 */
92void 92void
93GST_manipulation_manipulate_metrics (const struct GNUNET_HELLO_Address *address, 93GST_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 */
103void 103void
104GST_manipulation_peer_disconnect (const struct GNUNET_PeerIdentity *peer); 104GST_manipulation_peer_disconnect(const struct GNUNET_PeerIdentity *peer);
105 105
106 106
107/** 107/**
108 * Initialize traffic manipulation 108 * Initialize traffic manipulation
109 */ 109 */
110void 110void
111GST_manipulation_init (void); 111GST_manipulation_init(void);
112 112
113 113
114/** 114/**
115 * Stop traffic manipulation 115 * Stop traffic manipulation
116 */ 116 */
117void 117void
118GST_manipulation_stop (void); 118GST_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 */