src/shared/resolve-hook-util.c
raw| 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 | |
| 3 | #include "resolve-hook-util.h" |
| 4 | #include "dns-question.h" |
| 5 | |
| 6 | void resolve_record_parameters_done(ResolveRecordParameters *p) { |
| 7 | assert(p); |
| 8 | |
| 9 | dns_question_unref(p->question); |
| 10 | } |
| 11 | |
| 12 | const sd_json_dispatch_field resolve_record_parameters_dispatch_table[] = { |
| 13 | { "question", SD_JSON_VARIANT_ARRAY, dns_json_dispatch_question, offsetof(ResolveRecordParameters, question), SD_JSON_MANDATORY }, |
| 14 | {} |
| 15 | }; |