|
SvnCpp
|
#include <context_listener.hpp>
Data Structures | |
| struct | SslServerTrustData |
Public Types | |
| enum | SslServerTrustAnswer { DONT_ACCEPT = 0, ACCEPT_TEMPORARILY, ACCEPT_PERMANENTLY } |
Public Member Functions | |
| virtual bool | contextGetLogin (const std::string &realm, std::string &username, std::string &password, bool &maySave)=0 |
| virtual void | contextNotify (const char *path, svn_wc_notify_action_t action, svn_node_kind_t kind, const char *mime_type, svn_wc_notify_state_t content_state, svn_wc_notify_state_t prop_state, svn_revnum_t revision)=0 |
| virtual bool | contextCancel ()=0 |
| virtual bool | contextGetLogMessage (std::string &msg)=0 |
| virtual SslServerTrustAnswer | contextSslServerTrustPrompt (const SslServerTrustData &data, apr_uint32_t &acceptedFailures)=0 |
| virtual bool | contextSslClientCertPrompt (std::string &certFile)=0 |
| virtual bool | contextSslClientCertPwPrompt (std::string &password, const std::string &realm, bool &maySave)=0 |
| virtual | ~ContextListener () |
This is the interface that is used by Context for callbacks. To use this you will have to inherit from this interface and overwrite the virtual methods.
|
inlinevirtual |
|
pure virtual |
|
pure virtual |
this method will be called to retrieve authentication information
WORKAROUND FOR apr_xlate PROBLEM: STRINGS ALREADY HAVE TO BE UTF8!!!
| username | |
| realm | in which username/password will be used |
| password | |
| maySave | in/out set false to not save |
| true | continue |
|
pure virtual |
this method will be called to retrieve a log message
WORKAROUND FOR apr_xlate PROBLEM: STRINGS ALREADY HAVE TO BE UTF8!!!
| msg | log message |
| true | continue |
|
pure virtual |
this method will be called to notify about the progress of an ongoing action
| path | |
| action | |
| kind | |
| mime_type | |
| content_state | |
| prop_state | |
| revision |
|
pure virtual |
this method is called to retrieve client side information
Referenced by svn::ContextListener::SslServerTrustData::operator=().
|
pure virtual |
this method is called to retrieve the password for the client certificate
| password | |
| realm | |
| maySave |
Referenced by svn::ContextListener::SslServerTrustData::operator=().
|
pure virtual |
this method is called if there is ssl server information, that has to be confirmed by the user
| data | |
| acceptedFailures |
Referenced by svn::ContextListener::SslServerTrustData::operator=().
1.8.13