|
Apache HTTPD
|
#include "apr.h"#include <aclapi.h>#include "apr_private.h"#include "apr_arch_file_io.h"#include "apr_file_io.h"#include "apr_general.h"#include "apr_strings.h"#include "apr_errno.h"#include "apr_time.h"#include <sys/stat.h>#include "apr_arch_atime.h"#include "apr_arch_misc.h"Go to the source code of this file.
Typedefs | |
| typedef enum prot_scope_e | prot_scope_e |
Enumerations | |
| enum | prot_scope_e { prot_scope_world = 0 , prot_scope_group = 4 , prot_scope_user = 8 } |
Functions | |
| static apr_status_t | test_safe_name (const char *name) |
| static apr_status_t | free_localheap (void *heap) |
| static void | free_world (void) |
| static apr_fileperms_t | convert_prot (ACCESS_MASK acc, prot_scope_e scope) |
| static void | resolve_prot (apr_finfo_t *finfo, apr_int32_t wanted, PACL dacl) |
| static apr_status_t | resolve_ident (apr_finfo_t *finfo, const char *fname, apr_int32_t wanted, apr_pool_t *pool) |
| static apr_status_t | guess_protection_bits (apr_finfo_t *finfo, apr_int32_t wanted) |
| static int | reparse_point_is_link (WIN32_FILE_ATTRIBUTE_DATA *wininfo, int finddata, const char *fname) |
| apr_status_t | more_finfo (apr_finfo_t *finfo, const void *ufile, apr_int32_t wanted, int whatfile) |
| int | fillin_fileinfo (apr_finfo_t *finfo, WIN32_FILE_ATTRIBUTE_DATA *wininfo, int byhandle, int finddata, const char *fname, apr_int32_t wanted) |
| APR_DECLARE (apr_status_t) | |
Variables | |
| static apr_gid_t | worldid = NULL |
| Enumerator | |
|---|---|
| prot_scope_world | |
| prot_scope_group | |
| prot_scope_user | |
Definition at line 69 of file filestat.c.
|
static |
< Execute by others
<
< Write by others
<
< Read by others
<
Definition at line 75 of file filestat.c.
| int fillin_fileinfo | ( | apr_finfo_t * | finfo, |
| WIN32_FILE_ATTRIBUTE_DATA * | wininfo, | ||
| int | byhandle, | ||
| int | finddata, | ||
| const char * | fname, | ||
| apr_int32_t | wanted | ||
| ) |
< Stat the link not the file itself if it is a link
< Access Time
< Creation or inode-changed time
< Modification Time
< Size of the file
< Type
< Stat the link not the file itself if it is a link
< Stat the link not the file itself if it is a link
Definition at line 417 of file filestat.c.
|
static |
Definition at line 53 of file filestat.c.
|
static |
Definition at line 60 of file filestat.c.
|
static |
< Read by others
<
< Execute by others
<
< Read by others
<
< Execute by others
<
< Write by others
<
< User protection bits
< Group protection bits
< World protection bits
Definition at line 191 of file filestat.c.
| apr_status_t more_finfo | ( | apr_finfo_t * | finfo, |
| const void * | ufile, | ||
| apr_int32_t | wanted, | ||
| int | whatfile | ||
| ) |
< all protections
< user and group
< User
< User protection bits
< Group
< Group protection bits
< all protections
< User
< User protection bits
< Group
< Group protection bits
< all protections
< User
< User protection bits
< Group
< Group protection bits
< all protections
< User
< User protection bits
< Group
< Group protection bits
< all protections
< User
< Group
< all protections
< Storage size consumed by the file
< Storage size consumed by the file
< Storage size consumed by the file
Definition at line 278 of file filestat.c.
|
static |
Definition at line 213 of file filestat.c.
|
static |
< Stat the link not the file itself if it is a link
< all protections
< user and group
< use OS's default permissions
<
< all protections
< user and group
< Stat the link not the file itself if it is a link
< use OS's default permissions
<
< all protections
< user and group
< Stat the link not the file itself if it is a link
< Stat the link not the file itself if it is a link
Definition at line 142 of file filestat.c.
|
static |
< World protection bits
< User protection bits
< User
< User protection bits
< Group protection bits
< Group
< Group protection bits
< World protection bits
< World protection bits
Definition at line 91 of file filestat.c.
|
static |
Definition at line 33 of file filestat.c.
Definition at line 58 of file filestat.c.