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/include/gnunet_transport_monitor_service.h | |
parent | a0fce305c565c0937d917a92712f15e9c5736260 (diff) | |
download | gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.tar.gz gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.zip |
uncrustify as demanded.
Diffstat (limited to 'src/include/gnunet_transport_monitor_service.h')
-rw-r--r-- | src/include/gnunet_transport_monitor_service.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/src/include/gnunet_transport_monitor_service.h b/src/include/gnunet_transport_monitor_service.h index f83fa7e9f..a67fca778 100644 --- a/src/include/gnunet_transport_monitor_service.h +++ b/src/include/gnunet_transport_monitor_service.h | |||
@@ -16,7 +16,7 @@ | |||
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 | * @author Christian Grothoff | 22 | * @author Christian Grothoff |
@@ -56,9 +56,7 @@ extern "C" | |||
56 | /** | 56 | /** |
57 | * Information about another peer's address. | 57 | * Information about another peer's address. |
58 | */ | 58 | */ |
59 | struct GNUNET_TRANSPORT_MonitorInformation | 59 | struct GNUNET_TRANSPORT_MonitorInformation { |
60 | { | ||
61 | |||
62 | /** | 60 | /** |
63 | * Address we have for the peer, human-readable, 0-terminated, in UTF-8. | 61 | * Address we have for the peer, human-readable, 0-terminated, in UTF-8. |
64 | */ | 62 | */ |
@@ -103,7 +101,6 @@ struct GNUNET_TRANSPORT_MonitorInformation | |||
103 | * Current estimate of the RTT. | 101 | * Current estimate of the RTT. |
104 | */ | 102 | */ |
105 | struct GNUNET_TIME_Relative rtt; | 103 | struct GNUNET_TIME_Relative rtt; |
106 | |||
107 | }; | 104 | }; |
108 | 105 | ||
109 | 106 | ||
@@ -162,11 +159,11 @@ struct GNUNET_TRANSPORT_MonitorContext; | |||
162 | * @param cb_cls closure for @a mc | 159 | * @param cb_cls closure for @a mc |
163 | */ | 160 | */ |
164 | struct GNUNET_TRANSPORT_MonitorContext * | 161 | struct GNUNET_TRANSPORT_MonitorContext * |
165 | GNUNET_TRANSPORT_monitor (const struct GNUNET_CONFIGURATION_Handle *cfg, | 162 | GNUNET_TRANSPORT_monitor(const struct GNUNET_CONFIGURATION_Handle *cfg, |
166 | const struct GNUNET_PeerIdentity *peer, | 163 | const struct GNUNET_PeerIdentity *peer, |
167 | int one_shot, | 164 | int one_shot, |
168 | GNUNET_TRANSPORT_MonitorCallback cb, | 165 | GNUNET_TRANSPORT_MonitorCallback cb, |
169 | void *cb_cls); | 166 | void *cb_cls); |
170 | 167 | ||
171 | 168 | ||
172 | /** | 169 | /** |
@@ -175,7 +172,7 @@ GNUNET_TRANSPORT_monitor (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
175 | * @param mc handle for the request to cancel | 172 | * @param mc handle for the request to cancel |
176 | */ | 173 | */ |
177 | void | 174 | void |
178 | GNUNET_TRANSPORT_monitor_cancel (struct GNUNET_TRANSPORT_MonitorContext *mc); | 175 | GNUNET_TRANSPORT_monitor_cancel(struct GNUNET_TRANSPORT_MonitorContext *mc); |
179 | 176 | ||
180 | 177 | ||
181 | #if 0 /* keep Emacsens' auto-indent happy */ | 178 | #if 0 /* keep Emacsens' auto-indent happy */ |