chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
logind: allow sessions to share a VT if it's a greeter
[elogind.git]
/
src
/
shared
/
hostname-util.h
diff --git
a/src/shared/hostname-util.h
b/src/shared/hostname-util.h
index f2821c307810f8156567d38f837310c9bb856b1b..0c4763cf5a377053b085a272e04cce85607b082d 100644
(file)
--- a/
src/shared/hostname-util.h
+++ b/
src/shared/hostname-util.h
@@
-35,3
+35,5
@@
char* hostname_cleanup(char *s, bool lowercase);
bool is_localhost(const char *hostname);
int sethostname_idempotent(const char *s);
+
+int read_hostname_config(const char *path, char **hostname);