On 10/02/2017 03:08 PM, Patrik Flykt wrote:
Actually, if we leave resolver.c as it is, and instead conditionally
compile src/dnsproxy.c or src/systemd-resolved.c, wouldn't that solve
most of the code changes in a cleaner way? The "API" would then be the
connman_dnsproxy_* functions in connman.h, that could then move to
I like this idea.
BTW, do we want to support both resolve mechanism at the same time? If
not we could have a configure switch and don't have to introduce a new
command line option. Furthermore, we don't increase the size of ConnMan
for everyone unnecessarily.