summaryrefslogtreecommitdiffstats
path: root/libc/private
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2012-06-12 15:52:56 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-06-12 15:52:56 -0700
commitc5cab3452d5ced55474e56497594579108670b51 (patch)
treeaa86ebb93eb3a84c1101a2d28edb58c4addc2e1d /libc/private
parent20afd4e70c2f346d7cd03a7a3049f8de2d176d5c (diff)
parent028ccf5d40dd9a945ea92aa79822c08c6f6aa1d2 (diff)
downloadbionic-c5cab3452d5ced55474e56497594579108670b51.zip
bionic-c5cab3452d5ced55474e56497594579108670b51.tar.gz
bionic-c5cab3452d5ced55474e56497594579108670b51.tar.bz2
am 028ccf5d: Merge "Avoid multiple dns lookups for the same query"
* commit '028ccf5d40dd9a945ea92aa79822c08c6f6aa1d2': 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_ */