mirror of
https://github.com/matrix-construct/construct
synced 2024-12-30 17:34:04 +01:00
authd/provider: incorporate new changes
This commit is contained in:
parent
064e88556d
commit
aba29d5a19
3 changed files with 6 additions and 6 deletions
|
@ -50,7 +50,7 @@
|
||||||
rb_dlink_list auth_providers;
|
rb_dlink_list auth_providers;
|
||||||
|
|
||||||
/* Clients waiting */
|
/* Clients waiting */
|
||||||
struct Dictionary *auth_clients;
|
rb_dictionary *auth_clients;
|
||||||
|
|
||||||
/* Load a provider */
|
/* Load a provider */
|
||||||
void load_provider(struct auth_provider *provider)
|
void load_provider(struct auth_provider *provider)
|
||||||
|
@ -81,7 +81,7 @@ void init_providers(void)
|
||||||
void destroy_providers(void)
|
void destroy_providers(void)
|
||||||
{
|
{
|
||||||
rb_dlink_node *ptr;
|
rb_dlink_node *ptr;
|
||||||
struct DictionaryIter iter;
|
rb_dictionary_iter iter;
|
||||||
struct auth_client *auth;
|
struct auth_client *auth;
|
||||||
struct auth_provider *provider;
|
struct auth_provider *provider;
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,7 @@ bool ident_init(void)
|
||||||
void ident_destroy(void)
|
void ident_destroy(void)
|
||||||
{
|
{
|
||||||
struct auth_client *auth;
|
struct auth_client *auth;
|
||||||
struct DictionaryIter iter;
|
rb_dictionary_iter iter;
|
||||||
|
|
||||||
/* Nuke all ident queries */
|
/* Nuke all ident queries */
|
||||||
DICTIONARY_FOREACH(auth, &iter, auth_clients)
|
DICTIONARY_FOREACH(auth, &iter, auth_clients)
|
||||||
|
@ -142,7 +142,7 @@ void ident_cancel(struct auth_client *auth)
|
||||||
static void timeout_ident_queries_event(void *notused)
|
static void timeout_ident_queries_event(void *notused)
|
||||||
{
|
{
|
||||||
struct auth_client *auth;
|
struct auth_client *auth;
|
||||||
struct DictionaryIter iter;
|
rb_dictionary_iter iter;
|
||||||
|
|
||||||
DICTIONARY_FOREACH(auth, &iter, auth_clients)
|
DICTIONARY_FOREACH(auth, &iter, auth_clients)
|
||||||
{
|
{
|
||||||
|
|
|
@ -68,7 +68,7 @@ bool client_dns_init(void)
|
||||||
void client_dns_destroy(void)
|
void client_dns_destroy(void)
|
||||||
{
|
{
|
||||||
struct auth_client *auth;
|
struct auth_client *auth;
|
||||||
struct DictionaryIter iter;
|
rb_dictionary_iter iter;
|
||||||
|
|
||||||
DICTIONARY_FOREACH(auth, &iter, auth_clients)
|
DICTIONARY_FOREACH(auth, &iter, auth_clients)
|
||||||
{
|
{
|
||||||
|
@ -123,7 +123,7 @@ get_dns_answer(const char *res, bool status, query_type type, void *data)
|
||||||
static void timeout_dns_queries_event(void *notused)
|
static void timeout_dns_queries_event(void *notused)
|
||||||
{
|
{
|
||||||
struct auth_client *auth;
|
struct auth_client *auth;
|
||||||
struct DictionaryIter iter;
|
rb_dictionary_iter iter;
|
||||||
|
|
||||||
DICTIONARY_FOREACH(auth, &iter, auth_clients)
|
DICTIONARY_FOREACH(auth, &iter, auth_clients)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue