You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
628 B
33 lines
628 B
#ifndef WFP_UTILS_ADAPTER_CLIENT_HPP
|
|
#define WFP_UTILS_APAPTER_CLIENT_HPP
|
|
|
|
#include "webfuse/adapter/client.h"
|
|
#include <string>
|
|
|
|
namespace webfuse_test
|
|
{
|
|
|
|
class AdapterClient
|
|
{
|
|
AdapterClient(AdapterClient const &) = delete;
|
|
AdapterClient& operator=(AdapterClient const &) = delete;
|
|
public:
|
|
AdapterClient(
|
|
wfp_client_callback_fn * callback,
|
|
void * user_data,
|
|
std::string const & url);
|
|
~AdapterClient();
|
|
void Connect();
|
|
void Disconnect();
|
|
void Authenticate();
|
|
void AddFileSystem();
|
|
std::string GetDir() const;
|
|
private:
|
|
class Private;
|
|
Private * d;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|