aboutsummaryrefslogtreecommitdiff
path: root/src/experimentation
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-21 16:03:30 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-21 16:03:30 +0000
commita89c7a30d499bac96890929d745fad063eb707b2 (patch)
treecb001facf8da3cfc9e9bfaa854fb99b9b51ec636 /src/experimentation
parentd70d18816c37c30e02977a2cc2bdb2368e95a4de (diff)
downloadgnunet-a89c7a30d499bac96890929d745fad063eb707b2.tar.gz
gnunet-a89c7a30d499bac96890929d745fad063eb707b2.zip
removing deprecated argument in 'init' callback of GNUNET_CORE_connect
Diffstat (limited to 'src/experimentation')
-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)