summaryrefslogtreecommitdiff
path: root/src/pulsecore/creds.h
diff options
context:
space:
mode:
authorArun Raghavan <arun@accosted.net>2014-08-06 07:48:19 +0530
committerArun Raghavan <arun@accosted.net>2014-10-31 10:46:10 +0530
commit8718496d1497ea32ef83a46a30625cac096d9f95 (patch)
tree9c76a9ca29ec1ee47bcb155de02c38f3413b50c5 /src/pulsecore/creds.h
parent72e5671eceacda19bc490be19fd8afa505418ed4 (diff)
creds: Rename pa_ancil to pa_cmsg_ancil_data
Makes the purpose of the structure clearear.
Diffstat (limited to 'src/pulsecore/creds.h')
-rw-r--r--src/pulsecore/creds.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pulsecore/creds.h b/src/pulsecore/creds.h
index 06806bc0f..43f616614 100644
--- a/src/pulsecore/creds.h
+++ b/src/pulsecore/creds.h
@@ -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