apr_user.h File Reference

APR User ID Services. More...

#include "apr.h"
#include "apr_errno.h"
#include "apr_pools.h"

Go to the source code of this file.


#define apr_uid_compare(left, right)   (((left) == (right)) ? APR_SUCCESS : APR_EMISMATCH)
#define apr_gid_compare(left, right)   (((left) == (right)) ? APR_SUCCESS : APR_EMISMATCH)


typedef uid_t apr_uid_t
typedef gid_t apr_gid_t


apr_status_t apr_uid_current (apr_uid_t *userid, apr_gid_t *groupid, apr_pool_t *p)
apr_status_t apr_uid_name_get (char **username, apr_uid_t userid, apr_pool_t *p)
apr_status_t apr_uid_get (apr_uid_t *userid, apr_gid_t *groupid, const char *username, apr_pool_t *p)
apr_status_t apr_uid_homepath_get (char **dirname, const char *username, apr_pool_t *p)
apr_status_t apr_gid_name_get (char **groupname, apr_gid_t groupid, apr_pool_t *p)
apr_status_t apr_gid_get (apr_gid_t *groupid, const char *groupname, apr_pool_t *p)

Detailed Description

APR User ID Services.

Generated on Sat Aug 16 19:13:40 2008 for Apache Portable Runtime by  doxygen 1.5.6