diff options
Diffstat (limited to 'ucb/source/ucp/ftp/ftphandleprovider.hxx')
-rwxr-xr-x | ucb/source/ucp/ftp/ftphandleprovider.hxx | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ucb/source/ucp/ftp/ftphandleprovider.hxx b/ucb/source/ucp/ftp/ftphandleprovider.hxx new file mode 100755 index 000000000000..1510f48e41a6 --- /dev/null +++ b/ucb/source/ucp/ftp/ftphandleprovider.hxx @@ -0,0 +1,29 @@ +#include <rtl/ustring.hxx> +#include "curl.hxx" + +namespace ftp { + + class FTPHandleProvider { + public: + + virtual CURL* handle() = 0; + + + /** host is in the form host:port. + */ + + virtual bool forHost(const rtl::OUString& host, + const rtl::OUString& port, + const rtl::OUString& username, + rtl::OUString& password, + rtl::OUString& account) = 0; + + virtual bool setHost(const rtl::OUString& host, + const rtl::OUString& port, + const rtl::OUString& username, + const rtl::OUString& password, + const rtl::OUString& account) = 0; + }; + + +} |