X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Fhostname-util.h;h=4282d71ae2a98fb6b073e9bdc80a4e85523a730a;hp=2a264888bb3a5175d6aaba803480883ce8c0480a;hb=cdc7b27bf58e294db71812932cd5f6f4a8dccc8b;hpb=da2587d5154e11d4e643e326793f3ce2cc48dee6 diff --git a/src/basic/hostname-util.h b/src/basic/hostname-util.h index 2a264888b..4282d71ae 100644 --- a/src/basic/hostname-util.h +++ b/src/basic/hostname-util.h @@ -1,5 +1,3 @@ -/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ - #pragma once /*** @@ -27,9 +25,13 @@ #if 0 /// UNNEEDED by elogind bool hostname_is_set(void); +#endif // 0 char* gethostname_malloc(void); +#if 0 /// UNNEEDED by elogind +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);