| Commit message (Expand) | Author | Age | Files | Lines |
| * | fix res_mkquery and res_send prototypes in resolv.h•••historically these functions appeared in BSD 4.3 without prototypes,
then in the bind project prototypes were added to resolv.h, but those
were incompatible with the definitions of the implementation.
the bind resolv.h became the defacto api most systems use now, but the
old internal definitions found their way into the linux manuals and thus
into musl.
| Szabolcs Nagy | 2013-12-04 | 1 | -4/+2 |
| * | Fix dn_comp prototype and add stub•••This function is used by ping6 from iputils.
| Michael Forney | 2013-11-24 | 1 | -1/+1 |
| * | de-duplicate dn_expand, fix return value and signature, clean up•••the duplicate code in dn_expand and its incorrect return values are
both results of the history of the code: the version in __dns.c was
originally written with no awareness of the legacy resolver API, and
was later copy-and-paste duplicated to provide the legacy API.
this commit is the first of a series that will restructure the
internal dns code to share as much code as possible with the legacy
resolver API functions.
I have also removed the loop detection logic, since the output buffer
length limit naturally prevents loops. in order to avoid long runtime
when encountering a loop if the caller provided a ridiculously long
buffer, the caller-provided length is clamped at the maximum dns name
length.
| Rich Felker | 2013-08-14 | 1 | -1/+1 |
| * | add prototype for dn_skipname | Rich Felker | 2013-04-04 | 1 | -0/+1 |
| * | header file fixes: multiple include guard consistency and correctness•••one file was reusing another file's macro name, and many had
inconsistent underscores and application of SYS prefix, etc.
patch by Szabolcs Nagy (nsz)
| Rich Felker | 2012-06-15 | 1 | -2/+2 |
| * | remove useless "extern" keywords in headers | Rich Felker | 2012-01-26 | 1 | -1/+1 |
| * | initial check-in, version 0.5.0 | Rich Felker | 2011-02-12 | 1 | -0/+143 |