summaryrefslogtreecommitdiffstats
path: root/polyp/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-11-04 21:27:12 +0000
committerLennart Poettering <lennart@poettering.net>2004-11-04 21:27:12 +0000
commit5844a33f0be1af942ee33feae38b9d46169fd61c (patch)
tree7a2feaab269107da3131a6baa2932aad3dc4377a /polyp/util.h
parent2aad9e3ae2aa53d13458faf148946cf7e7d87627 (diff)
some commenting
change alogrithm for checking for configuration files git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@273 fefdeb5f-60dc-0310-8127-8f9354f1896f
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