aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_ats_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-10-18 12:33:21 +0000
committerChristian Grothoff <christian@grothoff.org>2015-10-18 12:33:21 +0000
commit9cd0d5068f3341fe8451a61872894f28a5ac9047 (patch)
tree390b09e837978c1dbef176950b04f42ecf39e140 /src/include/gnunet_ats_service.h
parent38d26a302cba9de8362960186b645e8f2133a538 (diff)
downloadgnunet-9cd0d5068f3341fe8451a61872894f28a5ac9047.tar.gz
gnunet-9cd0d5068f3341fe8451a61872894f28a5ac9047.zip
rename 'struct Session' to 'struct GNUNET_ATS_Session' to satisfy naming conventions
Diffstat (limited to 'src/include/gnunet_ats_service.h')
-rw-r--r--src/include/gnunet_ats_service.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h
index 6a2449a7a..4264f22a4 100644
--- a/src/include/gnunet_ats_service.h
+++ b/src/include/gnunet_ats_service.h
@@ -328,9 +328,8 @@ struct GNUNET_ATS_SchedulingHandle;
328 328
329/** 329/**
330 * Opaque session handle, defined by plugins. Contents not known to ATS. 330 * Opaque session handle, defined by plugins. Contents not known to ATS.
331 * FIXME: This violates our naming conventions.
332 */ 331 */
333struct Session; 332struct GNUNET_ATS_Session;
334 333
335 334
336/** 335/**
@@ -353,7 +352,7 @@ typedef void
353(*GNUNET_ATS_AddressSuggestionCallback) (void *cls, 352(*GNUNET_ATS_AddressSuggestionCallback) (void *cls,
354 const struct GNUNET_PeerIdentity *peer, 353 const struct GNUNET_PeerIdentity *peer,
355 const struct GNUNET_HELLO_Address *address, 354 const struct GNUNET_HELLO_Address *address,
356 struct Session *session, 355 struct GNUNET_ATS_Session *session,
357 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, 356 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out,
358 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in); 357 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in);
359 358
@@ -402,7 +401,7 @@ struct GNUNET_ATS_AddressRecord;
402struct GNUNET_ATS_AddressRecord * 401struct GNUNET_ATS_AddressRecord *
403GNUNET_ATS_address_add (struct GNUNET_ATS_SchedulingHandle *sh, 402GNUNET_ATS_address_add (struct GNUNET_ATS_SchedulingHandle *sh,
404 const struct GNUNET_HELLO_Address *address, 403 const struct GNUNET_HELLO_Address *address,
405 struct Session *session, 404 struct GNUNET_ATS_Session *session,
406 const struct GNUNET_ATS_Properties *prop); 405 const struct GNUNET_ATS_Properties *prop);
407 406
408 407
@@ -414,7 +413,7 @@ GNUNET_ATS_address_add (struct GNUNET_ATS_SchedulingHandle *sh,
414 */ 413 */
415void 414void
416GNUNET_ATS_address_add_session (struct GNUNET_ATS_AddressRecord *ar, 415GNUNET_ATS_address_add_session (struct GNUNET_ATS_AddressRecord *ar,
417 struct Session *session); 416 struct GNUNET_ATS_Session *session);
418 417
419 418
420/** 419/**
@@ -431,7 +430,7 @@ GNUNET_ATS_address_add_session (struct GNUNET_ATS_AddressRecord *ar,
431 */ 430 */
432int 431int
433GNUNET_ATS_address_del_session (struct GNUNET_ATS_AddressRecord *ar, 432GNUNET_ATS_address_del_session (struct GNUNET_ATS_AddressRecord *ar,
434 struct Session *session); 433 struct GNUNET_ATS_Session *session);
435 434
436 435
437/** 436/**