dns cache per interface iteration 2
support for attach/detach a process (pid) to a
dns cache.
lookup associated dns cache based on the pid
handle pid and interface argument for getaddrinfo
and gethostbyaddress
bug:5465296
Change-Id: I4832c792d22aceabb0481c548003a1fd879c12e4
diff --git a/ResolverController.h b/ResolverController.h
index 9cb88ab..a21e077 100644
--- a/ResolverController.h
+++ b/ResolverController.h
@@ -31,6 +31,8 @@
int setInterfaceAddress(const char* iface, struct in_addr* addr);
int flushDefaultDnsCache();
int flushInterfaceDnsCache(const char* iface);
+ int setDnsInterfaceForPid(const char* iface, int pid);
+ int clearDnsInterfaceForPid(int pid);
};
#endif /* _RESOLVER_CONTROLLER_H_ */