summaryrefslogtreecommitdiffstats
path: root/polyp/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/util.h')
-rw-r--r--polyp/util.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/polyp/util.h b/polyp/util.h
index 85da38d0..0299148e 100644
--- a/polyp/util.h
+++ b/polyp/util.h
@@ -25,6 +25,7 @@
#include <sys/types.h>
#include <inttypes.h>
#include <stdarg.h>
+#include <stdio.h>
#include "gcc-printf.h"
#include "sample.h"
@@ -46,7 +47,7 @@ char *pa_strlcpy(char *b, const char *s, size_t l);
char *pa_get_user_name(char *s, size_t l);
char *pa_get_host_name(char *s, size_t l);
char *pa_get_binary_name(char *s, size_t l);
-char *pa_get_home(char *s, size_t l);
+char *pa_get_home_dir(char *s, size_t l);
char *pa_path_get_filename(const char *p);
@@ -78,4 +79,6 @@ int pa_lock_fd(int fd, int b);
int pa_lock_lockfile(const char *fn);
int pa_unlock_lockfile(int fd);
+FILE *pa_open_config_file(const char *env, const char *global, const char *local, char **result);
+
#endif