summaryrefslogtreecommitdiffstats
path: root/lib/libc/asr/getnameinfo_async.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Always call endservent_r() after getservbyport_r().eric2020-12-211-8/+11
| | | | | | Fix a memory leak when no entry is matched. ok florian
* snprintf/vsnprintf return < 0 on error, rather than -1.deraadt2019-07-031-2/+2
|
* Put a common subq pointer in the query struct, rather than one in eacheric2017-02-231-5/+5
| | | | | | element of the union. ok gilles@ millert@ krw@
* remove bogus includes of err.heric2015-09-201-2/+1
|
* Wrap <asr.h> so internal calls go direct and all the symbols are weakguenther2015-09-141-1/+2
|
* Hide all unnecessary asr / resolver related API with _ prefixes.deraadt2015-09-091-7/+7
| | | | direction & ok guenther
* Make the asr API public. Install asr.h to /usr/include.h and manpages.eric2014-03-261-2/+3
| | | | | | Include tweaks suggested by mpi@ ok deraadt@
* Cleanup and simplify the API to be exposed. Use better names foreric2014-03-251-12/+12
| | | | | | structures, functions and defines. discussed with and ok deraadt@ guenther@
* Make some symbols static and prefix all visible symbols with asr_eric2013-07-121-4/+4
| | | | | | to prevent collisions with third-party programs. suggested by sthen@, ok theo@
* correctly show the scope for IPv6 addresses in getnameinfo()eric2013-03-291-4/+27
|
* knferic2012-11-241-6/+6
|
* When building dynamic hostent and netent, allocate a single linear buffer toeric2012-08-191-2/+2
| | | | | | 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.
* Improve error reporting in getnameinfo_async() and getaddrinfo_async().eric2012-08-181-11/+11
| | | | | | | | | | 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@.
* fix a few warningseric2012-04-251-2/+2
|
* Import asr, an experimental async resolver implementation.eric2012-04-141-0/+261
The idea is to eventually replace the existing resolver with something better. Time to start working on it in tree. ok deraadt@