From 5a83f84bc70a5b14f6a3672a1cd47f390f11c4fb Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 6 Oct 2011 11:51:43 +0000 Subject: copy from API --- src/core/gnunet-service-core_clients.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/core') diff --git a/src/core/gnunet-service-core_clients.c b/src/core/gnunet-service-core_clients.c index e8a713427..791e9f5f9 100644 --- a/src/core/gnunet-service-core_clients.c +++ b/src/core/gnunet-service-core_clients.c @@ -41,6 +41,11 @@ struct Client */ struct Client *next; + /** + * Clients are kept in a linked list. + */ + struct Client *prev; + /** * Handle for the client with the server API. */ @@ -952,6 +957,19 @@ send_p2p_message_to_client (struct Neighbour *sender, struct Client *client, +/** + * Notify client about a change to existing connection to one of our neighbours. + * + * @param neighbour identity of the neighbour that changed status + * @param tmap updated type map for the neighbour, NULL for disconnect + */ +void +GDS_CLIENTS_notify_clients_about_neighbour (const struct GNUNET_PeerIdentity *neighbour, + const struct GSC_TypeMap *tmap) +{ +} + + /** * Deliver P2P message to interested clients. * -- cgit v1.2.3