/* sets the name server addresses to the provided res_state structure. The *nameserversareretrievedfromthecachewhichisassociated
* with the network to which the res_state structure is associated */
__LIBC_HIDDEN__ externvoid _resolv_populate_res_for_net(struct __res_state* statp);
typedefenum {
RESOLV_CACHE_UNSUPPORTED, /* the cache can't handle that kind of queries */ /* or the answer buffer is too small */
RESOLV_CACHE_NOTFOUND, /* the cache doesn't know about this query */
RESOLV_CACHE_FOUND /* the cache found the answer */
} ResolvCacheStatus;
__LIBC_HIDDEN__ extern ResolvCacheStatus
_resolv_cache_lookup( unsigned netid, constvoid* query, int querylen, void* answer, int answersize, int *answerlen );
/* add a (query,answer) to the cache, only call if _resolv_cache_lookup *didreturnRESOLV_CACHE_NOTFOUND
*/
__LIBC_HIDDEN__ externvoid
_resolv_cache_add( unsigned netid, constvoid* query, int querylen, constvoid* answer, int answerlen );
/* Notify the cache a request failed */
__LIBC_HIDDEN__ externvoid
_resolv_cache_query_failed( unsigned netid, constvoid* query, int querylen);
#endif/* _RESOLV_CACHE_H_ */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-06-28)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.