diff options
Diffstat (limited to 'src/pulsecore/creds.h')
-rw-r--r-- | src/pulsecore/creds.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pulsecore/creds.h b/src/pulsecore/creds.h index 64d8387..9fdbb4f 100644 --- a/src/pulsecore/creds.h +++ b/src/pulsecore/creds.h @@ -49,9 +49,14 @@ struct pa_cmsg_ancil_data { pa_creds creds; bool creds_valid; int nfd; + + /* Don't close these fds by your own. Check pa_cmsg_ancil_data_close_fds() */ int fds[MAX_ANCIL_DATA_FDS]; + bool close_fds_on_cleanup; }; +void pa_cmsg_ancil_data_close_fds(struct pa_cmsg_ancil_data *ancil); + #else #undef HAVE_CREDS #endif |