summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/dns/include/resolv_netid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/dns/include/resolv_netid.h b/libc/dns/include/resolv_netid.h
index 63ecdd801..bada18a44 100644
--- a/libc/dns/include/resolv_netid.h
+++ b/libc/dns/include/resolv_netid.h
@@ -64,6 +64,9 @@ extern void _resolv_set_nameservers_for_net(unsigned netid,
/* flush the cache associated with a certain network */
extern void _resolv_flush_cache_for_net(unsigned netid) __used_in_netd;
+/* delete the cache associated with a certain network */
+extern void _resolv_delete_cache_for_net(unsigned netid) __used_in_netd;
+
/* Internal use only. */
struct hostent *android_gethostbyaddrfornet_proxy(const void *, socklen_t, int , unsigned);
int android_getnameinfofornet(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t,