diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-02-06 09:35:56 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-02-06 09:35:56 +0000 |
commit | 7e599b44d257d9d9c6100e4050dc1eb09c9e13d2 (patch) | |
tree | 6f63e09cf3a296d4daf6135077b58a9006e564e9 /src/transport/gnunet-service-transport_clients.h | |
parent | dc0da555fd351b2a96bca0a6494e83f0643fac31 (diff) | |
download | gnunet-7e599b44d257d9d9c6100e4050dc1eb09c9e13d2.tar.gz gnunet-7e599b44d257d9d9c6100e4050dc1eb09c9e13d2.zip |
-applying patch from vminko to fix #1972: adding support for continuous transport-level connection monitoring
Diffstat (limited to 'src/transport/gnunet-service-transport_clients.h')
-rw-r--r-- | src/transport/gnunet-service-transport_clients.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_clients.h b/src/transport/gnunet-service-transport_clients.h index d428fb257..9556620dd 100644 --- a/src/transport/gnunet-service-transport_clients.h +++ b/src/transport/gnunet-service-transport_clients.h | |||
@@ -28,6 +28,7 @@ | |||
28 | 28 | ||
29 | #include "gnunet_statistics_service.h" | 29 | #include "gnunet_statistics_service.h" |
30 | #include "gnunet_util_lib.h" | 30 | #include "gnunet_util_lib.h" |
31 | #include "gnunet_hello_lib.h" | ||
31 | 32 | ||
32 | 33 | ||
33 | /** | 34 | /** |
@@ -68,6 +69,18 @@ GST_clients_unicast (struct GNUNET_SERVER_Client *client, | |||
68 | const struct GNUNET_MessageHeader *msg, int may_drop); | 69 | const struct GNUNET_MessageHeader *msg, int may_drop); |
69 | 70 | ||
70 | 71 | ||
72 | /** | ||
73 | * Broadcast the new active address to all clients monitoring the peer. | ||
74 | * | ||
75 | * @param peer peer this update is about (never NULL) | ||
76 | * @param address address, NULL on disconnect | ||
77 | */ | ||
78 | void | ||
79 | GST_clients_broadcast_address_notification (const struct GNUNET_PeerIdentity | ||
80 | *peer, | ||
81 | const struct GNUNET_HELLO_Address | ||
82 | *address); | ||
83 | |||
71 | 84 | ||
72 | #endif | 85 | #endif |
73 | /* end of file gnunet-service-transport_clients.h */ | 86 | /* end of file gnunet-service-transport_clients.h */ |