summaryrefslogtreecommitdiffstats
path: root/include/resolv.h
Commit message (Collapse)AuthorAgeFilesLines
* add a __resp ptr for the no threads caseAustin Foxley2009-09-201-0/+1
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Readd the thread local version of __res_stateAustin Foxley2009-07-101-9/+0
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Sync nptl branch to masterAustin Foxley2009-07-091-0/+11
| | | | | | | | | | | | | | Cherry picked these commits: afdfa59588: Do not install libc-XXX.h files fb863f7592: Make HARDWIRED_ABSPATH a config option e0c8160a38: Allow people to run hostutils targets without .config e0da861a29: Don't rely on features.h ac1087a727: Denis's resolv.c cleanup Pulled out the thread local __res_state in resolv. Will reapply it in a future commit. Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Use __UCLIBC_HAS_TLS__ (now available) as guard for TLS relatedCarmelo Amoroso2009-02-201-2/+2
| | | | | | | | stuff, instead of __UCLIBC_HAS_THREADS_NATIVE__. This is in preparation on trunk merge to make TLS compatible with LT (new) and NPTL. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* _res needs to be a macro (*__res_state()) having threads.Carmelo Amoroso2009-02-191-4/+0
| | | | | Revert latest change.
* - whitespace cleanup; no obj-code changes (r24600)Bernhard Reutner-Fischer2008-12-291-1/+1
|
* Get non nptl threads compiled on x86.Khem Raj2008-12-231-35/+72
|
* BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵Carmelo Amoroso2008-07-091-0/+2
| | | | NPTL sh4 port build and work fine. All committed to allow Khem Ray working on a working branch to integrate the ARM nptl port. MIPS nptl port not tested but should still building and working fine. There are some other part non yet merged with trunk (misc/internals and some headers file that need some more work). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Clean up '_res' such that it will now work for, NPTL, linuxthreads and"Steven J. Hill"2006-01-151-1/+1
| | | | | even no threads. Fix 'pthread_atfork' function and clean up duplicate of '__set_errno' that is not needed.
* Make resolver state pointer '__resp' to be TLS variable. Again, these ↵"Steven J. Hill"2006-01-051-156/+165
| | | | changes work for the threaded and non-threaded cases.
* Rename option PTHREADS_NATIVE to be UCLIBC_HAS_THREADS_NATIVE instead. What ↵"Steven J. Hill"2005-09-241-1/+1
| | | | a stupid name to start with. What idiot thought of that?
* This will hopefully be the last modification to the resolver code for a ↵"Steven J. Hill"2005-08-121-5/+9
| | | | while. The complexity comes from the code used only during library build time, to non-threaded programs to threaded programs such that things are not a mess. I was getting undefined '_res' when doing a buildroot, but things are fixed now. This is much cleaner and more sane.
* Fixed up resolver and errno code such that both thread models can compile ↵"Steven J. Hill"2005-07-221-69/+71
| | | | without stepping on each other. The original implementation pulled from glibc was done incorrectly and has been fixed.
* Update structures and defines necessary to make resolver code thread"Steven J. Hill"2005-06-031-0/+18
| | | | | | safe for TLS and NPTL. Our name resolver code is so out of date, we made not be able to correctly utilize it in multi-threaded programs compiled with NPTL.
* Fixup struct _res handling so apps using struct _res can actuallyEric Andersen2002-08-191-3/+2
| | | | | compile ("worst standard ever!") -Erik
* Remove thread-specific stuff entirely.Miles Bader2002-08-161-16/+5
|
* (_res): Define as a macro if __UCLIBC_HAS_THREADS__ is defined,Miles Bader2002-08-161-3/+9
| | | | regardless of _LIBC.
* Replace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__Eric Andersen2002-08-161-1/+1
| | | | -Erik
* The resolver is still using the old API so we cannot use the new resolverDavid McCullough2002-01-171-1/+2
| | | | version numbers or apps get confused.
* Rev all the header files to sync things with glibc 2.2.4Eric Andersen2001-09-271-66/+354
|
* Added __BEGIN_DECLS and __END_DECLS to the files that didn't haveDavid McCullough2001-07-111-0/+4
| | | | | | it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
* Cleanup some stupid warningsEric Andersen2001-05-311-11/+0
|
* Added res_init and res_queryDavid McCullough2001-02-261-0/+4
|
* Fix up the set of include files pulled into resolv.hEric Andersen2001-02-031-1/+9
|
* Lots and lots of cleanups.Eric Andersen2000-07-061-4/+4
| | | | -Erik
* Initial revision0_9_1Erik Andersen2000-05-141-0/+85