chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: generalize is_localhost() and use it everywhere where applicable
[elogind.git]
/
src
/
shared
/
util.h
diff --git
a/src/shared/util.h
b/src/shared/util.h
index 6ad43cd2749db490efc0fef6ee223f5ad168881f..6d3791be7f096a8748c5540c2a6dfed3f2507f00 100644
(file)
--- a/
src/shared/util.h
+++ b/
src/shared/util.h
@@
-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);