summaryrefslogtreecommitdiff
path: root/src/basic/hostname-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-21 14:14:08 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-21 20:58:59 +0100
commit8e1ad1eaf74cd8eadf6a9b14e5d6edb24ab2da91 (patch)
tree6d702679189940e4a1f542a577a31ef70baf00ea /src/basic/hostname-util.h
parentb553a6b13c68cb72addde48281abe3f3b46e16a4 (diff)
networkd: add basic LLDP transmission support
Let's add some minimalistic LLDP sender support. The idea is that this is either on or off, and all fields determined automatically rather than configured explicitly.
Diffstat (limited to 'src/basic/hostname-util.h')
-rw-r--r--src/basic/hostname-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/hostname-util.h b/src/basic/hostname-util.h
index d062eddea1..7af4e6c7ec 100644
--- a/src/basic/hostname-util.h
+++ b/src/basic/hostname-util.h
@@ -26,6 +26,7 @@
bool hostname_is_set(void);
char* gethostname_malloc(void);
+int gethostname_strict(char **ret);
bool hostname_is_valid(const char *s, bool allow_trailing_dot) _pure_;
char* hostname_cleanup(char *s);