History log of /openbsd-src/lib/libc/asr/res_query.c (Results 1 – 9 of 9)
Revision Date Author Comments
# c8503c07 05-Oct-2015 guenther <guenther@openbsd.org>

Wrap <resolv.h> so that internal calls go direct

ok millert@


# d216d6b1 26-Mar-2014 eric <eric@openbsd.org>

Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@

ok deraadt@


# 5be03f8f 25-Mar-2014 eric <eric@openbsd.org>

Cleanup and simplify the API to be exposed. Use better names for
structures, functions and defines.

discussed with and ok deraadt@ guenther@


# 35d50e37 12-Nov-2013 deraadt <deraadt@openbsd.org>

pull in missing includes (math.h, unistd.h, stdlib.h) needed for
prototypes


# 5bd9e5c2 12-Jul-2013 eric <eric@openbsd.org>

Make some symbols static and prefix all visible symbols with asr_
to prevent collisions with third-party programs.

suggested by sthen@, ok theo@


# 1ed934d0 27-May-2013 eric <eric@openbsd.org>

Add minimal support for _res setup and update.

Change res_init() to initialize the _res structure on first call, and
udpate the global async context if changes were made by the user. All
resolver fu

Add minimal support for _res setup and update.

Change res_init() to initialize the _res structure on first call, and
udpate the global async context if changes were made by the user. All
resolver functions now call res_init() internally.

fixes issue spotted by otto@

show more ...


# c5221d45 30-Apr-2013 eric <eric@openbsd.org>

Do not take external buffers for storing DNS responses in the internal
async API. That is actually useless and it makes the code more
complicated. The required buffers are always allocated when nee

Do not take external buffers for storing DNS responses in the internal
async API. That is actually useless and it makes the code more
complicated. The required buffers are always allocated when needed.

show more ...


# 894123d3 08-Apr-2013 eric <eric@openbsd.org>

Do not fail if the user buffer is too short to hold the packet: fill it up
to the given size and return the packet length.

issue spotted by weerd@


# 8082e013 08-Sep-2012 eric <eric@openbsd.org>

split asr_resolver.c into different files to overlay the libc/net
resolver implementation.