Apache HTTPD
Macros | Functions
dir_make_recurse.c File Reference
#include "apr_file_io.h"
#include "apr_lib.h"
#include "apr_strings.h"
#include <string.h>

Go to the source code of this file.

Macros

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

Functions

static const charpath_canonicalize (const char *path, apr_pool_t *pool)
 
static charpath_remove_last_component (const char *path, apr_pool_t *pool)
 
apr_status_t apr_dir_make_recursive (const char *path, apr_fileperms_t perm, apr_pool_t *pool)
 

Macro Definition Documentation

◆ IS_SEP

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

Definition at line 22 of file dir_make_recurse.c.

Function Documentation

◆ apr_dir_make_recursive()

apr_status_t apr_dir_make_recursive ( const char path,
apr_fileperms_t  perm,
apr_pool_t pool 
)

Definition at line 63 of file dir_make_recurse.c.

◆ path_canonicalize()

static const char * path_canonicalize ( const char path,
apr_pool_t pool 
)
static

Definition at line 25 of file dir_make_recurse.c.

◆ path_remove_last_component()

static char * path_remove_last_component ( const char path,
apr_pool_t pool 
)
static

Definition at line 47 of file dir_make_recurse.c.