[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #50325] DNS local host list exported functions lack ve

From: Simon Goldschmidt
Subject: [lwip-devel] [bug #50325] DNS local host list exported functions lack versatility
Date: Thu, 16 Feb 2017 14:38:22 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Follow-up Comment #7, bug #50325 (project lwip):

To make it clear, I think TTL is out of scope for the "local dns" feature.
It's meant to get locally configured, static entries into the table (much like
the "hosts" file on some OSes). Anything beyond that should use

Keeping the TTL aside, I agree that it would be good to have the possibility
to get the current entries from the local list, e.g. to show the user a list
on add/remove without having to keep the data twice.

An iterator might be better for that though. Something like this:

u8_t dns_local_iterate(dns_found_callback iterator);

That would call the 'iterator' function for every entry in the local table and
return the number of entries.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]