diff options
author | mturk <mturk@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-07 09:05:54 +0000 |
---|---|---|
committer | mturk <mturk@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-07 09:05:54 +0000 |
commit | f7bb349f452a437ce25a6f28e2a697ee778be019 (patch) | |
tree | 72195709836055ff4c591d5f9716fbe183e463e6 /include/apr_shm.h | |
parent | ab3d0e19572d404272244af8600a9d865b201719 (diff) | |
download | libapr-f7bb349f452a437ce25a6f28e2a697ee778be019.tar.gz |
Add object perms set macros and implement them for shm and mutex
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@741862 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_shm.h')
-rw-r--r-- | include/apr_shm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/apr_shm.h b/include/apr_shm.h index 2b1d50f6d..e830b96e1 100644 --- a/include/apr_shm.h +++ b/include/apr_shm.h @@ -25,6 +25,7 @@ #include "apr.h" #include "apr_pools.h" #include "apr_errno.h" +#include "apr_perms_set.h" #ifdef __cplusplus extern "C" { @@ -133,6 +134,11 @@ APR_DECLARE(void *) apr_shm_baseaddr_get(const apr_shm_t *m); APR_DECLARE(apr_size_t) apr_shm_size_get(const apr_shm_t *m); /** + * Set shared memory permissions. + */ +APR_PERMS_SET_IMPLEMENT(shm); + +/** * Get the pool used by this shared memory segment. */ APR_POOL_DECLARE_ACCESSOR(shm); |