aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats_performance.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-14 08:13:38 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-14 08:13:38 +0000
commit530b88b4942a070b1ab2ee43f9d1e084497dd769 (patch)
treeb9d2ebbb5b67cf7deddaf14543c36bc8be306627 /src/ats/gnunet-service-ats_performance.h
parente047b52bb409063e65abdcfcf108007fac42c95e (diff)
downloadgnunet-530b88b4942a070b1ab2ee43f9d1e084497dd769.tar.gz
gnunet-530b88b4942a070b1ab2ee43f9d1e084497dd769.zip
stuff
Diffstat (limited to 'src/ats/gnunet-service-ats_performance.h')
-rw-r--r--src/ats/gnunet-service-ats_performance.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/ats/gnunet-service-ats_performance.h b/src/ats/gnunet-service-ats_performance.h
index cb6677f5b..e3a5aa394 100644
--- a/src/ats/gnunet-service-ats_performance.h
+++ b/src/ats/gnunet-service-ats_performance.h
@@ -29,10 +29,21 @@
29 29
30#include "gnunet_util_lib.h" 30#include "gnunet_util_lib.h"
31 31
32/**
33 * Register a new performance client.
34 *
35 * @param client handle of the new client
36 */
32void 37void
33GAS_performance_add_client (struct GNUNET_SERVER_Client *client); 38GAS_performance_add_client (struct GNUNET_SERVER_Client *client);
34 39
35 40
41/**
42 * Unregister a client (which may have been a performance client,
43 * but this is not assured).
44 *
45 * @param client handle of the (now dead) client
46 */
36void 47void
37GAS_performance_remove_client (struct GNUNET_SERVER_Client *client); 48GAS_performance_remove_client (struct GNUNET_SERVER_Client *client);
38 49
@@ -47,5 +58,21 @@ GAS_handle_preference_change (void *cls, struct GNUNET_SERVER_Client *client,
47 const struct GNUNET_MessageHeader *message); 58 const struct GNUNET_MessageHeader *message);
48 59
49 60
61/**
62 * Initialize performance subsystem.
63 *
64 * @param server handle to our server
65 */
66void
67GAS_performance_init (struct GNUNET_SERVER_Handle *server);
68
69
70/**
71 * Shutdown performance subsystem.
72 */
73void
74GAS_performance_done (void);
75
76
50#endif 77#endif
51/* end of gnunet-service-ats_performance.h */ 78/* end of gnunet-service-ats_performance.h */