RTEMS
5.0.0
|
Path evaluation context. More...
#include <libio.h>
Data Fields | |
const char * | path |
size_t | pathlen |
const char * | token |
size_t | tokenlen |
int | flags |
int | recursionlevel |
rtems_filesystem_location_info_t | currentloc |
rtems_filesystem_global_location_t * | rootloc |
rtems_filesystem_global_location_t * | startloc |
Path evaluation context.
rtems_filesystem_location_info_t rtems_filesystem_eval_path_context_t::currentloc |
This is the current file system location of the evaluation process. Tokens are evaluated with respect to the current location. The token interpretation may change the current location. The purpose of the path evaluation is to change the start location into a final current location according to the path.
int rtems_filesystem_eval_path_context_t::flags |
The path evaluation is controlled by the following flags
const char* rtems_filesystem_eval_path_context_t::path |
The contents of the remaining path to be evaluated.
size_t rtems_filesystem_eval_path_context_t::pathlen |
The length of the remaining path to be evaluated.
int rtems_filesystem_eval_path_context_t::recursionlevel |
Symbolic link evaluation is a recursive operation. This field helps to limit the recursion level and thus prevents a stack overflow. The recursion level is limited by RTEMS_FILESYSTEM_SYMLOOP_MAX.
rtems_filesystem_global_location_t* rtems_filesystem_eval_path_context_t::rootloc |
The location of the root directory of the user environment during the evaluation start.
rtems_filesystem_global_location_t* rtems_filesystem_eval_path_context_t::startloc |
The start location of the evaluation process. The start location my change during symbolic link evaluation.
const char* rtems_filesystem_eval_path_context_t::token |
The contents of the token to be evaluated with respect to the current location.
size_t rtems_filesystem_eval_path_context_t::tokenlen |
The length of the token to be evaluated with respect to the current location.