aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_dv_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-13 12:48:34 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-13 12:48:34 +0000
commitfdead2414ccf29e4542d17df5eb18b8bb1d9a878 (patch)
tree108da53bbe006b4c5a308fbff42d425cf7b79db6 /src/include/gnunet_dv_service.h
parentf67fd220c5280b352c6cc9f689d5b4fb528092cd (diff)
downloadgnunet-fdead2414ccf29e4542d17df5eb18b8bb1d9a878.tar.gz
gnunet-fdead2414ccf29e4542d17df5eb18b8bb1d9a878.zip
allow distance change to communicate changes in network of next hop as well, related to #3191, but not sure if it fixes it
Diffstat (limited to 'src/include/gnunet_dv_service.h')
-rw-r--r--src/include/gnunet_dv_service.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/include/gnunet_dv_service.h b/src/include/gnunet_dv_service.h
index 9e49baf57..8ea9b1027 100644
--- a/src/include/gnunet_dv_service.h
+++ b/src/include/gnunet_dv_service.h
@@ -40,7 +40,8 @@
40 */ 40 */
41typedef void (*GNUNET_DV_ConnectCallback)(void *cls, 41typedef void (*GNUNET_DV_ConnectCallback)(void *cls,
42 const struct GNUNET_PeerIdentity *peer, 42 const struct GNUNET_PeerIdentity *peer,
43 uint32_t distance, uint32_t network); 43 uint32_t distance,
44 uint32_t network);
44 45
45 46
46/** 47/**
@@ -50,10 +51,12 @@ typedef void (*GNUNET_DV_ConnectCallback)(void *cls,
50 * @param cls closure 51 * @param cls closure
51 * @param peer connected peer 52 * @param peer connected peer
52 * @param distance new distance to the peer 53 * @param distance new distance to the peer
54 * @param network this network will be used to reach the next hop
53 */ 55 */
54typedef void (*GNUNET_DV_DistanceChangedCallback)(void *cls, 56typedef void (*GNUNET_DV_DistanceChangedCallback)(void *cls,
55 const struct GNUNET_PeerIdentity *peer, 57 const struct GNUNET_PeerIdentity *peer,
56 uint32_t distance); 58 uint32_t distance,
59 uint32_t network);
57 60
58 61
59/** 62/**