diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-05 15:09:28 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-05 15:09:28 +0200 |
commit | c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207 (patch) | |
tree | cac3ce030d77b4cbe7c7dc62ed58cfe6d24f73e1 /src/include/gnunet_transport_monitor_service.h | |
parent | fbb71d527c7d6babf269a8fefce1db291b9f7068 (diff) | |
download | gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.tar.gz gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.zip |
global reindent, now with uncrustify hook enabled
Diffstat (limited to 'src/include/gnunet_transport_monitor_service.h')
-rw-r--r-- | src/include/gnunet_transport_monitor_service.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/include/gnunet_transport_monitor_service.h b/src/include/gnunet_transport_monitor_service.h index a67fca778..f39be16d7 100644 --- a/src/include/gnunet_transport_monitor_service.h +++ b/src/include/gnunet_transport_monitor_service.h | |||
@@ -56,7 +56,8 @@ 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 | { | ||
60 | /** | 61 | /** |
61 | * Address we have for the peer, human-readable, 0-terminated, in UTF-8. | 62 | * Address we have for the peer, human-readable, 0-terminated, in UTF-8. |
62 | */ | 63 | */ |
@@ -123,7 +124,8 @@ struct GNUNET_TRANSPORT_MonitorInformation { | |||
123 | typedef void | 124 | typedef void |
124 | (*GNUNET_TRANSPORT_MonitorCallback) (void *cls, | 125 | (*GNUNET_TRANSPORT_MonitorCallback) (void *cls, |
125 | const struct GNUNET_PeerIdentity *peer, | 126 | const struct GNUNET_PeerIdentity *peer, |
126 | const struct GNUNET_TRANSPORT_MonitorInformation *mi); | 127 | const struct |
128 | GNUNET_TRANSPORT_MonitorInformation *mi); | ||
127 | 129 | ||
128 | 130 | ||
129 | /** | 131 | /** |
@@ -159,11 +161,11 @@ struct GNUNET_TRANSPORT_MonitorContext; | |||
159 | * @param cb_cls closure for @a mc | 161 | * @param cb_cls closure for @a mc |
160 | */ | 162 | */ |
161 | struct GNUNET_TRANSPORT_MonitorContext * | 163 | struct GNUNET_TRANSPORT_MonitorContext * |
162 | GNUNET_TRANSPORT_monitor(const struct GNUNET_CONFIGURATION_Handle *cfg, | 164 | GNUNET_TRANSPORT_monitor (const struct GNUNET_CONFIGURATION_Handle *cfg, |
163 | const struct GNUNET_PeerIdentity *peer, | 165 | const struct GNUNET_PeerIdentity *peer, |
164 | int one_shot, | 166 | int one_shot, |
165 | GNUNET_TRANSPORT_MonitorCallback cb, | 167 | GNUNET_TRANSPORT_MonitorCallback cb, |
166 | void *cb_cls); | 168 | void *cb_cls); |
167 | 169 | ||
168 | 170 | ||
169 | /** | 171 | /** |
@@ -172,7 +174,7 @@ GNUNET_TRANSPORT_monitor(const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
172 | * @param mc handle for the request to cancel | 174 | * @param mc handle for the request to cancel |
173 | */ | 175 | */ |
174 | void | 176 | void |
175 | GNUNET_TRANSPORT_monitor_cancel(struct GNUNET_TRANSPORT_MonitorContext *mc); | 177 | GNUNET_TRANSPORT_monitor_cancel (struct GNUNET_TRANSPORT_MonitorContext *mc); |
176 | 178 | ||
177 | 179 | ||
178 | #if 0 /* keep Emacsens' auto-indent happy */ | 180 | #if 0 /* keep Emacsens' auto-indent happy */ |