mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
45 lines
873 B
C
45 lines
873 B
C
#ifndef WSFS_PROVIDER_CLIENT_H
|
|
#define WSFS_PROVIDER_CLIENT_H
|
|
|
|
#include "wsfs/provider/api.h"
|
|
|
|
struct wsfsp_provider;
|
|
struct wsfsp_client;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
extern WSFSP_API struct wsfsp_client * wsfsp_client_create(
|
|
struct wsfsp_provider * provider,
|
|
void * user_data);
|
|
|
|
extern WSFSP_API void wsfsp_client_connect(
|
|
struct wsfsp_client * client,
|
|
char const * url);
|
|
|
|
extern WSFSP_API void wsfsp_client_disconnect(
|
|
struct wsfsp_client * client);
|
|
|
|
extern WSFSP_API void wsfsp_client_settimeout(
|
|
struct wsfsp_client * client,
|
|
unsigned int timepoint);
|
|
|
|
extern WSFSP_API void wsfsp_client_dispose(
|
|
struct wsfsp_client * client);
|
|
|
|
extern WSFSP_API void wsfsp_client_run(
|
|
struct wsfsp_client * client);
|
|
|
|
extern WSFSP_API void wsfsp_client_shutdown(
|
|
struct wsfsp_client * client);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif
|