GME  13
Defines | Variables
Filepath Manipulation Functions
File Information
Collaboration diagram for Filepath Manipulation Functions:

Defines

#define APR_FILEPATH_NOTABOVEROOT   0x01
#define APR_FILEPATH_SECUREROOTTEST   0x02
#define APR_FILEPATH_SECUREROOT   0x03
#define APR_FILEPATH_NOTRELATIVE   0x04
#define APR_FILEPATH_NOTABSOLUTE   0x08
#define APR_FILEPATH_NATIVE   0x10
#define APR_FILEPATH_TRUENAME   0x20
#define APR_FILEPATH_ENCODING_UNKNOWN   0
#define APR_FILEPATH_ENCODING_LOCALE   1
#define APR_FILEPATH_ENCODING_UTF8   2

Variables

const char ** filepath
const char apr_int32_t flags
const char apr_int32_t apr_pool_tp
const char * rootpath
const char const char * addpath
const char * liststr
apr_array_header_tpathelts

Define Documentation

The FilePath character encoding is locale-dependent

Definition at line 407 of file apr_file_info.h.

The FilePath character encoding is unknown

Definition at line 404 of file apr_file_info.h.

The FilePath character encoding is UTF-8

Definition at line 410 of file apr_file_info.h.

#define APR_FILEPATH_NATIVE   0x10

Return the file system's native path format (e.g. path delimiters of ':' on MacOS9, '\' on Win32, etc.)

Definition at line 305 of file apr_file_info.h.

#define APR_FILEPATH_NOTABOVEROOT   0x01

Cause apr_filepath_merge to fail if addpath is above rootpath

Bug:
in APR 0.9 and 1.x, this flag's behavior is undefined if the rootpath is NULL or empty. In APR 2.0 this should be changed to imply NOTABSOLUTE if the rootpath is NULL or empty.

Definition at line 287 of file apr_file_info.h.

#define APR_FILEPATH_NOTABSOLUTE   0x08

Fail apr_filepath_merge if the merged path is absolute

Definition at line 301 of file apr_file_info.h.

#define APR_FILEPATH_NOTRELATIVE   0x04

Fail apr_filepath_merge if the merged path is relative

Definition at line 298 of file apr_file_info.h.

#define APR_FILEPATH_SECUREROOT   0x03

Cause apr_filepath_merge to fail if addpath is above rootpath, even given a rootpath /foo/bar and an addpath ../bar/bash

Definition at line 295 of file apr_file_info.h.

#define APR_FILEPATH_SECUREROOTTEST   0x02

internal: Only meaningful with APR_FILEPATH_NOTABOVEROOT

Definition at line 290 of file apr_file_info.h.

#define APR_FILEPATH_TRUENAME   0x20

Resolve the true case of existing directories and file elements of addpath, (resolving any aliases on Win32) and append a proper trailing slash if a directory

Definition at line 311 of file apr_file_info.h.


Variable Documentation

const char const char* addpath

Definition at line 355 of file apr_file_info.h.

const char** filepath

Definition at line 337 of file apr_file_info.h.

const char char const apr_size_t apr_uint32_t apr_uint16_t flags

Definition at line 337 of file apr_file_info.h.

const char* liststr

Definition at line 370 of file apr_file_info.h.

Definition at line 337 of file apr_file_info.h.

Definition at line 383 of file apr_file_info.h.

const char* rootpath

Definition at line 355 of file apr_file_info.h.