diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-09-21 10:56:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-09-21 10:56:28 +0000 |
commit | d4afc6e37a14fe3257263c377a243c1a22ed9ee5 (patch) | |
tree | ccfce6d4f92808372d3e7ebfe9f5372e9f21f50c /src/ats/gnunet-service-ats_reservations.h | |
parent | 60d02b5b0899f454cb65408bd2ed4c453fa75a3d (diff) | |
download | gnunet-d4afc6e37a14fe3257263c377a243c1a22ed9ee5.tar.gz gnunet-d4afc6e37a14fe3257263c377a243c1a22ed9ee5.zip |
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.h | 9 |
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 cc51e82a5..ec28053b5 100644 --- a/src/ats/gnunet-service-ats_reservations.h +++ b/src/ats/gnunet-service-ats_reservations.h | |||
@@ -27,6 +27,7 @@ | |||
27 | #define GNUNET_SERVICE_ATS_RESERVATIONS_H | 27 | #define GNUNET_SERVICE_ATS_RESERVATIONS_H |
28 | 28 | ||
29 | #include "gnunet_util_lib.h" | 29 | #include "gnunet_util_lib.h" |
30 | #include "ats.h" | ||
30 | 31 | ||
31 | 32 | ||
32 | /** | 33 | /** |
@@ -46,14 +47,12 @@ GAS_reservations_set_bandwidth (const struct GNUNET_PeerIdentity *peer, | |||
46 | /** | 47 | /** |
47 | * Handle 'reservation request' messages from clients. | 48 | * Handle 'reservation request' messages from clients. |
48 | * | 49 | * |
49 | * @param cls unused, NULL | ||
50 | * @param client client that sent the request | 50 | * @param client client that sent the request |
51 | * @param message the request message | 51 | * @param message the request message |
52 | */ | 52 | */ |
53 | void | 53 | void |
54 | GAS_handle_reservation_request (void *cls, | 54 | GAS_handle_reservation_request (struct GNUNET_SERVICE_Client *client, |
55 | struct GNUNET_SERVER_Client *client, | 55 | const struct ReservationRequestMessage *message); |
56 | const struct GNUNET_MessageHeader *message); | ||
57 | 56 | ||
58 | 57 | ||
59 | /** | 58 | /** |
@@ -62,7 +61,7 @@ GAS_handle_reservation_request (void *cls, | |||
62 | * @param server handle to our server | 61 | * @param server handle to our server |
63 | */ | 62 | */ |
64 | void | 63 | void |
65 | GAS_reservations_init (struct GNUNET_SERVER_Handle *server); | 64 | GAS_reservations_init (void); |
66 | 65 | ||
67 | 66 | ||
68 | /** | 67 | /** |