chiark / gitweb /
main: try a bit harder to find an init process to execute after reexec/switch-root
[elogind.git] / src / shared / util.h
index f1bcb8a1017a596de38c620f8dc305a462e5d11d..e727ee738908f84b8b070fe005e8a0c8fee86a4e 100644 (file)
@@ -337,6 +337,7 @@ void rename_process(const char name[8]);
 void sigset_add_many(sigset_t *ss, ...);
 
 char* gethostname_malloc(void);
+bool hostname_is_set(void);
 char* getlogname_malloc(void);
 
 int getttyname_malloc(int fd, char **r);
@@ -508,4 +509,6 @@ int getenv_for_pid(pid_t pid, const char *field, char **_value);
 
 int can_sleep(const char *type);
 
+bool is_valid_documentation_url(const char *url);
+
 #endif