mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-15 06:59:58 -05:00
creds: Rename pa_ancil to pa_cmsg_ancil_data
Makes the purpose of the structure clearear.
This commit is contained in:
parent
72e5671ece
commit
8718496d14
12 changed files with 82 additions and 82 deletions
|
|
@ -31,10 +31,10 @@
|
|||
#include <pulsecore/socket.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#define MAX_ANCIL_FDS 2
|
||||
#define MAX_ANCIL_DATA_FDS 2
|
||||
|
||||
typedef struct pa_creds pa_creds;
|
||||
typedef struct pa_ancil pa_ancil;
|
||||
typedef struct pa_cmsg_ancil_data pa_cmsg_ancil_data;
|
||||
|
||||
#if defined(SCM_CREDENTIALS)
|
||||
|
||||
|
|
@ -46,12 +46,12 @@ struct pa_creds {
|
|||
};
|
||||
|
||||
/* Struct for handling ancillary data, i e, extra data that can be sent together with a message
|
||||
over unix pipes. Supports sending and receiving credentials and file descriptors. */
|
||||
struct pa_ancil {
|
||||
* over unix pipes. Supports sending and receiving credentials and file descriptors. */
|
||||
struct pa_cmsg_ancil_data {
|
||||
pa_creds creds;
|
||||
bool creds_valid;
|
||||
int nfd;
|
||||
int fds[MAX_ANCIL_FDS];
|
||||
int fds[MAX_ANCIL_DATA_FDS];
|
||||
};
|
||||
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue