APR User ID Services. More...
#include "apr.h"
#include "apr_errno.h"
#include "apr_pools.h"
Go to the source code of this file.
Defines | |
#define | apr_uid_compare(left, right) (((left) == (right)) ? APR_SUCCESS : APR_EMISMATCH) |
#define | apr_gid_compare(left, right) (((left) == (right)) ? APR_SUCCESS : APR_EMISMATCH) |
Typedefs | |
typedef uid_t | apr_uid_t |
typedef gid_t | apr_gid_t |
Functions | |
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) |
APR User ID Services.