blocxx
|
#include "blocxx/BLOCXX_config.h"
#include "blocxx/String.hpp"
Go to the source code of this file.
Namespaces | |
namespace | BLOCXX_NAMESPACE |
Taken from RFC 1321. | |
Defines | |
#define | LSTAT ::lstat |
#define | READLINK(path, buf, size) ::readlink((path), (buf), (size)) |
#define | READLINK_ALLOWED true |
Enumerations | |
enum | BLOCXX_NAMESPACE::EFileStatusReturn { BLOCXX_NAMESPACE::E_FILE_OK, BLOCXX_NAMESPACE::E_FILE_BAD_OWNER, BLOCXX_NAMESPACE::E_FILE_BAD_OTHER } |
Functions | |
BLOCXX_COMMON_API bool | BLOCXX_NAMESPACE::isPathAbsolute (String const &path) |
EFileStatusReturn | BLOCXX_NAMESPACE::getFileStatus (struct stat const &x, uid_t uid, bool is_full_path, const String &path) |
GetFileStatus() - just to unify the call of file_ok() for Win and xNix. |
#define LSTAT ::lstat |
Definition at line 126 of file PathSecurity.hpp.
#define READLINK | ( | path, | |
buf, | |||
size | |||
) | ::readlink((path), (buf), (size)) |
Definition at line 127 of file PathSecurity.hpp.
#define READLINK_ALLOWED true |
Definition at line 128 of file PathSecurity.hpp.