26#ifndef REMOTE_ENTREPOT_API_HPP
27#define REMOTE_ENTREPOT_API_HPP
29#include "../my_config.h"
62 const std::string & login,
64 const std::string & host,
65 const std::string & port,
67 const std::string & sftp_pub_filekey,
68 const std::string & sftp_prv_filekey,
69 const std::string & sftp_known_hosts,
defines the entrepot interface.
remote_entrepot_type string_to_remote_entrepot_type(const std::string &arg)
extract entrepot type from a given URL
std::shared_ptr< entrepot > create_remote_entrepot(std::shared_ptr< user_interaction > &dialog, remote_entrepot_type proto, const std::string &login, const secu_string &pass, const std::string &host, const std::string &port, bool auth_from_file, const std::string &sftp_pub_filekey, const std::string &sftp_prv_filekey, const std::string &sftp_known_hosts, U_I network_retry, bool remote_verbose)
create a remote entrepot of given type
remote_entrepot_type
type of entrepot to create
@ sftp
filesystem accessed through SFTP protocol
@ ftp
filesystem accessed through FTP protocol
libdar namespace encapsulate all libdar symbols