summaryrefslogtreecommitdiff
path: root/server/resolv
AgeCommit message (Collapse)AuthorFilesLines
2009-10-22Use talloc to copy data from c-aresMartin Nagy2-27/+212
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-09-11Add copyright noticesJakub Hrozek2-0/+40
Fixes: #138
2009-08-05Consolidate tevent helpersJakub Hrozek1-16/+0
2009-07-24Add ares helpers into sssdJakub Hrozek7-0/+465
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 Hrozek2-0/+724
Integrates the c-ares asynchronous resolved library into SSSD.