From 7b73eb9ab0cc02f1a34e34766f787cd9c0a15889 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Fri, 15 Feb 2013 09:52:45 +0000 Subject: [PATCH] docu --- src/ats/gnunet-service-ats_addresses.c | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/src/ats/gnunet-service-ats_addresses.c b/src/ats/gnunet-service-ats_addresses.c index 2bf9a8dd9..41e9e841c 100644 --- a/src/ats/gnunet-service-ats_addresses.c +++ b/src/ats/gnunet-service-ats_addresses.c @@ -71,16 +71,26 @@ * - Shutdown * During shutdown all addresses are freed and the solver told to shutdown * - * - Address management and suggestions: - * + * - Address management: * Transport service notifies ATS about changes to the addresses known to him. * - * When transport learns a new address it tells ATS about it using - * GAS_address_add. It creates a new address object and tells the solver using - * s_add to - * add it. ATS informationen are extracted given t + * -- Adding an address: + + * When transport learns a new address it tells ATS and ATS is telling addresses + * about it using GAS_address_add. If not known to addresses it creates a new + * address object and calls solver's s_add. ATS information are deserialized + * and solver is notified using s_update. + * + * -- Updating an address + * FIXME + * + * -- Deleting an address + * FIXME * + * -- Requesting an address suggestion + * FIXME * + * - Address suggestions: * * - Bandwidth assignment * -- 2.25.1