Main Page | Modules | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

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
dav_resource int dav_locktoken
dav_response int 
flags
apr_proc_t const char const
char *const const char *const
apr_procattr_t apr_pool_t
p

Define Documentation

#define APR_FILEPATH_ENCODING_LOCALE   1
 

The FilePath character encoding is locale-dependent

Definition at line 396 of file apr_file_info.h.

#define APR_FILEPATH_ENCODING_UNKNOWN   0
 

The FilePath character encoding is unknown

Definition at line 393 of file apr_file_info.h.

#define APR_FILEPATH_ENCODING_UTF8   2
 

The FilePath character encoding is UTF-8

Definition at line 399 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 294 of file apr_file_info.h.

Referenced by APR_DECLARE(), and filepath_drive_get().

#define APR_FILEPATH_NOTABOVEROOT   0x01
 

Cause apr_filepath_merge to fail if addpath is above rootpath

Definition at line 276 of file apr_file_info.h.

Referenced by merge_aboveroot(), merge_belowroot(), and prefix_stat().

#define APR_FILEPATH_NOTABSOLUTE   0x08
 

Fail apr_filepath_merge if the merged path is absolute

Definition at line 290 of file apr_file_info.h.

Referenced by merge_notabs(), and merge_notabsfail().

#define APR_FILEPATH_NOTRELATIVE   0x04
 

Fail apr_filepath_merge if the merged path is relative

Definition at line 287 of file apr_file_info.h.

Referenced by merge_notrel(), merge_notrelfail(), and prefix_stat().

#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 284 of file apr_file_info.h.

Referenced by AP_DECLARE_NONSTD().

#define APR_FILEPATH_SECUREROOTTEST   0x02
 

internal: Only meaningful with APR_FILEPATH_NOTABOVEROOT

Definition at line 279 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 300 of file apr_file_info.h.

Referenced by AP_DECLARE(), AP_DECLARE_NONSTD(), APR_DECLARE(), dirsection(), merge_dotdot(), netware_rewrite_args(), prefix_stat(), set_document_root(), and set_server_root().


Variable Documentation

const char const char* addpath
 

Definition at line 344 of file apr_file_info.h.

const char** filepath
 

Definition at line 326 of file apr_file_info.h.

Referenced by ssl_cmd_check_file().

unsigned flags
 

Definition at line 414 of file apr_tables.h.

Referenced by APR_DECLARE(), apr_thread_create(), dav_fs_open_stream(), do_wait(), file_bucket_read(), main(), open_entity(), pipeblock(), and pipenonblock().

apr_int32_t flags
 

Definition at line 382 of file apr_file_info.h.

const char* liststr
 

Definition at line 359 of file apr_file_info.h.

Referenced by list_merge_multi(), and list_merge_single().

apr_file_t apr_off_t apr_size_t apr_pool_t * p
 

Definition at line 1477 of file apr_buckets.h.

