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
This commit is contained in:
Lennart Poettering 2004-11-04 21:27:12 +00:00
parent 2aad9e3ae2
commit 5844a33f0b
9 changed files with 156 additions and 84 deletions

View file

@ -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