core-util: introduce pa_get_host_name_malloc() and pa_get_user_name_malloc()

This commit is contained in:
Lennart Poettering 2009-04-29 01:54:44 +02:00
parent 4abd5fae14
commit a8f0d7ec1e
2 changed files with 49 additions and 19 deletions

View file

@ -201,6 +201,9 @@ pa_bool_t pa_in_system_mode(void);
#define pa_streq(a,b) (!strcmp((a),(b)))
char *pa_get_host_name_malloc(void);
char *pa_get_user_name_malloc(void);
char *pa_machine_id(void);
char *pa_session_id(void);
char *pa_uname_string(void);