authd/providers/rdns: minor function renaming cleanup
This commit is contained in:
parent
67acafca57
commit
6ced6a1f1a
1 changed files with 8 additions and 8 deletions
|
@ -127,14 +127,14 @@ client_success(struct auth_client *auth)
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
client_dns_init(void)
|
rdns_init(void)
|
||||||
{
|
{
|
||||||
timeout_ev = rb_event_addish("timeout_dns_queries_event", timeout_dns_queries_event, NULL, 1);
|
timeout_ev = rb_event_addish("timeout_dns_queries_event", timeout_dns_queries_event, NULL, 1);
|
||||||
return (timeout_ev != NULL);
|
return (timeout_ev != NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
client_dns_destroy(void)
|
rdns_destroy(void)
|
||||||
{
|
{
|
||||||
struct auth_client *auth;
|
struct auth_client *auth;
|
||||||
rb_dictionary_iter iter;
|
rb_dictionary_iter iter;
|
||||||
|
@ -149,7 +149,7 @@ client_dns_destroy(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
client_dns_start(struct auth_client *auth)
|
rdns_start(struct auth_client *auth)
|
||||||
{
|
{
|
||||||
struct user_query *query = rb_malloc(sizeof(struct user_query));
|
struct user_query *query = rb_malloc(sizeof(struct user_query));
|
||||||
|
|
||||||
|
@ -165,7 +165,7 @@ client_dns_start(struct auth_client *auth)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
client_dns_cancel(struct auth_client *auth)
|
rdns_cancel(struct auth_client *auth)
|
||||||
{
|
{
|
||||||
struct user_query *query = auth->data[PROVIDER_RDNS];
|
struct user_query *query = auth->data[PROVIDER_RDNS];
|
||||||
|
|
||||||
|
@ -196,10 +196,10 @@ struct auth_opts_handler rdns_options[] =
|
||||||
struct auth_provider rdns_provider =
|
struct auth_provider rdns_provider =
|
||||||
{
|
{
|
||||||
.id = PROVIDER_RDNS,
|
.id = PROVIDER_RDNS,
|
||||||
.init = client_dns_init,
|
.init = rdns_init,
|
||||||
.destroy = client_dns_destroy,
|
.destroy = rdns_destroy,
|
||||||
.start = client_dns_start,
|
.start = rdns_start,
|
||||||
.cancel = client_dns_cancel,
|
.cancel = rdns_cancel,
|
||||||
.completed = NULL,
|
.completed = NULL,
|
||||||
.opt_handlers = rdns_options,
|
.opt_handlers = rdns_options,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue