diff options
Diffstat (limited to 'src/include/gnunet_ats_service.h')
-rw-r--r-- | src/include/gnunet_ats_service.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h index ce149875a..07c649642 100644 --- a/src/include/gnunet_ats_service.h +++ b/src/include/gnunet_ats_service.h | |||
@@ -199,7 +199,7 @@ struct GNUNET_ATS_ConnectivitySuggestHandle; | |||
199 | * @return ats connectivity handle, NULL on error | 199 | * @return ats connectivity handle, NULL on error |
200 | */ | 200 | */ |
201 | struct GNUNET_ATS_ConnectivityHandle * | 201 | struct GNUNET_ATS_ConnectivityHandle * |
202 | GNUNET_ATS_connectivity_init (const struct GNUNET_CONFIGURATION_Handle *cfg); | 202 | GNUNET_ATS_connectivity_init (const struct GNUNET_CONFIGURATION_Handle *cfg) __attribute__((deprecated)); |
203 | 203 | ||
204 | 204 | ||
205 | /** | 205 | /** |
@@ -208,7 +208,7 @@ GNUNET_ATS_connectivity_init (const struct GNUNET_CONFIGURATION_Handle *cfg); | |||
208 | * @param ch handle to destroy | 208 | * @param ch handle to destroy |
209 | */ | 209 | */ |
210 | void | 210 | void |
211 | GNUNET_ATS_connectivity_done (struct GNUNET_ATS_ConnectivityHandle *ch); | 211 | GNUNET_ATS_connectivity_done (struct GNUNET_ATS_ConnectivityHandle *ch) __attribute__((deprecated)); |
212 | 212 | ||
213 | 213 | ||
214 | /** | 214 | /** |
@@ -223,7 +223,7 @@ GNUNET_ATS_connectivity_done (struct GNUNET_ATS_ConnectivityHandle *ch); | |||
223 | struct GNUNET_ATS_ConnectivitySuggestHandle * | 223 | struct GNUNET_ATS_ConnectivitySuggestHandle * |
224 | GNUNET_ATS_connectivity_suggest (struct GNUNET_ATS_ConnectivityHandle *ch, | 224 | GNUNET_ATS_connectivity_suggest (struct GNUNET_ATS_ConnectivityHandle *ch, |
225 | const struct GNUNET_PeerIdentity *peer, | 225 | const struct GNUNET_PeerIdentity *peer, |
226 | uint32_t strength); | 226 | uint32_t strength) __attribute__((deprecated)); |
227 | 227 | ||
228 | 228 | ||
229 | /** | 229 | /** |
@@ -233,7 +233,7 @@ GNUNET_ATS_connectivity_suggest (struct GNUNET_ATS_ConnectivityHandle *ch, | |||
233 | */ | 233 | */ |
234 | void | 234 | void |
235 | GNUNET_ATS_connectivity_suggest_cancel (struct | 235 | GNUNET_ATS_connectivity_suggest_cancel (struct |
236 | GNUNET_ATS_ConnectivitySuggestHandle *sh); | 236 | GNUNET_ATS_ConnectivitySuggestHandle *sh) __attribute__((deprecated)); |
237 | 237 | ||
238 | 238 | ||
239 | /* ******************************** Scheduling API ***************************** */ | 239 | /* ******************************** Scheduling API ***************************** */ |
@@ -288,7 +288,7 @@ typedef void | |||
288 | struct GNUNET_ATS_SchedulingHandle * | 288 | struct GNUNET_ATS_SchedulingHandle * |
289 | GNUNET_ATS_scheduling_init (const struct GNUNET_CONFIGURATION_Handle *cfg, | 289 | GNUNET_ATS_scheduling_init (const struct GNUNET_CONFIGURATION_Handle *cfg, |
290 | GNUNET_ATS_AddressSuggestionCallback suggest_cb, | 290 | GNUNET_ATS_AddressSuggestionCallback suggest_cb, |
291 | void *suggest_cb_cls); | 291 | void *suggest_cb_cls) __attribute__((deprecated)); |
292 | 292 | ||
293 | 293 | ||
294 | /** | 294 | /** |
@@ -297,7 +297,7 @@ GNUNET_ATS_scheduling_init (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
297 | * @param sh handle to release | 297 | * @param sh handle to release |
298 | */ | 298 | */ |
299 | void | 299 | void |
300 | GNUNET_ATS_scheduling_done (struct GNUNET_ATS_SchedulingHandle *sh); | 300 | GNUNET_ATS_scheduling_done (struct GNUNET_ATS_SchedulingHandle *sh) __attribute__((deprecated)); |
301 | 301 | ||
302 | 302 | ||
303 | /** | 303 | /** |
@@ -322,7 +322,7 @@ struct GNUNET_ATS_AddressRecord * | |||
322 | GNUNET_ATS_address_add (struct GNUNET_ATS_SchedulingHandle *sh, | 322 | GNUNET_ATS_address_add (struct GNUNET_ATS_SchedulingHandle *sh, |
323 | const struct GNUNET_HELLO_Address *address, | 323 | const struct GNUNET_HELLO_Address *address, |
324 | struct GNUNET_ATS_Session *session, | 324 | struct GNUNET_ATS_Session *session, |
325 | const struct GNUNET_ATS_Properties *prop); | 325 | const struct GNUNET_ATS_Properties *prop) __attribute__((deprecated)); |
326 | 326 | ||
327 | 327 | ||
328 | /** | 328 | /** |
@@ -333,7 +333,7 @@ GNUNET_ATS_address_add (struct GNUNET_ATS_SchedulingHandle *sh, | |||
333 | */ | 333 | */ |
334 | void | 334 | void |
335 | GNUNET_ATS_address_add_session (struct GNUNET_ATS_AddressRecord *ar, | 335 | GNUNET_ATS_address_add_session (struct GNUNET_ATS_AddressRecord *ar, |
336 | struct GNUNET_ATS_Session *session); | 336 | struct GNUNET_ATS_Session *session) __attribute__((deprecated)); |
337 | 337 | ||
338 | 338 | ||
339 | /** | 339 | /** |
@@ -350,7 +350,7 @@ GNUNET_ATS_address_add_session (struct GNUNET_ATS_AddressRecord *ar, | |||
350 | */ | 350 | */ |
351 | int | 351 | int |
352 | GNUNET_ATS_address_del_session (struct GNUNET_ATS_AddressRecord *ar, | 352 | GNUNET_ATS_address_del_session (struct GNUNET_ATS_AddressRecord *ar, |
353 | struct GNUNET_ATS_Session *session); | 353 | struct GNUNET_ATS_Session *session) __attribute__((deprecated)); |
354 | 354 | ||
355 | 355 | ||
356 | /** | 356 | /** |
@@ -368,7 +368,7 @@ GNUNET_ATS_address_del_session (struct GNUNET_ATS_AddressRecord *ar, | |||
368 | */ | 368 | */ |
369 | void | 369 | void |
370 | GNUNET_ATS_address_update (struct GNUNET_ATS_AddressRecord *ar, | 370 | GNUNET_ATS_address_update (struct GNUNET_ATS_AddressRecord *ar, |
371 | const struct GNUNET_ATS_Properties *prop); | 371 | const struct GNUNET_ATS_Properties *prop) __attribute__((deprecated)); |
372 | 372 | ||
373 | 373 | ||
374 | /** | 374 | /** |
@@ -378,7 +378,7 @@ GNUNET_ATS_address_update (struct GNUNET_ATS_AddressRecord *ar, | |||
378 | * expired and ATS may no longer use it | 378 | * expired and ATS may no longer use it |
379 | */ | 379 | */ |
380 | void | 380 | void |
381 | GNUNET_ATS_address_destroy (struct GNUNET_ATS_AddressRecord *ar); | 381 | GNUNET_ATS_address_destroy (struct GNUNET_ATS_AddressRecord *ar) __attribute__((deprecated)); |
382 | 382 | ||
383 | 383 | ||
384 | /* ******************************** Performance API ***************************** */ | 384 | /* ******************************** Performance API ***************************** */ |
@@ -434,7 +434,7 @@ struct GNUNET_ATS_AddressListHandle; | |||
434 | struct GNUNET_ATS_PerformanceHandle * | 434 | struct GNUNET_ATS_PerformanceHandle * |
435 | GNUNET_ATS_performance_init (const struct GNUNET_CONFIGURATION_Handle *cfg, | 435 | GNUNET_ATS_performance_init (const struct GNUNET_CONFIGURATION_Handle *cfg, |
436 | GNUNET_ATS_AddressInformationCallback addr_info_cb, | 436 | GNUNET_ATS_AddressInformationCallback addr_info_cb, |
437 | void *addr_info_cb_cls); | 437 | void *addr_info_cb_cls) __attribute__((deprecated)); |
438 | 438 | ||
439 | 439 | ||
440 | /** | 440 | /** |
@@ -455,7 +455,7 @@ GNUNET_ATS_performance_list_addresses (struct GNUNET_ATS_PerformanceHandle *ph, | |||
455 | int all, | 455 | int all, |
456 | GNUNET_ATS_AddressInformationCallback | 456 | GNUNET_ATS_AddressInformationCallback |
457 | infocb, | 457 | infocb, |
458 | void *infocb_cls); | 458 | void *infocb_cls) __attribute__((deprecated)); |
459 | 459 | ||
460 | 460 | ||
461 | /** | 461 | /** |
@@ -465,7 +465,7 @@ GNUNET_ATS_performance_list_addresses (struct GNUNET_ATS_PerformanceHandle *ph, | |||
465 | */ | 465 | */ |
466 | void | 466 | void |
467 | GNUNET_ATS_performance_list_addresses_cancel (struct | 467 | GNUNET_ATS_performance_list_addresses_cancel (struct |
468 | GNUNET_ATS_AddressListHandle *alh); | 468 | GNUNET_ATS_AddressListHandle *alh) __attribute__((deprecated)); |
469 | 469 | ||
470 | 470 | ||
471 | /** | 471 | /** |
@@ -474,7 +474,7 @@ GNUNET_ATS_performance_list_addresses_cancel (struct | |||
474 | * @param ph handle | 474 | * @param ph handle |
475 | */ | 475 | */ |
476 | void | 476 | void |
477 | GNUNET_ATS_performance_done (struct GNUNET_ATS_PerformanceHandle *ph); | 477 | GNUNET_ATS_performance_done (struct GNUNET_ATS_PerformanceHandle *ph) __attribute__((deprecated)); |
478 | 478 | ||
479 | 479 | ||
480 | /** | 480 | /** |
@@ -519,7 +519,7 @@ GNUNET_ATS_reserve_bandwidth (struct GNUNET_ATS_PerformanceHandle *ph, | |||
519 | const struct GNUNET_PeerIdentity *peer, | 519 | const struct GNUNET_PeerIdentity *peer, |
520 | int32_t amount, | 520 | int32_t amount, |
521 | GNUNET_ATS_ReservationCallback rcb, | 521 | GNUNET_ATS_ReservationCallback rcb, |
522 | void *rcb_cls); | 522 | void *rcb_cls) __attribute__((deprecated)); |
523 | 523 | ||
524 | 524 | ||
525 | /** | 525 | /** |
@@ -528,7 +528,7 @@ GNUNET_ATS_reserve_bandwidth (struct GNUNET_ATS_PerformanceHandle *ph, | |||
528 | * @param rc context returned by the original #GNUNET_ATS_reserve_bandwidth() call | 528 | * @param rc context returned by the original #GNUNET_ATS_reserve_bandwidth() call |
529 | */ | 529 | */ |
530 | void | 530 | void |
531 | GNUNET_ATS_reserve_bandwidth_cancel (struct GNUNET_ATS_ReservationContext *rc); | 531 | GNUNET_ATS_reserve_bandwidth_cancel (struct GNUNET_ATS_ReservationContext *rc) __attribute__((deprecated)); |
532 | 532 | ||
533 | 533 | ||
534 | /** | 534 | /** |
@@ -579,7 +579,7 @@ enum GNUNET_ATS_PreferenceKind | |||
579 | * @return a string or NULL if invalid | 579 | * @return a string or NULL if invalid |
580 | */ | 580 | */ |
581 | const char * | 581 | const char * |
582 | GNUNET_ATS_print_preference_type (enum GNUNET_ATS_PreferenceKind type); | 582 | GNUNET_ATS_print_preference_type (enum GNUNET_ATS_PreferenceKind type) __attribute__((deprecated)); |
583 | 583 | ||
584 | 584 | ||
585 | /** | 585 | /** |
@@ -596,7 +596,7 @@ GNUNET_ATS_performance_change_preference (struct | |||
596 | GNUNET_ATS_PerformanceHandle *ph, | 596 | GNUNET_ATS_PerformanceHandle *ph, |
597 | const struct | 597 | const struct |
598 | GNUNET_PeerIdentity *peer, | 598 | GNUNET_PeerIdentity *peer, |
599 | ...); | 599 | ...) __attribute__((deprecated)); |
600 | 600 | ||
601 | 601 | ||
602 | /** | 602 | /** |
@@ -620,7 +620,7 @@ void | |||
620 | GNUNET_ATS_performance_give_feedback (struct GNUNET_ATS_PerformanceHandle *ph, | 620 | GNUNET_ATS_performance_give_feedback (struct GNUNET_ATS_PerformanceHandle *ph, |
621 | const struct GNUNET_PeerIdentity *peer, | 621 | const struct GNUNET_PeerIdentity *peer, |
622 | const struct GNUNET_TIME_Relative scope, | 622 | const struct GNUNET_TIME_Relative scope, |
623 | ...); | 623 | ...) __attribute__((deprecated)); |
624 | 624 | ||
625 | #endif | 625 | #endif |
626 | 626 | ||