diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-05-21 22:50:58 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-05-21 22:50:58 +0000 |
commit | 28405e3dcfba8b8b813678a79ca8194cccc7bb76 (patch) | |
tree | 692168798eb41ad24db7834f230e8e6e7a8e0b0d /src/pulsecore/pid.h | |
parent | 6be0c7526cf6451d4089b5123ceae6fa3911e512 (diff) |
big mumbo jumo of interleaved patches.
* Use seperate "state" and "config" paths
* Pass the fact that we are in system mode via an env var $PULSE_SYSTEM instead of as var in pa_core
* Properly check proc name when checking PID files. Don't check exename, because we cannot read that for other uids
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2480 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/pid.h')
-rw-r--r-- | src/pulsecore/pid.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pulsecore/pid.h b/src/pulsecore/pid.h index 1d6de7b5..af407191 100644 --- a/src/pulsecore/pid.h +++ b/src/pulsecore/pid.h @@ -24,9 +24,9 @@ USA. ***/ -int pa_pid_file_create(void); +int pa_pid_file_create(const char *procname); int pa_pid_file_remove(void); -int pa_pid_file_check_running(pid_t *pid, const char *binary_name); -int pa_pid_file_kill(int sig, pid_t *pid, const char *binary_name); +int pa_pid_file_check_running(pid_t *pid, const char *procname); +int pa_pid_file_kill(int sig, pid_t *pid, const char *procname); #endif |