chiark / gitweb /
util: generalize is_localhost() and use it everywhere where applicable
[elogind.git] / src / shared / util.h
index 6ad43cd2749db490efc0fef6ee223f5ad168881f..6d3791be7f096a8748c5540c2a6dfed3f2507f00 100644 (file)
@@ -959,3 +959,5 @@ int fflush_and_check(FILE *f);
 
 char *tempfn_xxxxxx(const char *p);
 char *tempfn_random(const char *p);
+
+bool is_localhost(const char *hostname);