aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats_addresses.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-18 12:58:16 +0000
committerChristian Grothoff <christian@grothoff.org>2015-01-18 12:58:16 +0000
commit41fb4bc77ef852602063c1723366314ccbefc0a6 (patch)
tree0d06aaa0076c543c9a073828c04c6c699f8778c4 /src/ats/gnunet-service-ats_addresses.h
parent9fae47e9f9555b5d7a10b86b7f2de5cd9e6c0c1c (diff)
downloadgnunet-41fb4bc77ef852602063c1723366314ccbefc0a6.tar.gz
gnunet-41fb4bc77ef852602063c1723366314ccbefc0a6.zip
always use a slot, even if the session is NULL, simplify logic and document what still needs to be fixed
Diffstat (limited to 'src/ats/gnunet-service-ats_addresses.h')
-rw-r--r--src/ats/gnunet-service-ats_addresses.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ats/gnunet-service-ats_addresses.h b/src/ats/gnunet-service-ats_addresses.h
index fa1aa81d9..5dea30d77 100644
--- a/src/ats/gnunet-service-ats_addresses.h
+++ b/src/ats/gnunet-service-ats_addresses.h
@@ -319,7 +319,7 @@ struct ATS_Address
319 size_t addr_len; 319 size_t addr_len;
320 320
321 /** 321 /**
322 * Session ID, can be 0 322 * Session ID, can never be 0.
323 */ 323 */
324 uint32_t session_id; 324 uint32_t session_id;
325 325
@@ -445,7 +445,7 @@ GAS_addresses_done (struct GAS_Addresses_Handle *handle);
445 * @param plugin_addr plugin address 445 * @param plugin_addr plugin address
446 * @param plugin_addr_len length of the plugin address 446 * @param plugin_addr_len length of the plugin address
447 * @param local_address_info the local address for the address 447 * @param local_address_info the local address for the address
448 * @param session_id session id, can be 0. 448 * @param session_id session id, can never be 0.
449 * @param atsi performance information for this address 449 * @param atsi performance information for this address
450 * @param atsi_count number of performance information contained in @a atsi 450 * @param atsi_count number of performance information contained in @a atsi
451 */ 451 */
@@ -477,7 +477,7 @@ GAS_addresses_add (struct GAS_Addresses_Handle *handle,
477 * @param plugin_addr plugin address 477 * @param plugin_addr plugin address
478 * @param plugin_addr_len length of the plugin address in @a plugin_addr 478 * @param plugin_addr_len length of the plugin address in @a plugin_addr
479 * @param local_address_info the local address for the address 479 * @param local_address_info the local address for the address
480 * @param session_id session id, can be 0 480 * @param session_id session id, can never be 0
481 * @param in_use #GNUNET_YES if #GNUNET_NO FIXME 481 * @param in_use #GNUNET_YES if #GNUNET_NO FIXME
482 * @return #GNUNET_SYSERR on failure (address unknown ...) 482 * @return #GNUNET_SYSERR on failure (address unknown ...)
483 */ 483 */
@@ -504,7 +504,7 @@ GAS_addresses_in_use (struct GAS_Addresses_Handle *handle,
504 * @param plugin_addr plugin address 504 * @param plugin_addr plugin address
505 * @param plugin_addr_len length of the plugin address 505 * @param plugin_addr_len length of the plugin address
506 * @param local_address_info the local address for the address 506 * @param local_address_info the local address for the address
507 * @param session_id session id, can be 0 507 * @param session_id session id, can never be 0
508 * @param atsi performance information for this address 508 * @param atsi performance information for this address
509 * @param atsi_count number of performance information contained in @a atsi 509 * @param atsi_count number of performance information contained in @a atsi
510 */ 510 */
@@ -528,7 +528,7 @@ GAS_addresses_update (struct GAS_Addresses_Handle *handle,
528 * @param plugin_name transport plugin name 528 * @param plugin_name transport plugin name
529 * @param plugin_addr plugin address 529 * @param plugin_addr plugin address
530 * @param plugin_addr_len length of the plugin address in @a plugin_addr 530 * @param plugin_addr_len length of the plugin address in @a plugin_addr
531 * @param session_id session id, can be 0 531 * @param session_id session id, can never be 0
532 * @param local_address_info the local address for the address 532 * @param local_address_info the local address for the address
533 */ 533 */
534void 534void