aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-08-26 11:42:39 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-08-26 11:42:39 +0000
commit07a8a7388c5e4bf6aa92f2e70d8c808ceb28174c (patch)
treee25db55af5d0346e34fd6b44714b835556cc641e /src/include
parentb9d7efb884f57f888673ddd8499f36ed987d47bc (diff)
downloadgnunet-07a8a7388c5e4bf6aa92f2e70d8c808ceb28174c.tar.gz
gnunet-07a8a7388c5e4bf6aa92f2e70d8c808ceb28174c.zip
changes to server lib
Added a unique ID to struct GNUNET_SERVER_Client to be able to distinguish between different clients
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_server_lib.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/gnunet_server_lib.h b/src/include/gnunet_server_lib.h
index 3d8130c60..45da3efa2 100644
--- a/src/include/gnunet_server_lib.h
+++ b/src/include/gnunet_server_lib.h
@@ -326,6 +326,16 @@ GNUNET_SERVER_client_get_address (struct GNUNET_SERVER_Client *client,
326 326
327 327
328/** 328/**
329 * Retrieve the unique id from the opaque defined GNUNET_SERVER_Client
330 *
331 * @param client the client
332 * @return the unique id
333 */
334uint64_t
335GNUNET_SERVER_client_get_id (struct GNUNET_SERVER_Client *client);
336
337
338/**
329 * Functions with this signature are called whenever a client 339 * Functions with this signature are called whenever a client
330 * is disconnected on the network level. 340 * is disconnected on the network level.
331 * 341 *