Lines Matching defs:word
23 #include "extract-word.h"
28 int manager_add_dns_server_by_string(Manager *m, DnsServerType type, const char *word) {
34 assert(word);
36 r = in_addr_from_string_auto(word, &family, &address);
63 _cleanup_free_ char *word = NULL;
65 r = extract_first_word(&string, &word, NULL, 0);
71 r = manager_add_dns_server_by_string(m, type, word);
73 log_warning_errno(r, "Failed to add DNS server address '%s', ignoring.", word);
118 _cleanup_free_ char *word = NULL;
120 r = extract_first_word(&string, &word, NULL, EXTRACT_QUOTES);
126 r = manager_add_search_domain_by_string(m, word);
128 log_warning_errno(r, "Failed to add search domain '%s', ignoring.", word);