return true;
}
+/// UNNEEDED by elogind
+#if 0
char* hostname_cleanup(char *s) {
char *p, *d;
bool dot;
return s;
}
+#endif // 0
bool is_localhost(const char *hostname) {
assert(hostname);
endswith_no_case(hostname, ".localdomain.");
}
+/// UNNEEDED by elogind
+#if 0
bool is_gateway_hostname(const char *hostname) {
assert(hostname);
strcaseeq(hostname, "gateway.");
}
-/// UNNEEDED by elogind
-#if 0
int sethostname_idempotent(const char *s) {
char buf[HOST_NAME_MAX + 1] = {};