diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2012-06-12 15:52:56 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-06-12 15:52:56 -0700 |
commit | c5cab3452d5ced55474e56497594579108670b51 (patch) | |
tree | aa86ebb93eb3a84c1101a2d28edb58c4addc2e1d /libc/private | |
parent | 20afd4e70c2f346d7cd03a7a3049f8de2d176d5c (diff) | |
parent | 028ccf5d40dd9a945ea92aa79822c08c6f6aa1d2 (diff) | |
download | bionic-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.h | 6 |
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_ */ |