diff options
author | ng0 <ng0@n0.is> | 2019-09-08 12:33:09 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-09-08 12:33:09 +0000 |
commit | d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb (patch) | |
tree | 9efd18ea7d425652085ed0bd5e8e45604bc5f6b9 /src/transport/gnunet-service-transport_manipulation.h | |
parent | a0fce305c565c0937d917a92712f15e9c5736260 (diff) | |
download | gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.tar.gz gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.zip |
uncrustify as demanded.
Diffstat (limited to 'src/transport/gnunet-service-transport_manipulation.h')
-rw-r--r-- | src/transport/gnunet-service-transport_manipulation.h | 38 |
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 | */ |
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 */ |