Home
last modified time | relevance | path

Searched refs:txt_data (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/resolve/ !
Dresolved-dnssd.c15 DnssdTxtData *dnssd_txtdata_free(DnssdTxtData *txt_data) { in dnssd_txtdata_free() argument
16 if (!txt_data) in dnssd_txtdata_free()
19 dns_resource_record_unref(txt_data->rr); in dnssd_txtdata_free()
20 dns_txt_item_free_all(txt_data->txt); in dnssd_txtdata_free()
22 return mfree(txt_data); in dnssd_txtdata_free()
25 DnssdTxtData *dnssd_txtdata_free_all(DnssdTxtData *txt_data) { in dnssd_txtdata_free_all() argument
28 if (!txt_data) in dnssd_txtdata_free_all()
31 next = txt_data->items_next; in dnssd_txtdata_free_all()
33 dnssd_txtdata_free(txt_data); in dnssd_txtdata_free_all()
60 _cleanup_(dnssd_txtdata_freep) DnssdTxtData *txt_data = NULL; in dnssd_service_load()
[all …]
Dresolved-dnssd-bus.c41 LIST_FOREACH(items, txt_data, s->txt_data_items) in bus_dnssd_method_unregister()
42 dns_zone_remove_rr(&l->mdns_ipv4_scope->zone, txt_data->rr); in bus_dnssd_method_unregister()
52 LIST_FOREACH(items, txt_data, s->txt_data_items) in bus_dnssd_method_unregister()
53 dns_zone_remove_rr(&l->mdns_ipv6_scope->zone, txt_data->rr); in bus_dnssd_method_unregister()
Dresolved-conf.c316 _cleanup_(dnssd_txtdata_freep) DnssdTxtData *txt_data = NULL; in config_parse_dnssd_txt()
331 txt_data = new0(DnssdTxtData, 1); in config_parse_dnssd_txt()
332 if (!txt_data) in config_parse_dnssd_txt()
393 LIST_INSERT_AFTER(items, txt_data->txt, last, i); in config_parse_dnssd_txt()
397 if (!LIST_IS_EMPTY(txt_data->txt)) { in config_parse_dnssd_txt()
398 LIST_PREPEND(items, s->txt_data_items, txt_data); in config_parse_dnssd_txt()
399 TAKE_PTR(txt_data); in config_parse_dnssd_txt()
Dresolved-dnssd.h50 DnssdTxtData *dnssd_txtdata_free(DnssdTxtData *txt_data);
51 DnssdTxtData *dnssd_txtdata_free_all(DnssdTxtData *txt_data);
Dresolved-bus.c1962 _cleanup_(dnssd_txtdata_freep) DnssdTxtData *txt_data = NULL; in bus_method_register_service()
1965 txt_data = new0(DnssdTxtData, 1); in bus_method_register_service()
1966 if (!txt_data) in bus_method_register_service()
1993 LIST_INSERT_AFTER(items, txt_data->txt, last, i); in bus_method_register_service()
2008 if (txt_data->txt) { in bus_method_register_service()
2009 LIST_PREPEND(items, service->txt_data_items, txt_data); in bus_method_register_service()
2010 txt_data = NULL; in bus_method_register_service()
2021 _cleanup_(dnssd_txtdata_freep) DnssdTxtData *txt_data = NULL; in bus_method_register_service()
2023 txt_data = new0(DnssdTxtData, 1); in bus_method_register_service()
2024 if (!txt_data) in bus_method_register_service()
[all …]
Dresolved-dns-scope.c1547 LIST_FOREACH(items, txt_data, service->txt_data_items) { in dns_scope_add_dnssd_services()
1548 r = dns_zone_put(&scope->zone, scope, txt_data->rr, true); in dns_scope_add_dnssd_services()
1576 LIST_FOREACH(items, txt_data, service->txt_data_items) in dns_scope_remove_dnssd_services()
1577 dns_zone_remove_rr(&scope->zone, txt_data->rr); in dns_scope_remove_dnssd_services()