mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
This change uses the extended resolver state in struct resolv_conf to store the search list. If applications have not patched the _res object directly, this extended search list will be used by the stub resolver during name resolution.
This commit is contained in:
@ -35,6 +35,10 @@ struct resolv_conf
|
||||
/* Reference counter. The object is deallocated once it reaches
|
||||
zero. For internal use within resolv_conf only. */
|
||||
size_t __refcount;
|
||||
|
||||
/* The domain names forming the search list. */
|
||||
const char *const *search_list;
|
||||
size_t search_list_size;
|
||||
};
|
||||
|
||||
/* The functions below are for use by the res_init resolv.conf parser
|
||||
|
Reference in New Issue
Block a user