summaryrefslogtreecommitdiffstats
path: root/libc/private
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2012-06-12 15:56:29 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-06-12 15:56:29 -0700
commit8f88aa7d3823ac079fc783651a64dbe986a8205e (patch)
treeb035e97c14afeaa3f4264c7d4a5caa9ec14a7156 /libc/private
parentc2f1d215b1786520fa8c371caa97f062e0bfb513 (diff)
parentc5cab3452d5ced55474e56497594579108670b51 (diff)
downloadbionic-8f88aa7d3823ac079fc783651a64dbe986a8205e.zip
bionic-8f88aa7d3823ac079fc783651a64dbe986a8205e.tar.gz
bionic-8f88aa7d3823ac079fc783651a64dbe986a8205e.tar.bz2
am c5cab345: am 028ccf5d: Merge "Avoid multiple dns lookups for the same query"
* commit 'c5cab3452d5ced55474e56497594579108670b51': Avoid multiple dns lookups for the same query
Diffstat (limited to 'libc/private')
-rw-r--r--libc/private/resolv_cache.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/private/resolv_cache.h b/libc/private/resolv_cache.h
index 2a54453..1dcc53f 100644
--- a/libc/private/resolv_cache.h
+++ b/libc/private/resolv_cache.h
@@ -95,4 +95,10 @@ _resolv_cache_add( struct resolv_cache* cache,
const void* answer,
int answerlen );
+/* Notify the cache a request failed */
+extern void
+_resolv_cache_query_failed( struct resolv_cache* cache,
+ const void* query,
+ int querylen);
+
#endif /* _RESOLV_CACHE_H_ */