Files
systemd/src/shared/resolve-hook-util.c
T
Lennart Poettering 3cd929f837 machined: implement resolve hook in machined
This basically implements nss-myhostname, but natively in
systemd-resolved, so that the logic becomes available also for clients
using the local DNS stub for resolution or the D-Bus or Varlink APIs.
2025-11-15 07:44:24 +01:00

16 lines
467 B
C

/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include "resolve-hook-util.h"
#include "dns-question.h"
void resolve_record_parameters_done(ResolveRecordParameters *p) {
assert(p);
dns_question_unref(p->question);
}
const sd_json_dispatch_field resolve_record_parameters_dispatch_table[] = {
{ "question", SD_JSON_VARIANT_ARRAY, dns_json_dispatch_question, offsetof(ResolveRecordParameters, question), SD_JSON_MANDATORY },
{}
};