summaryrefslogtreecommitdiffstats
path: root/server/resolv/async_resolv.h
Commit message (Collapse)AuthorAgeFilesLines
* Explicitly set async DNS timeoutStephen Gallagher2010-01-141-1/+1
| | | | We will allow 5s per DNS server, no retries.
* Re-create c-ares channels if /etc/resolv.conf is modifiedMartin Nagy2010-01-141-0/+2
| | | | Fixes: #378
* Import ares 1.7.0 helpersJakub Hrozek2009-12-091-5/+5
|
* Change ares usage to be c-ares 1.7.0 compatibleJakub Hrozek2009-12-091-4/+2
| | | | | | * Rename structure accordingly to ares upstream * Use new ares parsing functions in the wrappers * fix tests for ares 1.7
* Check return, zero free hostent, adhere to styleSimo Sorce2009-11-091-2/+2
|
* Use talloc to copy data from c-aresMartin Nagy2009-10-221-6/+12
| | | | | | | | | | | C-ares either returned a malloc-ed memory or it automatically freed the memory after out callback has returned. This patch will make sure that anything that the resolv_* function return is allocated by talloc and can be safely freed by talloc_free(). This will break the resolv tests to the point they will not be compilable. This will be addressed in a later patch with other improvements to the tests.
* Add ares helpers into sssdJakub Hrozek2009-07-241-0/+8
| | | | | | | | | | This patch adds ares parsing functions that are not yet upstreamed together with a private ares header file (ares_dns.h) that contains some necessary macros for parsing common structures in the replies. Users of these two parsing functions must also include the header files ares_parse_{srv,txt}_reply.h that contain the function and structures declarations that should eventually end up in upstream ares.h
* Async DNS integrationJakub Hrozek2009-07-241-0/+82
Integrates the c-ares asynchronous resolved library into SSSD.