Lines Matching defs:names
36 char **names;
51 strv_free(item->names);
98 static int add_item(Manager *m, int family, const union in_addr_union *address, char **names) {
119 /* If this is a normal address, then, simply add entry mapping it to the specified names */
123 r = strv_extend_strv(&item->names, names, true);
138 item->names = names;
148 STRV_FOREACH(n, names) {
188 _cleanup_strv_free_ char **names = NULL;
227 r = strv_push(&names, name);
234 if (strv_isempty(names)) {
239 log_error("Line is missing any host names, in line /etc/hosts:%u.", nr);
243 /* Takes possession of the names strv */
244 r = add_item(m, family, &in, names);
248 names = NULL;
378 r = dns_answer_reserve(answer, strv_length(item->names));
382 STRV_FOREACH(n, item->names) {