diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-14 08:52:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-14 08:52:15 +0000 |
commit | 0e027fe10f89f0431e8b223528c9a13bdd991802 (patch) | |
tree | cf07db7780589ace49813853e9004b386fc79f21 /src/ats/gnunet-service-ats.c | |
parent | d86cd012c0372c1746fed2a50b7cccca9de99be3 (diff) | |
download | gnunet-0e027fe10f89f0431e8b223528c9a13bdd991802.tar.gz gnunet-0e027fe10f89f0431e8b223528c9a13bdd991802.zip |
complete reservations API
Diffstat (limited to 'src/ats/gnunet-service-ats.c')
-rw-r--r-- | src/ats/gnunet-service-ats.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ats/gnunet-service-ats.c b/src/ats/gnunet-service-ats.c index 10972190f..14bb963b9 100644 --- a/src/ats/gnunet-service-ats.c +++ b/src/ats/gnunet-service-ats.c | |||
@@ -27,9 +27,10 @@ | |||
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #include "gnunet_util_lib.h" | 28 | #include "gnunet_util_lib.h" |
29 | #include "gnunet_ats_service.h" | 29 | #include "gnunet_ats_service.h" |
30 | #include "gnunet-service-ats_addresses.h" | ||
30 | #include "gnunet-service-ats_performance.h" | 31 | #include "gnunet-service-ats_performance.h" |
31 | #include "gnunet-service-ats_scheduling.h" | 32 | #include "gnunet-service-ats_scheduling.h" |
32 | #include "gnunet-service-ats_addresses.h" | 33 | #include "gnunet-service-ats_reservations.h" |
33 | #include "ats.h" | 34 | #include "ats.h" |
34 | 35 | ||
35 | 36 | ||
@@ -97,6 +98,8 @@ cleanup_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
97 | { | 98 | { |
98 | GAS_addresses_done (); | 99 | GAS_addresses_done (); |
99 | GAS_scheduling_done (); | 100 | GAS_scheduling_done (); |
101 | GAS_performance_done (); | ||
102 | GAS_reservations_done (); | ||
100 | } | 103 | } |
101 | 104 | ||
102 | 105 | ||
@@ -126,6 +129,8 @@ run (void *cls, struct GNUNET_SERVER_Handle *server, | |||
126 | GNUNET_MESSAGE_TYPE_ATS_PREFERENCE_CHANGE, 0}, | 129 | GNUNET_MESSAGE_TYPE_ATS_PREFERENCE_CHANGE, 0}, |
127 | {NULL, NULL, 0, 0} | 130 | {NULL, NULL, 0, 0} |
128 | }; | 131 | }; |
132 | GAS_reservations_init (); | ||
133 | GAS_performance_init (server); | ||
129 | GAS_scheduling_init (server); | 134 | GAS_scheduling_init (server); |
130 | GAS_addresses_init (); | 135 | GAS_addresses_init (); |
131 | GNUNET_SERVER_disconnect_notify (server, | 136 | GNUNET_SERVER_disconnect_notify (server, |