PathSecurity.hpp File Reference

#include "blocxx/BLOCXX_config.h"
#include "blocxx/String.hpp"
#include <sys/stat.h>

Go to the source code of this file.

Namespaces

namespace  BLOCXX_NAMESPACE

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

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 Documentation

#define LSTAT   ::lstat

Definition at line 126 of file PathSecurity.hpp.

Referenced by BLOCXX_NAMESPACE::wrapped_lstat().

#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.


Generated on Wed Feb 25 19:05:00 2009 for blocxx by  doxygen 1.5.6