diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-14 08:13:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-14 08:13:38 +0000 |
commit | 530b88b4942a070b1ab2ee43f9d1e084497dd769 (patch) | |
tree | b9d2ebbb5b67cf7deddaf14543c36bc8be306627 /src/ats/gnunet-service-ats_performance.h | |
parent | e047b52bb409063e65abdcfcf108007fac42c95e (diff) | |
download | gnunet-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.h | 27 |
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 | */ | ||
32 | void | 37 | void |
33 | GAS_performance_add_client (struct GNUNET_SERVER_Client *client); | 38 | GAS_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 | */ | ||
36 | void | 47 | void |
37 | GAS_performance_remove_client (struct GNUNET_SERVER_Client *client); | 48 | GAS_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 | */ | ||
66 | void | ||
67 | GAS_performance_init (struct GNUNET_SERVER_Handle *server); | ||
68 | |||
69 | |||
70 | /** | ||
71 | * Shutdown performance subsystem. | ||
72 | */ | ||
73 | void | ||
74 | GAS_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 */ |