From d86cd012c0372c1746fed2a50b7cccca9de99be3 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 14 Oct 2011 08:46:34 +0000 Subject: parsing reservations --- src/ats/gnunet-service-ats_performance.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'src/ats/gnunet-service-ats_performance.h') diff --git a/src/ats/gnunet-service-ats_performance.h b/src/ats/gnunet-service-ats_performance.h index e3a5aa394..24f65ed92 100644 --- a/src/ats/gnunet-service-ats_performance.h +++ b/src/ats/gnunet-service-ats_performance.h @@ -28,14 +28,17 @@ #define GNUNET_SERVICE_ATS_PERFORMANCE_H #include "gnunet_util_lib.h" +#include "ats.h" /** * Register a new performance client. * * @param client handle of the new client + * @param flag options for the client */ void -GAS_performance_add_client (struct GNUNET_SERVER_Client *client); +GAS_performance_add_client (struct GNUNET_SERVER_Client *client, + enum StartFlag flag); /** @@ -48,11 +51,25 @@ void GAS_performance_remove_client (struct GNUNET_SERVER_Client *client); +/** + * Handle 'reservation request' messages from clients. + * + * @param cls unused, NULL + * @param client client that sent the request + * @param message the request message + */ void GAS_handle_reservation_request (void *cls, struct GNUNET_SERVER_Client *client, const struct GNUNET_MessageHeader *message); +/** + * Handle 'preference change' messages from clients. + * + * @param cls unused, NULL + * @param client client that sent the request + * @param message the request message + */ void GAS_handle_preference_change (void *cls, struct GNUNET_SERVER_Client *client, const struct GNUNET_MessageHeader *message); -- cgit v1.2.3