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/core/gnunet-service-core.h | |
parent | fbb71d527c7d6babf269a8fefce1db291b9f7068 (diff) | |
download | gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.tar.gz gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.zip |
global reindent, now with uncrustify hook enabled
Diffstat (limited to 'src/core/gnunet-service-core.h')
-rw-r--r-- | src/core/gnunet-service-core.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/core/gnunet-service-core.h b/src/core/gnunet-service-core.h index 7cb4dffa9..0f71f221a 100644 --- a/src/core/gnunet-service-core.h +++ b/src/core/gnunet-service-core.h | |||
@@ -43,7 +43,8 @@ struct GSC_Client; | |||
43 | * client that is still pending. (This struct is used by | 43 | * client that is still pending. (This struct is used by |
44 | * both the 'CLIENTS' and 'SESSIONS' subsystems.) | 44 | * both the 'CLIENTS' and 'SESSIONS' subsystems.) |
45 | */ | 45 | */ |
46 | struct GSC_ClientActiveRequest { | 46 | struct GSC_ClientActiveRequest |
47 | { | ||
47 | /** | 48 | /** |
48 | * Active requests are kept in a doubly-linked list of | 49 | * Active requests are kept in a doubly-linked list of |
49 | * the respective target peer. | 50 | * the respective target peer. |
@@ -106,7 +107,7 @@ struct GSC_ClientActiveRequest { | |||
106 | * and SESSIONS after this call. | 107 | * and SESSIONS after this call. |
107 | */ | 108 | */ |
108 | void | 109 | void |
109 | GSC_CLIENTS_solicit_request(struct GSC_ClientActiveRequest *car); | 110 | GSC_CLIENTS_solicit_request (struct GSC_ClientActiveRequest *car); |
110 | 111 | ||
111 | 112 | ||
112 | /** | 113 | /** |
@@ -122,8 +123,8 @@ GSC_CLIENTS_solicit_request(struct GSC_ClientActiveRequest *car); | |||
122 | * and we should thus drop the connection | 123 | * and we should thus drop the connection |
123 | */ | 124 | */ |
124 | void | 125 | void |
125 | GSC_CLIENTS_reject_request(struct GSC_ClientActiveRequest *car, | 126 | GSC_CLIENTS_reject_request (struct GSC_ClientActiveRequest *car, |
126 | int drop_client); | 127 | int drop_client); |
127 | 128 | ||
128 | 129 | ||
129 | /** | 130 | /** |
@@ -137,7 +138,7 @@ GSC_CLIENTS_reject_request(struct GSC_ClientActiveRequest *car, | |||
137 | * @param tmap_new updated type map for the neighbour, NULL for disconnect | 138 | * @param tmap_new updated type map for the neighbour, NULL for disconnect |
138 | */ | 139 | */ |
139 | void | 140 | void |
140 | GSC_CLIENTS_notify_client_about_neighbour( | 141 | GSC_CLIENTS_notify_client_about_neighbour ( |
141 | struct GSC_Client *client, | 142 | struct GSC_Client *client, |
142 | const struct GNUNET_PeerIdentity *neighbour, | 143 | const struct GNUNET_PeerIdentity *neighbour, |
143 | const struct GSC_TypeMap *tmap_old, | 144 | const struct GSC_TypeMap *tmap_old, |
@@ -156,10 +157,10 @@ GSC_CLIENTS_notify_client_about_neighbour( | |||
156 | * receive the message | 157 | * receive the message |
157 | */ | 158 | */ |
158 | void | 159 | void |
159 | GSC_CLIENTS_deliver_message(const struct GNUNET_PeerIdentity *sender, | 160 | GSC_CLIENTS_deliver_message (const struct GNUNET_PeerIdentity *sender, |
160 | const struct GNUNET_MessageHeader *msg, | 161 | const struct GNUNET_MessageHeader *msg, |
161 | uint16_t msize, | 162 | uint16_t msize, |
162 | uint32_t options); | 163 | uint32_t options); |
163 | 164 | ||
164 | 165 | ||
165 | /** | 166 | /** |
@@ -172,7 +173,7 @@ GSC_CLIENTS_deliver_message(const struct GNUNET_PeerIdentity *sender, | |||
172 | * @param tmap_new updated type map for the neighbour, NULL for disconnect | 173 | * @param tmap_new updated type map for the neighbour, NULL for disconnect |
173 | */ | 174 | */ |
174 | void | 175 | void |
175 | GSC_CLIENTS_notify_clients_about_neighbour( | 176 | GSC_CLIENTS_notify_clients_about_neighbour ( |
176 | const struct GNUNET_PeerIdentity *neighbour, | 177 | const struct GNUNET_PeerIdentity *neighbour, |
177 | const struct GSC_TypeMap *tmap_old, | 178 | const struct GSC_TypeMap *tmap_old, |
178 | const struct GSC_TypeMap *tmap_new); | 179 | const struct GSC_TypeMap *tmap_new); |