17 #ifndef APR_PERMS_SET_H 18 #define APR_PERMS_SET_H 45 #define APR_PERMS_SET_IMPLEMENT(type) \ 46 APR_DECLARE(apr_status_t) apr_##type##_perms_set \ 47 (void *the##type, apr_fileperms_t perms, \ 48 apr_uid_t uid, apr_gid_t gid) 50 #define APR_PERMS_SET_ENOTIMPL(type) \ 51 APR_DECLARE(apr_status_t) apr_##type##_perms_set \ 52 (void *the##type, apr_fileperms_t perms, \ 53 apr_uid_t uid, apr_gid_t gid) \ 54 { return APR_ENOTIMPL ; } 56 #define APR_PERMS_SET_FN(type) apr_##type##_perms_set
uid_t apr_uid_t
Definition: apr_user.h:45
apr_int32_t apr_fileperms_t
Definition: apr_file_info.h:125
APR Platform Definitions.
gid_t apr_gid_t
Definition: apr_user.h:54
int apr_status_t
Definition: apr_errno.h:44
apr_status_t() apr_perms_setfn_t(void *object, apr_fileperms_t perms, apr_uid_t uid, apr_gid_t gid)
Definition: apr_perms_set.h:42