5 @deftypefun {int} {dane_query_tlsa} (dane_state_t @var{s}, dane_query_t * @var{r}, const char * @var{host}, const char * @var{proto}, unsigned int @var{port})
6 @var{s}: The DANE state structure
8 @var{r}: A structure to place the result
10 @var{host}: The host name to resolve.
12 @var{proto}: The protocol type (tcp, udp, etc.)
14 @var{port}: The service port number (eg. 443).
16 This function will query the DNS server for the TLSA (DANE)
17 data for the given host.
19 @strong{Returns:} On success, @code{DANE_E_SUCCESS} (0) is returned, otherwise a