copy from API
authorChristian Grothoff <christian@grothoff.org>
Thu, 6 Oct 2011 11:51:43 +0000 (11:51 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 6 Oct 2011 11:51:43 +0000 (11:51 +0000)
src/core/gnunet-service-core_clients.c

index e8a71342709a8f427f4c172793d42b58a252d2d9..791e9f5f986e0405ec6e920a03cef459c4d9460f 100644 (file)
@@ -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.
  *