aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats_reservations.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-09-21 10:56:28 +0000
committerChristian Grothoff <christian@grothoff.org>2016-09-21 10:56:28 +0000
commitd4afc6e37a14fe3257263c377a243c1a22ed9ee5 (patch)
treeccfce6d4f92808372d3e7ebfe9f5372e9f21f50c /src/ats/gnunet-service-ats_reservations.h
parent60d02b5b0899f454cb65408bd2ed4c453fa75a3d (diff)
migrating more services to new service API
Diffstat (limited to 'src/ats/gnunet-service-ats_reservations.h')
-rw-r--r--src/ats/gnunet-service-ats_reservations.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ats/gnunet-service-ats_reservations.h b/src/ats/gnunet-service-ats_reservations.h
index cc51e82a5b..ec28053b5a 100644
--- a/src/ats/gnunet-service-ats_reservations.h
+++ b/src/ats/gnunet-service-ats_reservations.h
@@ -27,6 +27,7 @@
#define GNUNET_SERVICE_ATS_RESERVATIONS_H
#include "gnunet_util_lib.h"
+#include "ats.h"
/**
@@ -46,14 +47,12 @@ GAS_reservations_set_bandwidth (const struct GNUNET_PeerIdentity *peer,
/**
* 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);
+GAS_handle_reservation_request (struct GNUNET_SERVICE_Client *client,
+ const struct ReservationRequestMessage *message);
/**
@@ -62,7 +61,7 @@ GAS_handle_reservation_request (void *cls,
* @param server handle to our server
*/
void
-GAS_reservations_init (struct GNUNET_SERVER_Handle *server);
+GAS_reservations_init (void);
/**