summaryrefslogtreecommitdiff
path: root/src/core/gnunet-core.c
diff options
context:
space:
mode:
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 *