diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-06 11:51:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-06 11:51:43 +0000 |
commit | 5a83f84bc70a5b14f6a3672a1cd47f390f11c4fb (patch) | |
tree | 036b7a4ba1b93f8e80f9f614f576d1566de96a12 /src/core | |
parent | 549d29e91c722026a6e7299d0c7ed6eecb48def1 (diff) | |
download | gnunet-5a83f84bc70a5b14f6a3672a1cd47f390f11c4fb.tar.gz gnunet-5a83f84bc70a5b14f6a3672a1cd47f390f11c4fb.zip |
copy from API
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/gnunet-service-core_clients.c | 18 |
1 files changed, 18 insertions, 0 deletions
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 | |||
@@ -42,6 +42,11 @@ struct Client | |||
42 | struct Client *next; | 42 | struct Client *next; |
43 | 43 | ||
44 | /** | 44 | /** |
45 | * Clients are kept in a linked list. | ||
46 | */ | ||
47 | struct Client *prev; | ||
48 | |||
49 | /** | ||
45 | * Handle for the client with the server API. | 50 | * Handle for the client with the server API. |
46 | */ | 51 | */ |
47 | struct GNUNET_SERVER_Client *client_handle; | 52 | struct GNUNET_SERVER_Client *client_handle; |
@@ -953,6 +958,19 @@ send_p2p_message_to_client (struct Neighbour *sender, struct Client *client, | |||
953 | 958 | ||
954 | 959 | ||
955 | /** | 960 | /** |
961 | * Notify client about a change to existing connection to one of our neighbours. | ||
962 | * | ||
963 | * @param neighbour identity of the neighbour that changed status | ||
964 | * @param tmap updated type map for the neighbour, NULL for disconnect | ||
965 | */ | ||
966 | void | ||
967 | GDS_CLIENTS_notify_clients_about_neighbour (const struct GNUNET_PeerIdentity *neighbour, | ||
968 | const struct GSC_TypeMap *tmap) | ||
969 | { | ||
970 | } | ||
971 | |||
972 | |||
973 | /** | ||
956 | * Deliver P2P message to interested clients. | 974 | * Deliver P2P message to interested clients. |
957 | * | 975 | * |
958 | * @param sender peer who sent us the message | 976 | * @param sender peer who sent us the message |