Searched refs:allow_trailing_dot (Results 1 - 2 of 2) sorted by relevance

/systemd/src/basic/
H A Dhostname-util.h30 bool hostname_is_valid(const char *s, bool allow_trailing_dot) _pure_;
H A Dhostname-util.c75 * allow_trailing_dot is true and at least two components are present
80 bool hostname_is_valid(const char *s, bool allow_trailing_dot) { argument
108 if (dot && (n_dots < 2 || !allow_trailing_dot))

Completed in 10 milliseconds