aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_ats_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_ats_service.h')
-rw-r--r--src/include/gnunet_ats_service.h40
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 */
201struct GNUNET_ATS_ConnectivityHandle * 201struct GNUNET_ATS_ConnectivityHandle *
202GNUNET_ATS_connectivity_init (const struct GNUNET_CONFIGURATION_Handle *cfg); 202GNUNET_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 */
210void 210void
211GNUNET_ATS_connectivity_done (struct GNUNET_ATS_ConnectivityHandle *ch); 211GNUNET_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);
223struct GNUNET_ATS_ConnectivitySuggestHandle * 223struct GNUNET_ATS_ConnectivitySuggestHandle *
224GNUNET_ATS_connectivity_suggest (struct GNUNET_ATS_ConnectivityHandle *ch, 224GNUNET_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 */
234void 234void
235GNUNET_ATS_connectivity_suggest_cancel (struct 235GNUNET_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
288struct GNUNET_ATS_SchedulingHandle * 288struct GNUNET_ATS_SchedulingHandle *
289GNUNET_ATS_scheduling_init (const struct GNUNET_CONFIGURATION_Handle *cfg, 289GNUNET_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 */
299void 299void
300GNUNET_ATS_scheduling_done (struct GNUNET_ATS_SchedulingHandle *sh); 300GNUNET_ATS_scheduling_done (struct GNUNET_ATS_SchedulingHandle *sh) __attribute__((deprecated));
301 301
302 302
303/** 303/**
@@ -322,7 +322,7 @@ struct GNUNET_ATS_AddressRecord *
322GNUNET_ATS_address_add (struct GNUNET_ATS_SchedulingHandle *sh, 322GNUNET_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 */
334void 334void
335GNUNET_ATS_address_add_session (struct GNUNET_ATS_AddressRecord *ar, 335GNUNET_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 */
351int 351int
352GNUNET_ATS_address_del_session (struct GNUNET_ATS_AddressRecord *ar, 352GNUNET_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 */
369void 369void
370GNUNET_ATS_address_update (struct GNUNET_ATS_AddressRecord *ar, 370GNUNET_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 */
380void 380void
381GNUNET_ATS_address_destroy (struct GNUNET_ATS_AddressRecord *ar); 381GNUNET_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;
434struct GNUNET_ATS_PerformanceHandle * 434struct GNUNET_ATS_PerformanceHandle *
435GNUNET_ATS_performance_init (const struct GNUNET_CONFIGURATION_Handle *cfg, 435GNUNET_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 */
466void 466void
467GNUNET_ATS_performance_list_addresses_cancel (struct 467GNUNET_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 */
476void 476void
477GNUNET_ATS_performance_done (struct GNUNET_ATS_PerformanceHandle *ph); 477GNUNET_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 */
530void 530void
531GNUNET_ATS_reserve_bandwidth_cancel (struct GNUNET_ATS_ReservationContext *rc); 531GNUNET_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 */
581const char * 581const char *
582GNUNET_ATS_print_preference_type (enum GNUNET_ATS_PreferenceKind type); 582GNUNET_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
620GNUNET_ATS_performance_give_feedback (struct GNUNET_ATS_PerformanceHandle *ph, 620GNUNET_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