diff options
author | Pavel Březina <pbrezina@redhat.com> | 2013-03-29 15:57:20 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-04-10 15:36:55 +0200 |
commit | 673d4c1932fa4ab1496499207d8627970d0b7561 (patch) | |
tree | 9e2842eb3fe8bdaa5c46f8c87ff322d99309eba0 /src/resolv/async_resolv.h | |
parent | ca261795ce61c41d7e62217ccb2ee913923040ff (diff) | |
download | sssd-673d4c1932fa4ab1496499207d8627970d0b7561.tar.gz sssd-673d4c1932fa4ab1496499207d8627970d0b7561.tar.bz2 sssd-673d4c1932fa4ab1496499207d8627970d0b7561.zip |
resolv: add resolv_discover_srv request to resolv utils
Diffstat (limited to 'src/resolv/async_resolv.h')
-rw-r--r-- | src/resolv/async_resolv.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/resolv/async_resolv.h b/src/resolv/async_resolv.h index cba6ca8d..3a025588 100644 --- a/src/resolv/async_resolv.h +++ b/src/resolv/async_resolv.h @@ -170,4 +170,17 @@ errno_t resolv_get_domain_recv(TALLOC_CTX *mem_ctx, struct tevent_req *req, char **_dns_domain); +struct tevent_req * +resolv_discover_srv_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct resolv_ctx *resolv_ctx, + const char *service, + const char *protocol, + const char **discovery_domains); + +errno_t resolv_discover_srv_recv(TALLOC_CTX *mem_ctx, + struct tevent_req *req, + struct ares_srv_reply **_reply_list, + char **_dns_domain); + #endif /* __ASYNC_RESOLV_H__ */ |