diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2009-11-03 16:24:25 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-12-09 10:05:18 -0500 |
commit | 2446a71baaae100bafee0589a2e18bb8a16dff1b (patch) | |
tree | f40afca9e6d0510ab5e832a5a03b09f5fe5f7dff /server/resolv/async_resolv.h | |
parent | aa83edba323ae398f89612afeb2f35566c6f7a5c (diff) | |
download | sssd-2446a71baaae100bafee0589a2e18bb8a16dff1b.tar.gz sssd-2446a71baaae100bafee0589a2e18bb8a16dff1b.tar.xz sssd-2446a71baaae100bafee0589a2e18bb8a16dff1b.zip |
Change ares usage to be c-ares 1.7.0 compatible
* Rename structure accordingly to ares upstream
* Use new ares parsing functions in the wrappers
* fix tests for ares 1.7
Diffstat (limited to 'server/resolv/async_resolv.h')
-rw-r--r-- | server/resolv/async_resolv.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/server/resolv/async_resolv.h b/server/resolv/async_resolv.h index 702d4dd7b..9d080ec69 100644 --- a/server/resolv/async_resolv.h +++ b/server/resolv/async_resolv.h @@ -77,8 +77,7 @@ int resolv_getsrv_recv(TALLOC_CTX *mem_ctx, struct tevent_req *req, int *status, int *timeouts, - struct srv_reply **reply_list, - int *num_replies); + struct ares_srv_reply **reply_list); /** Get TXT record **/ struct tevent_req *resolv_gettxt_send(TALLOC_CTX *mem_ctx, @@ -90,7 +89,6 @@ int resolv_gettxt_recv(TALLOC_CTX *mem_ctx, struct tevent_req *req, int *status, int *timeouts, - struct txt_reply **reply_list, - int *num_replies); + struct ares_txt_reply **reply_list); #endif /* __ASYNC_RESOLV_H__ */ |