]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/hostname-util.h
Add SPDX license identifiers to source files under the LGPL
[thirdparty/systemd.git] / src / basic / hostname-util.h
index d062eddea19f6f5a5ddcea639da72e83795edc4c..a7d09c910b5d02ed3a80bb2d9e0d3546b439ba39 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
 #pragma once
 
 /***
@@ -26,6 +27,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);