diff options
author | Pavel Březina <pbrezina@redhat.com> | 2013-03-29 15:26:52 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-04-10 15:36:55 +0200 |
commit | ca261795ce61c41d7e62217ccb2ee913923040ff (patch) | |
tree | ade1c69875f473bbcfbe9f6446a03af5c17e51dc /src/resolv/async_resolv.h | |
parent | ae6c1596225c65bec2a2dabff9eee4e3e0691181 (diff) | |
download | sssd-ca261795ce61c41d7e62217ccb2ee913923040ff.tar.gz sssd-ca261795ce61c41d7e62217ccb2ee913923040ff.tar.xz sssd-ca261795ce61c41d7e62217ccb2ee913923040ff.zip |
resolv: add resolv_get_domain request to resolv utils
Diffstat (limited to 'src/resolv/async_resolv.h')
-rw-r--r-- | src/resolv/async_resolv.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/resolv/async_resolv.h b/src/resolv/async_resolv.h index b66bf9da2..cba6ca8d2 100644 --- a/src/resolv/async_resolv.h +++ b/src/resolv/async_resolv.h @@ -156,4 +156,18 @@ int resolv_gettxt_recv(TALLOC_CTX *mem_ctx, int *timeouts, struct ares_txt_reply **reply_list); +/** Utils **/ + +struct tevent_req * +resolv_get_domain_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct resolv_ctx *resolv_ctx, + const char *hostname, + enum host_database *host_dbs, + enum restrict_family family_order); + +errno_t resolv_get_domain_recv(TALLOC_CTX *mem_ctx, + struct tevent_req *req, + char **_dns_domain); + #endif /* __ASYNC_RESOLV_H__ */ |