Referenced by add_alias_internal(), add_any_filter_handle(), add_proxy(), analyze_ct(), anon_authenticate_basic_user(), AP_CORE_DECLARE(), AP_DECLARE(), ap_proxy_connect_handler(), ap_proxy_ftp_canon(), ap_proxy_ftp_handler(), ap_proxy_http_handler(), ap_proxy_send_dir_filter(), ap_read_request(), apply_rewrite_list(), apr_cvt(), APU_DECLARE(), ascmagic(), bndm(), bucketeer_out_filter(), cache_save_filter(), cache_tlb_hash(), cgi_handler(), check_sockets(), check_speling(), clear_all_signalled(), clear_last_pollset(), clear_middle_pollset(), conv_10(), conv_10_quad(), conv_apr_sockaddr(), conv_fp(), conv_in_addr(), conv_p2(), conv_p2_quad(), create_all_sockets(), create_pipe(), create_socket(), dav_core_insert_prop(), DAV_DECLARE(), dav_find_liveprop_provider(), dav_fs_add_locknull_state(), dav_fs_append_locks(), dav_fs_get_locks(), dav_fs_insert_prop(), dav_fs_load_lock_record(), dav_fs_open_stream(), dav_fs_remove_locknull_state(), dav_get_ns_table_uri(), decodehtml(), delete_key(), find_arg_or_tail(), find_argument(), find_directive(), find_entry(), find_item(), find_partial_start_sequence(), find_start_sequence(), find_tail(), find_title(), get_canned_error_string(), getsfunc_STRING(), handle_set(), hash_count_0(), hash_count_1(), hash_count_5(), hash_make(), hash_reset(), hash_set(), hash_traverse(), hashTableDestroy(), ignore_entry(), index_directory(), is_tar(), key_space(), LDAP_DECLARE(), list_merge_multi(), list_merge_single(), list_split_multi(), list_split_single(), main(), make_autoindex_entry(), make_parent_entry(), merge_aboveroot(), merge_belowroot(), merge_dotdot(), merge_noflag(), merge_notabs(), merge_notabsfail(), merge_notrel(), merge_notrelfail(), merge_secure(), mkdir_structure(), mod_auth_ldap_build_filter(), mod_auth_ldap_parse_url(), no_options(), no_options_found(), normalizeLines(), normalizePublicId(), optional_option(), optional_option_notgiven(), overlay_2unique(), overlay_empty(), overlay_same(), parse_addr(), pcre_get_substring_list(), pcre_maketables(), pipe_bucket_read(), pipe_get_passwd_cb(), pollset_remove(), pool_bucket_cleanup(), pool_bucket_destroy(), pool_bucket_read(), poolClear(), poolDestroy(), prdatum(), PROXY_DECLARE(), proxy_fixup(), proxy_handler(), push_item(), read_connection(), read_table(), read_write(), read_write_notimeout(), recv0_pollset(), recv_1_send_0(), recv_2_send_1(), recv_large_pollarray(), required_option(), required_option_notgiven(), root_absolute(), root_relative(), same_value(), scan_meta_file(), sendto_receivefrom(), service_stderr_thread(), set_language_quality(), set_timeout(), setup_large_poll(), setup_pollset(), setup_small_poll(), snprintf_noNULL(), socket_bucket_read(), socket_userdata(), sort_hook(), ssl_pphrase_Handle_CB(), ssl_scache_dbm_expire(), ssl_scache_dbm_kill(), storeAtts(), strcasecmp(), string_long(), string_strtoi64(), strncasecmp(), summation_test(), table_make(), table_nelts(), table_overlap(), table_unset(), tcp6_socket(), tcp_socket(), test_bad_input(), test_bigread(), test_buffered_write_size(), test_closedir(), test_create_proc(), test_delenv(), test_dso_sym(), test_dso_sym_library(), test_dso_sym_return_value(), test_dso_sym_return_value_library(), test_dup2(), test_dup2_readwrite(), test_file_dup(), test_file_readwrite(), test_file_redir(), test_file_remove(), test_fileclose(), test_filename(), test_getc(), test_getenv(), test_gets(), test_gmtstr(), test_info_get(), test_interesting_subnets(), test_load_library(), test_load_module(), test_load_notthere(), test_mkdir(), test_mkdir_recurs(), test_mkdir_twice(), test_mod_neg(), test_mtime_set(), test_open_excl(), test_open_noreadwrite(), test_open_read(), test_open_readwrite(), test_open_write(), test_open_writecreate(), test_opendir(), test_opendir_notthere(), test_pipe_writefull(), test_read(), test_remove(), test_remove_notthere(), test_removeall(), test_removeall_fail(), test_rewind(), test_seek(), test_setenv(), test_singleton_subnets(), test_stat(), test_stat_eq_finfo(), test_strftime(), test_strtok(), test_truncate(), test_uncleared_errno(), test_ungetc(), test_unload_library(), test_unload_module(), test_userdata_get(), test_userdata_getnokey(), test_userdata_set(), test_write(), testdso(), testud(), trace_add(), try_alias_list(), udp6_socket(), udp_socket(), vhost_alias_interpolate(), vhost_alias_set(), virtualhost_section(), and XML_ParserFree().

apr_pool_t* p
 

Definition at line 408 of file apr_file_info.h.

apr_array_header_t* pathelts
 

Definition at line 372 of file apr_file_info.h.

Referenced by list_merge_multi(), list_merge_single(), list_split_multi(), and list_split_single().

const char* rootpath
 

Definition at line 344 of file apr_file_info.h.

Referenced by dav_fs_dir_file_name().