diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-02-24 15:12:42 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-02-24 15:12:42 +0000 |
commit | 3f264b2c4acfaaf8dd9c6b05526708a1d7648db0 (patch) | |
tree | 492a92e07c4b3274a81dd173167c4ba990175e9f /src/polypcore/pstream-util.h | |
parent | a1f5573313e888d39dbe4015bdd993ad9eccb92f (diff) |
add support for authentication using SCM_CREDENTIALS
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@596 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polypcore/pstream-util.h')
-rw-r--r-- | src/polypcore/pstream-util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/polypcore/pstream-util.h b/src/polypcore/pstream-util.h index c400c6d8..f2677a44 100644 --- a/src/polypcore/pstream-util.h +++ b/src/polypcore/pstream-util.h @@ -27,7 +27,9 @@ #include <polypcore/tagstruct.h> /* The tagstruct is freed!*/ -void pa_pstream_send_tagstruct(pa_pstream *p, pa_tagstruct *t); +void pa_pstream_send_tagstruct_with_creds(pa_pstream *p, pa_tagstruct *t, int creds); + +#define pa_pstream_send_tagstruct(p, t) pa_pstream_send_tagstruct_with_creds((p), (t), 0) void pa_pstream_send_error(pa_pstream *p, uint32_t tag, uint32_t error); void pa_pstream_send_simple_ack(pa_pstream *p, uint32_t tag); |