Imported Upstream version 3.4.11
[platform/upstream/gnutls.git] / doc / functions / dane_query_tlsa
1
2
3
4
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
7
8 @var{r}: A structure to place the result
9
10 @var{host}: The host name to resolve.
11
12 @var{proto}: The protocol type (tcp, udp, etc.)
13
14 @var{port}: The service port number (eg. 443).
15
16 This function will query the DNS server for the TLSA (DANE)
17 data for the given host.
18
19 @strong{Returns:} On success, @code{DANE_E_SUCCESS}  (0) is returned, otherwise a
20 negative error value.
21 @end deftypefun