summaryrefslogtreecommitdiff
path: root/server/resolv/async_resolv.h
AgeCommit message (Collapse)AuthorFilesLines
2009-12-09Import ares 1.7.0 helpersJakub Hrozek1-5/+5
2009-12-09Change ares usage to be c-ares 1.7.0 compatibleJakub Hrozek1-4/+2
* Rename structure accordingly to ares upstream * Use new ares parsing functions in the wrappers * fix tests for ares 1.7
2009-11-09Check return, zero free hostent, adhere to styleSimo Sorce1-2/+2
2009-10-22Use talloc to copy data from c-aresMartin Nagy1-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.
2009-07-24Add ares helpers into sssdJakub Hrozek1-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
2009-07-24Async DNS integrationJakub Hrozek1-0/+82
Integrates the c-ares asynchronous resolved library into SSSD.