chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prep v230: Apply missing upstream fixes and updates (2/8) src/basic.
[elogind.git]
/
src
/
basic
/
hostname-util.h
diff --git
a/src/basic/hostname-util.h
b/src/basic/hostname-util.h
index f22716d0ec197113b1d41ab224a8e35225659635..1c9efabe1833d140046307c889c2f046018fc9d5 100644
(file)
--- a/
src/basic/hostname-util.h
+++ b/
src/basic/hostname-util.h
@@
-27,7
+27,9
@@
bool hostname_is_set(void);
char* gethostname_malloc(void);
+int gethostname_strict(char **ret);
#endif // 0
+
bool hostname_is_valid(const char *s, bool allow_trailing_dot) _pure_;
#if 0 /// UNNEEDED by elogind
char* hostname_cleanup(char *s);