Searched refs:DnsTxtItem (Results 1 – 7 of 7) sorted by relevance
/systemd-251/src/resolve/ |
D | resolved-dns-rr.h | 17 typedef struct DnsTxtItem DnsTxtItem; typedef 86 struct DnsTxtItem { struct 88 LIST_FIELDS(DnsTxtItem, items); argument 136 DnsTxtItem *items; 362 DnsTxtItem *dns_txt_item_free_all(DnsTxtItem *i); 363 bool dns_txt_item_equal(DnsTxtItem *a, DnsTxtItem *b); 364 DnsTxtItem *dns_txt_item_copy(DnsTxtItem *i); 365 int dns_txt_item_new_empty(DnsTxtItem **ret);
|
D | resolved-dnssd.h | 12 typedef struct DnsTxtItem DnsTxtItem; typedef 22 LIST_HEAD(DnsTxtItem, txt); 58 int dnssd_txt_item_new_from_string(const char *key, const char *value, DnsTxtItem **ret_item); 59 int dnssd_txt_item_new_from_data(const char *key, const void *value, const size_t size, DnsTxtItem …
|
D | resolved-dnssd.c | 278 int dnssd_txt_item_new_from_string(const char *key, const char *value, DnsTxtItem **ret_item) { in dnssd_txt_item_new_from_string() 280 DnsTxtItem *i; in dnssd_txt_item_new_from_string() 287 …i = malloc0(offsetof(DnsTxtItem, data) + length + 1); /* for safety reasons we add an extra NUL by… in dnssd_txt_item_new_from_string() 303 int dnssd_txt_item_new_from_data(const char *key, const void *data, const size_t size, DnsTxtItem *… in dnssd_txt_item_new_from_data() 305 DnsTxtItem *i; in dnssd_txt_item_new_from_data() 312 …i = malloc0(offsetof(DnsTxtItem, data) + length + 1); /* for safety reasons we add an extra NUL by… in dnssd_txt_item_new_from_data()
|
D | resolved-dns-rr.c | 783 static char *format_txt(DnsTxtItem *first) { in format_txt() 1775 DnsTxtItem *dns_txt_item_free_all(DnsTxtItem *i) { in dns_txt_item_free_all() 1776 DnsTxtItem *n; in dns_txt_item_free_all() 1787 bool dns_txt_item_equal(DnsTxtItem *a, DnsTxtItem *b) { in dns_txt_item_equal() 1807 DnsTxtItem *dns_txt_item_copy(DnsTxtItem *first) { in dns_txt_item_copy() 1808 DnsTxtItem *copy = NULL, *end = NULL; in dns_txt_item_copy() 1811 DnsTxtItem *j; in dns_txt_item_copy() 1813 j = memdup(i, offsetof(DnsTxtItem, data) + i->length + 1); in dns_txt_item_copy() 1826 int dns_txt_item_new_empty(DnsTxtItem **ret) { in dns_txt_item_new_empty() 1827 DnsTxtItem *i; in dns_txt_item_new_empty() [all …]
|
D | resolved-conf.c | 318 DnsTxtItem *last = NULL; in config_parse_dnssd_txt() 339 DnsTxtItem *i; in config_parse_dnssd_txt()
|
D | resolved-dns-packet.c | 1758 DnsTxtItem *last = NULL; in dns_packet_read_rr() 1761 DnsTxtItem *i; in dns_packet_read_rr() 1769 … i = malloc0(offsetof(DnsTxtItem, data) + sz + 1); /* extra NUL byte at the end */ in dns_packet_read_rr()
|
D | resolved-bus.c | 1963 DnsTxtItem *last = NULL; in bus_method_register_service() 1973 DnsTxtItem *i; in bus_method_register_service()
|