diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-22 21:25:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-22 21:25:54 +0000 |
commit | 750da2796162b92c533f9666104c47407ed09e46 (patch) | |
tree | b1fe3ec2ca36854a15fd8e97760d05e9a54836b9 /src/ats/gnunet-service-ats_addresses.h | |
parent | 9c95f4ea09fa61fc193fc45873f76bf6fe6d93f3 (diff) | |
download | gnunet-750da2796162b92c533f9666104c47407ed09e46.tar.gz gnunet-750da2796162b92c533f9666104c47407ed09e46.zip |
simplifying IPC for address in use and address update
Diffstat (limited to 'src/ats/gnunet-service-ats_addresses.h')
-rw-r--r-- | src/ats/gnunet-service-ats_addresses.h | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/src/ats/gnunet-service-ats_addresses.h b/src/ats/gnunet-service-ats_addresses.h index 5dea30d77..5348617be 100644 --- a/src/ats/gnunet-service-ats_addresses.h +++ b/src/ats/gnunet-service-ats_addresses.h | |||
@@ -473,10 +473,6 @@ GAS_addresses_add (struct GAS_Addresses_Handle *handle, | |||
473 | * | 473 | * |
474 | * @param handle the address handle to use | 474 | * @param handle the address handle to use |
475 | * @param peer peer | 475 | * @param peer peer |
476 | * @param plugin_name transport plugin name | ||
477 | * @param plugin_addr plugin address | ||
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 | ||
480 | * @param session_id session id, can never be 0 | 476 | * @param session_id session id, can never be 0 |
481 | * @param in_use #GNUNET_YES if #GNUNET_NO FIXME | 477 | * @param in_use #GNUNET_YES if #GNUNET_NO FIXME |
482 | * @return #GNUNET_SYSERR on failure (address unknown ...) | 478 | * @return #GNUNET_SYSERR on failure (address unknown ...) |
@@ -484,26 +480,15 @@ GAS_addresses_add (struct GAS_Addresses_Handle *handle, | |||
484 | int | 480 | int |
485 | GAS_addresses_in_use (struct GAS_Addresses_Handle *handle, | 481 | GAS_addresses_in_use (struct GAS_Addresses_Handle *handle, |
486 | const struct GNUNET_PeerIdentity *peer, | 482 | const struct GNUNET_PeerIdentity *peer, |
487 | const char *plugin_name, | ||
488 | const void *plugin_addr, | ||
489 | size_t plugin_addr_len, | ||
490 | uint32_t local_address_info, | ||
491 | uint32_t session_id, | 483 | uint32_t session_id, |
492 | int in_use); | 484 | int in_use); |
493 | 485 | ||
494 | 486 | ||
495 | /** | 487 | /** |
496 | * Update an address with a session or performance information for a peer. | 488 | * Update an address with new performance information for a peer. |
497 | * | ||
498 | * If an address was added without a session it will be updated with the | ||
499 | * session | ||
500 | * | 489 | * |
501 | * @param handle the address handle to use | 490 | * @param handle the address handle to use |
502 | * @param peer peer | 491 | * @param peer peer |
503 | * @param plugin_name transport plugin name | ||
504 | * @param plugin_addr plugin address | ||
505 | * @param plugin_addr_len length of the plugin address | ||
506 | * @param local_address_info the local address for the address | ||
507 | * @param session_id session id, can never be 0 | 492 | * @param session_id session id, can never be 0 |
508 | * @param atsi performance information for this address | 493 | * @param atsi performance information for this address |
509 | * @param atsi_count number of performance information contained in @a atsi | 494 | * @param atsi_count number of performance information contained in @a atsi |
@@ -511,10 +496,6 @@ GAS_addresses_in_use (struct GAS_Addresses_Handle *handle, | |||
511 | void | 496 | void |
512 | GAS_addresses_update (struct GAS_Addresses_Handle *handle, | 497 | GAS_addresses_update (struct GAS_Addresses_Handle *handle, |
513 | const struct GNUNET_PeerIdentity *peer, | 498 | const struct GNUNET_PeerIdentity *peer, |
514 | const char *plugin_name, | ||
515 | const void *plugin_addr, | ||
516 | size_t plugin_addr_len, | ||
517 | uint32_t local_address_info, | ||
518 | uint32_t session_id, | 499 | uint32_t session_id, |
519 | const struct GNUNET_ATS_Information *atsi, | 500 | const struct GNUNET_ATS_Information *atsi, |
520 | uint32_t atsi_count); | 501 | uint32_t atsi_count); |