X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/adns/blobdiff_plain/2bd4b9f4167fa254b424385ee430d1402ef087b7..2c6eb096dd80e37c12ec5a301b771ff011fc00ce:/client/adnshost.h diff --git a/client/adnshost.h b/client/adnshost.h index a8da4ff..30dd481 100644 --- a/client/adnshost.h +++ b/client/adnshost.h @@ -108,6 +108,12 @@ void ensure_adns_init(void); void query_do(const char *domain); void query_done(struct query_node *qun, adns_answer *answer); +void type_info(adns_rrtype type, const char **typename_r, + const void *datap, char **data_r); + /* wrapper for adns_rr_info which uses a static buffer to provide + * *typename_r for adns_r_unknown */ + + /* declarations related to main program and useful utility functions */ void sysfail(const char *what, int errnoval) NONRETURNING;