musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/resolv.h
AgeCommit message (Collapse)AuthorLines
2016年11月07日don't claim support for resolv.h APIs that aren't supported Rich Felker-1/+1
the value 19991006 for __RES implies availability of res_ninit and related functions that take a resolver state argument; these are not supported since our resolver is stateless. instead claim support for just the older API by defining __RES to 19960801. based on patch by Dmitrij D. Czarkoff.
2013年12月04日fix res_mkquery and res_send prototypes in resolv.h Szabolcs Nagy-4/+2
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.
2013年11月24日Fix dn_comp prototype and add stub Michael Forney-1/+1
This function is used by ping6 from iputils.
2013年08月14日de-duplicate dn_expand, fix return value and signature, clean up Rich Felker-1/+1
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.
2013年04月04日add prototype for dn_skipname Rich Felker-0/+1
2012年06月15日header file fixes: multiple include guard consistency and correctness Rich Felker-2/+2
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)
2012年01月26日remove useless "extern" keywords in headers Rich Felker-1/+1
2011年02月12日initial check-in, version 0.5.0 v0.5.0 Rich Felker-0/+143
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月03日 06:02:13 +0000

AltStyle によって変換されたページ (->オリジナル) /