diff options
Diffstat (limited to 'src/shared/util.h')
-rw-r--r-- | src/shared/util.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/shared/util.h b/src/shared/util.h index d9b656d2ca..d3546ba1cd 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -345,9 +345,11 @@ void rename_process(const char name[8]); void sigset_add_many(sigset_t *ss, ...); -char* gethostname_malloc(void); bool hostname_is_set(void); + +char* gethostname_malloc(void); char* getlogname_malloc(void); +char* getusername_malloc(void); int getttyname_malloc(int fd, char **r); int getttyname_harder(int fd, char **r); @@ -527,4 +529,7 @@ bool in_initrd(void); void warn_melody(void); +int get_shell(char **ret); +int get_home_dir(char **ret); + #endif |