summaryrefslogtreecommitdiffstats
path: root/lib/libc/asr/asr_resolver.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* split asr_resolver.c into different files to overlay the libc/neteric2012-09-081-558/+0
| | | | resolver implementation.
* Build static netent and hostent structure in a nicer and hopefully noteric2012-08-191-95/+100
| | | | | broken way. Make it almost trivial to implement gethostby*_r() family of functions when needed.
* When building dynamic hostent and netent, allocate a single linear buffer toeric2012-08-191-5/+5
| | | | | | hold both the structure and the data. The freehostent() and freenetent() API functions are not needed anymore. While there, ensure that the constructed addr and alias lists are really NULL terminated.
* ensure that async_run() and async_run_sync() always preserve errno.eric2012-08-181-5/+5
|
* getrrsetyname() only uses ERRSET_* and is not supposed to set errno.eric2012-08-181-6/+9
| | | | make sure to save and restore errno properly.
* Improve error reporting in getnameinfo_async() and getaddrinfo_async().eric2012-08-181-9/+19
| | | | | | | | | | They do not have to deal with h_errno at all. Also, errno is only kept for EAI_SYSTEM. Small code cleanup while there. Adapt getnameinfo() and getaddrinfo() wrappers to correctly save errno and overwrite it in the EAI_SYSTEM case. General errno handling issue reported by mikeb@.
* must be zero'd (found by regress)eric2012-07-291-1/+2
|
* implement res_mkqueryeric2012-07-111-1/+47
|
* implement res_querydomain() required by sendmaileric2012-07-081-1/+30
|
* add stub function for gethostent(), and move things around a bit while here.eric2012-07-081-12/+19
|
* Import asr, an experimental async resolver implementation.eric2012-04-141-0/+457
The idea is to eventually replace the existing resolver with something better. Time to start working on it in tree. ok deraadt@