summaryrefslogtreecommitdiff
path: root/src/shared/hostname-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/hostname-util.h')
-rw-r--r--src/shared/hostname-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/hostname-util.h b/src/shared/hostname-util.h
index f2821c3078..0c4763cf5a 100644
--- 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);