Apache HTTPD
Macros | Functions | Variables
filesys.c File Reference
#include "apr.h"
#include "apr_arch_file_io.h"
#include "apr_strings.h"
#include "apr_lib.h"
#include <ctype.h>

Go to the source code of this file.

Macros

#define IS_SLASH(c)   (c == '/' || c == '\\')
 

Functions

apr_status_t filepath_root_test (char *path, apr_pool_t *p)
 
apr_status_t filepath_drive_get (char **rootpath, char drive, apr_int32_t flags, apr_pool_t *p)
 
apr_status_t filepath_root_case (char **rootpath, char *root, apr_pool_t *p)
 
 APR_DECLARE (apr_status_t)
 

Variables

const char c_is_fnchar [256]
 

Macro Definition Documentation

◆ IS_SLASH

#define IS_SLASH (   c)    (c == '/' || c == '\\')

Definition at line 52 of file filesys.c.

Function Documentation

◆ filepath_drive_get()

apr_status_t filepath_drive_get ( char **  rootpath,
char  drive,
apr_int32_t  flags,
apr_pool_t p 
)

Definition at line 66 of file filesys.c.

◆ filepath_root_case()

apr_status_t filepath_root_case ( char **  rootpath,
char root,
apr_pool_t p 
)

Definition at line 96 of file filesys.c.

◆ filepath_root_test()

apr_status_t filepath_root_test ( char path,
apr_pool_t p 
)

Definition at line 55 of file filesys.c.

Variable Documentation

◆ c_is_fnchar

const char c_is_fnchar[256]
Initial value:
=
{
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,0, 1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
}

Definition at line 35 of file filesys.c.