creds: Rename pa_ancil to pa_cmsg_ancil_data

Makes the purpose of the structure clearear.
This commit is contained in:
Arun Raghavan 2014-08-06 07:48:19 +05:30
parent 72e5671ece
commit 8718496d14
12 changed files with 82 additions and 82 deletions

View file

@ -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