aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist/gnunet-daemon-hostlist.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/hostlist/gnunet-daemon-hostlist.c
parentd70d18816c37c30e02977a2cc2bdb2368e95a4de (diff)
downloadgnunet-a89c7a30d499bac96890929d745fad063eb707b2.tar.gz
gnunet-a89c7a30d499bac96890929d745fad063eb707b2.zip
removing deprecated argument in 'init' callback of GNUNET_CORE_connect
Diffstat (limited to 'src/hostlist/gnunet-daemon-hostlist.c')
-rw-r--r--src/hostlist/gnunet-daemon-hostlist.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist.c b/src/hostlist/gnunet-daemon-hostlist.c
index f5ea6bba7..c3543027a 100644
--- a/src/hostlist/gnunet-daemon-hostlist.c
+++ b/src/hostlist/gnunet-daemon-hostlist.c
@@ -129,20 +129,22 @@ GNUNET_NETWORK_STRUCT_END
129 129
130static struct GNUNET_PeerIdentity me; 130static struct GNUNET_PeerIdentity me;
131 131
132
132static void 133static void
133core_init (void *cls, struct GNUNET_CORE_Handle *server, 134core_init (void *cls,
134 const struct GNUNET_PeerIdentity *my_identity) 135 const struct GNUNET_PeerIdentity *my_identity)
135{ 136{
136 me = *my_identity; 137 me = *my_identity;
137} 138}
138 139
140
139/** 141/**
140 * Core handler for p2p hostlist advertisements 142 * Core handler for p2p hostlist advertisements
141 * 143 *
142 * @param cls closure 144 * @param cls closure
143 * @param peer identity of the sender 145 * @param peer identity of the sender
144 * @param message advertisement message we got 146 * @param message advertisement message we got
145 * @return GNUNET_OK on success 147 * @return #GNUNET_OK on success
146 */ 148 */
147static int 149static int
148advertisement_handler (void *cls, const struct GNUNET_PeerIdentity *peer, 150advertisement_handler (void *cls, const struct GNUNET_PeerIdentity *peer,