aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-core.c
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/core/gnunet-core.c
parentd70d18816c37c30e02977a2cc2bdb2368e95a4de (diff)
downloadgnunet-a89c7a30d499bac96890929d745fad063eb707b2.tar.gz
gnunet-a89c7a30d499bac96890929d745fad063eb707b2.zip
removing deprecated argument in 'init' callback of GNUNET_CORE_connect
Diffstat (limited to 'src/core/gnunet-core.c')
-rw-r--r--src/core/gnunet-core.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/core/gnunet-core.c b/src/core/gnunet-core.c
index 37f1caec2..9bfd18ec9 100644
--- a/src/core/gnunet-core.c
+++ b/src/core/gnunet-core.c
@@ -72,7 +72,8 @@ shutdown_task (void *cls,
72 * @param peer peer identity this notification is about 72 * @param peer peer identity this notification is about
73 */ 73 */
74static void 74static void
75connected_peer_callback (void *cls, const struct GNUNET_PeerIdentity *peer) 75connected_peer_callback (void *cls,
76 const struct GNUNET_PeerIdentity *peer)
76{ 77{
77 struct GNUNET_CRYPTO_HashAsciiEncoded enc; 78 struct GNUNET_CRYPTO_HashAsciiEncoded enc;
78 79
@@ -82,11 +83,10 @@ connected_peer_callback (void *cls, const struct GNUNET_PeerIdentity *peer)
82 printf (_("Peer `%s'\n"), (const char *) &enc); 83 printf (_("Peer `%s'\n"), (const char *) &enc);
83} 84}
84 85
85void 86
87static void
86monitor_notify_startup (void *cls, 88monitor_notify_startup (void *cls,
87 struct GNUNET_CORE_Handle * server, 89 const struct GNUNET_PeerIdentity *my_identity)
88 const struct GNUNET_PeerIdentity *
89 my_identity)
90{ 90{
91 my_id = (*my_identity); 91 my_id = (*my_identity);
92} 92}
@@ -146,7 +146,6 @@ monitor_notify_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer)
146} 146}
147 147
148 148
149
150/** 149/**
151 * Main function that will be run by the scheduler. 150 * Main function that will be run by the scheduler.
152 * 151 *