aboutsummaryrefslogtreecommitdiff
path: root/src/experimentation/gnunet-daemon-experimentation_nodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/experimentation/gnunet-daemon-experimentation_nodes.c')
-rw-r--r--src/experimentation/gnunet-daemon-experimentation_nodes.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/experimentation/gnunet-daemon-experimentation_nodes.c b/src/experimentation/gnunet-daemon-experimentation_nodes.c
index 0590a1dec..14d25b6c9 100644
--- a/src/experimentation/gnunet-daemon-experimentation_nodes.c
+++ b/src/experimentation/gnunet-daemon-experimentation_nodes.c
@@ -172,21 +172,21 @@ static int is_me (const struct GNUNET_PeerIdentity *id)
172 * Core startup callback 172 * Core startup callback
173 * 173 *
174 * @param cls unused 174 * @param cls unused
175 * @param server core service's server handle
176 * @param my_identity my id 175 * @param my_identity my id
177 */ 176 */
178static void 177static void
179core_startup_handler (void *cls, 178core_startup_handler (void *cls,
180 struct GNUNET_CORE_Handle *server,
181 const struct GNUNET_PeerIdentity *my_identity) 179 const struct GNUNET_PeerIdentity *my_identity)
182{ 180{
183 me = *my_identity; 181 me = *my_identity;
184} 182}
185 183
186void 184
185static void
187schedule_transmisson (struct NodeComCtx *e_ctx); 186schedule_transmisson (struct NodeComCtx *e_ctx);
188 187
189size_t 188
189static size_t
190transmit_read_wrapper (void *cls, size_t bufsize, void *buf) 190transmit_read_wrapper (void *cls, size_t bufsize, void *buf)
191{ 191{
192 struct NodeComCtx *e_ctx = cls; 192 struct NodeComCtx *e_ctx = cls;
@@ -207,7 +207,8 @@ transmit_read_wrapper (void *cls, size_t bufsize, void *buf)
207 return res; 207 return res;
208} 208}
209 209
210void 210
211static void
211schedule_transmisson (struct NodeComCtx *e_ctx) 212schedule_transmisson (struct NodeComCtx *e_ctx)
212{ 213{
213 if (NULL != e_ctx->n->cth) 214 if (NULL != e_ctx->n->cth)