ewmscp
..
|
#include <davixCommon.h>
Public Member Functions | |
davixCommon (davixConfigObject &configObj) | |
bool | pathExists (const std::string &path) override |
std::unique_ptr< const genericStat > | getStat (const std::string &path, bool followLink) override |
![]() | |
virtual | ~pathHandler ()=default |
virtual std::string | getXattr (const std::string &, const std::string &) |
Static Public Member Functions | |
static void | getPassword (const std::string &prompt, std::string &password) |
Public Attributes | |
Davix::RequestParams | params |
Davix::DavPosix | posix |
Protected Member Functions | |
int | loginCallbackInner (std::string &login, std::string &password, int count) |
Static Protected Member Functions | |
static int | loginCallback (void *userdata, const Davix::SessionInfo &info, std::string &login, std::string &password, int count, Davix::DavixError **err) |
Protected Attributes | |
Davix::Context | context |
std::string | loginName |
std::string | passWord |
Definition at line 193 of file davixCommon.h.
davixCommon::davixCommon | ( | davixConfigObject & | configObj | ) |
Definition at line 107 of file davixCommon.cpp.
References davixConfigObject::accessConfigured(), davixConfigObject::apply(), loginCallback(), loginCallbackInner(), loginName, davixConfigObject::noAuth, params, and passWord.
|
static |
Definition at line 125 of file davixCommon.cpp.
References throwcall::good0().
Referenced by davixCfgX509::applySingle(), and loginCallbackInner().
|
overridevirtual |
Implements pathHandler.
Definition at line 185 of file davixCommon.cpp.
References params, posix, and errorReport::throwUp().
Referenced by davixIoCommon::getStat().
|
staticprotected |
Definition at line 116 of file davixCommon.cpp.
References loginCallbackInner().
Referenced by davixCommon().
|
protected |
Definition at line 138 of file davixCommon.cpp.
References getPassword(), loginName, and passWord.
Referenced by davixCommon(), and loginCallback().
|
overridevirtual |
Implements pathHandler.
Definition at line 174 of file davixCommon.cpp.
References params, posix, and errorReport::throwUp().
|
protected |
Definition at line 195 of file davixCommon.h.
|
protected |
Definition at line 200 of file davixCommon.h.
Referenced by davixCommon(), and loginCallbackInner().
Davix::RequestParams davixCommon::params |
Definition at line 197 of file davixCommon.h.
Referenced by davixCommon(), inputHandler::davix::DavixDirectory::DavixDirectory(), outputHandler::davix::ensureParentDirs(), getStat(), pathExists(), inputHandler::davix::readerDavix::readerDavix(), outputHandler::davix::remove(), outputHandler::davix::renameSimple(), and outputHandler::davix::writerDavix::writerDavix().
|
protected |
Definition at line 201 of file davixCommon.h.
Referenced by davixCommon(), and loginCallbackInner().
Davix::DavPosix davixCommon::posix |
Definition at line 198 of file davixCommon.h.
Referenced by inputHandler::davix::DavixDirectory::DavixDirectory(), outputHandler::davix::ensureParentDirs(), getStat(), pathExists(), inputHandler::davix::readerDavix::readerDavix(), outputHandler::davix::remove(), outputHandler::davix::renameSimple(), and outputHandler::davix::writerDavix::writerDavix().