* @param peer newly connected peer
* @param distance distance to the peer
*/
-static void
+static void
connect_cb (void *cls,
const struct GNUNET_PeerIdentity *peer,
uint32_t distance)
* @param peer connected peer
* @param distance new distance to the peer
*/
-static void
+static void
change_cb (void *cls,
const struct GNUNET_PeerIdentity *peer,
uint32_t distance)
* @param cls closure
* @param peer peer that disconnected
*/
-static void
+static void
disconnect_cb (void *cls,
const struct GNUNET_PeerIdentity *peer)
{
* @param distance how far did the message travel
* @param msg actual message payload
*/
-static void
+static void
message_cb (void *cls,
const struct GNUNET_PeerIdentity *sender,
uint32_t distance,
return 2;
res = GNUNET_PROGRAM_run (argc, argv, "gnunet-dv",
- gettext_noop ("Print information about DV state"),
+ gettext_noop ("Print information about DV state"),
options, &run,
NULL);
GNUNET_free ((void *) argv);