summaryrefslogtreecommitdiff
path: root/server/resolv/async_resolv.c
AgeCommit message (Collapse)AuthorFilesLines
2009-11-18Failover fixes and additionsSimo Sorce1-1/+1
2009-11-09Fix tevent_req error checking.Simo Sorce1-13/+3
When possible using a macro that correctly deals with tstate
2009-11-09Check return, zero free hostent, adhere to styleSimo Sorce1-6/+9
2009-11-06Fix a bad free in async_resolv.cMartin Nagy1-6/+0
Also remove redundant talloc_free()'s. They are not needed since their parent should be freed right after calling the _recv() function.
2009-10-22Use talloc to copy data from c-aresMartin Nagy1-21/+200
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-10-22Resolver: Use talloc_get_type() for type safetyMartin Nagy1-5/+5
2009-08-05Consolidate tevent helpersJakub Hrozek1-16/+0
2009-07-24Add ares helpers into sssdJakub Hrozek1-0/+10
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/+642
Integrates the c-ares asynchronous resolved library into SSSD.