summaryrefslogtreecommitdiffstats
path: root/src/polypcore/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-02-24 17:14:23 +0000
committerLennart Poettering <lennart@poettering.net>2006-02-24 17:14:23 +0000
commit435897741505fbdac30002b02c55a528f6ec8a40 (patch)
tree650825f8515a7e4593b67a0106c7b92931101a79 /src/polypcore/util.h
parent25bcc106d02b29db0b39e18c8519e4ca51d81310 (diff)
* Add new "auth-group=" parameter to protocol-native-unix
* Rename "public=" argument of protocol-{esound,native} to "auth-anonymous" git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@601 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polypcore/util.h')
-rw-r--r--src/polypcore/util.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/polypcore/util.h b/src/polypcore/util.h
index af4e14c8..424283e7 100644
--- a/src/polypcore/util.h
+++ b/src/polypcore/util.h
@@ -53,7 +53,7 @@ char *pa_get_fqdn(char *s, size_t l);
char *pa_get_binary_name(char *s, size_t l);
char *pa_get_home_dir(char *s, size_t l);
-char *pa_path_get_filename(const char *p);
+const char *pa_path_get_filename(const char *p);
int pa_gettimeofday(struct timeval *tv);
pa_usec_t pa_timeval_diff(const struct timeval *a, const struct timeval *b);
@@ -75,7 +75,8 @@ char *pa_strip_nl(char *s);
const char *pa_strsignal(int sig);
-int pa_uid_in_group(const char *name, gid_t *gid);
+int pa_own_uid_in_group(const char *name, gid_t *gid);
+int pa_uid_in_group(uid_t uid, const char *name);
int pa_lock_fd(int fd, int b);