diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-10-18 12:27:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-10-18 12:27:54 +0000 |
commit | d7d1e8e10bbb7e2a564f1c1864065244afcae0d4 (patch) | |
tree | 6d3600aa7ea01aacb9a74c70eeffe931e99ebac4 /src | |
parent | ec29799909c1c886fafed250c2caf8f4f46ae2dd (diff) | |
download | gnunet-d7d1e8e10bbb7e2a564f1c1864065244afcae0d4.tar.gz gnunet-d7d1e8e10bbb7e2a564f1c1864065244afcae0d4.zip |
-doxygen
Diffstat (limited to 'src')
-rw-r--r-- | src/ats/ats_api_scheduling.c | 2 | ||||
-rw-r--r-- | src/include/gnunet_ats_service.h | 11 |
2 files changed, 8 insertions, 5 deletions
diff --git a/src/ats/ats_api_scheduling.c b/src/ats/ats_api_scheduling.c index c37032f35..a5dd0827c 100644 --- a/src/ats/ats_api_scheduling.c +++ b/src/ats/ats_api_scheduling.c | |||
@@ -79,7 +79,7 @@ struct GNUNET_ATS_AddressRecord | |||
79 | 79 | ||
80 | /** | 80 | /** |
81 | * Which slot (index) in the session array does | 81 | * Which slot (index) in the session array does |
82 | * this record correspond to? FIXME: | 82 | * this record correspond to? |
83 | * FIXME: a linear search on this is really crappy! | 83 | * FIXME: a linear search on this is really crappy! |
84 | * Maybe switch to a 64-bit global counter and be | 84 | * Maybe switch to a 64-bit global counter and be |
85 | * done with it? Or does that then cause too much | 85 | * done with it? Or does that then cause too much |
diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h index 616b96327..6a2449a7a 100644 --- a/src/include/gnunet_ats_service.h +++ b/src/include/gnunet_ats_service.h | |||
@@ -332,9 +332,12 @@ struct GNUNET_ATS_SchedulingHandle; | |||
332 | */ | 332 | */ |
333 | struct Session; | 333 | struct Session; |
334 | 334 | ||
335 | |||
335 | /** | 336 | /** |
336 | * Signature of a function called by ATS with the current bandwidth | 337 | * Signature of a function called by ATS with the current bandwidth |
337 | * and address preferences as determined by ATS. | 338 | * and address preferences as determined by ATS. If our connection |
339 | * to ATS dies and thus all suggestions become invalid, this function | ||
340 | * is called ONCE with all arguments (except @a cls) being NULL/0. | ||
338 | * | 341 | * |
339 | * @param cls closure | 342 | * @param cls closure |
340 | * @param peer for which we suggest an address, NULL if ATS connection died | 343 | * @param peer for which we suggest an address, NULL if ATS connection died |
@@ -415,9 +418,9 @@ GNUNET_ATS_address_add_session (struct GNUNET_ATS_AddressRecord *ar, | |||
415 | 418 | ||
416 | 419 | ||
417 | /** | 420 | /** |
418 | * A session was destroyed, disassociate it from the | 421 | * A @a session was destroyed, disassociate it from the given address |
419 | * given address record. If this was an incoming | 422 | * record. If this was an incoming addess, destroys the address as |
420 | * addess, destroy the address as well. | 423 | * well. |
421 | * | 424 | * |
422 | * @param ar address record to update information for | 425 | * @param ar address record to update information for |
423 | * @param session session handle | 426 | * @param session session handle |