From c0f9698cd951b7223f251ff2511c4b22a6e4ba60 Mon Sep 17 00:00:00 2001 From: Jan Zeleny Date: Thu, 29 Mar 2012 04:30:34 -0400 Subject: Responder part of the subdomain retrieval work --- src/responder/common/responder.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/responder/common/responder.h') diff --git a/src/responder/common/responder.h b/src/responder/common/responder.h index 1309c14da..f331fee33 100644 --- a/src/responder/common/responder.h +++ b/src/responder/common/responder.h @@ -86,6 +86,7 @@ struct resp_ctx { struct be_conn *be_conns; struct sss_domain_info *domains; + int domains_timeout; struct sysdb_ctx_list *db_list; struct sss_cmd_table *sss_cmds; @@ -96,6 +97,8 @@ struct resp_ctx { hash_table_t *dp_request_table; + struct timeval get_domains_last_call; + void *pvt_ctx; }; @@ -273,4 +276,12 @@ bool sss_utf8_check(const uint8_t *s, size_t n); void responder_set_fd_limit(rlim_t fd_limit); +#define GET_DOMAINS_DEFAULT_TIMEOUT 60 + +struct tevent_req *sss_dp_get_domains_send(TALLOC_CTX *mem_ctx, + struct resp_ctx *rctx, + bool force, + const char *hint); + +errno_t sss_dp_get_domains_recv(struct tevent_req *req); #endif /* __SSS_RESPONDER_H__ */ -- cgit