28 * \brief Handler for a DNS record obtained by DNS_Query
29 * \param info Value passed as the last argument to DNS_Query
30 * \param name NUL-terminated name associated with the returned record
31 * \param type Record type (may not be equal to requested)
32 * \param class Record class (may not be equal to requested)
33 * \param rdlength Length of data pointed to by 'rdata'
34 * \param rdata Record data
36 typedef void handle_record_t(void *info, const char *name, enum eTypes type, enum eClass class, unsigned int ttl, size_t rdlength, const void *rdata);
38 int DNS_Query(int ServerAType, const void *ServerAddr, const char *name, enum eTypes type, enum eClass class, handle_record_t* handle_record, void *info);