mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-03-01 01:40:26 -05:00
iochannel/pstream: Support sending file descriptors
This patch adds support to iochannel, pstream and pstream-util to send file descriptors over a unix pipe. Currently we don't support writing both creds and fds in the same packet, it's either one or the other (or neither). Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
06bc22b220
commit
cb484805c1
6 changed files with 102 additions and 22 deletions
|
|
@ -49,7 +49,7 @@ void pa_pstream_unref(pa_pstream*p);
|
|||
|
||||
void pa_pstream_unlink(pa_pstream *p);
|
||||
|
||||
void pa_pstream_send_packet(pa_pstream*p, pa_packet *packet, const pa_creds *creds);
|
||||
void pa_pstream_send_packet(pa_pstream*p, pa_packet *packet, const pa_ancil *ancil);
|
||||
void pa_pstream_send_memblock(pa_pstream*p, uint32_t channel, int64_t offset, pa_seek_mode_t seek, const pa_memchunk *chunk);
|
||||
void pa_pstream_send_release(pa_pstream *p, uint32_t block_id);
|
||||
void pa_pstream_send_revoke(pa_pstream *p, uint32_t block_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue