2020-02-16 20:03:17 +00:00
|
|
|
#ifndef WF_ADAPTER_IMPL_MOUNTPOINT_FACTORY_H
|
|
|
|
#define WF_ADAPTER_IMPL_MOUNTPOINT_FACTORY_H
|
|
|
|
|
|
|
|
#include "webfuse/adapter/mountpoint_factory.h"
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
|
|
|
struct wf_impl_mountpoint_factory
|
|
|
|
{
|
|
|
|
wf_create_mountpoint_fn * create_mountpoint;
|
|
|
|
void * user_data;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern void
|
|
|
|
wf_impl_mountpoint_factory_init_default(
|
|
|
|
struct wf_impl_mountpoint_factory * factory);
|
|
|
|
|
|
|
|
extern void
|
|
|
|
wf_impl_mountpoint_factory_init(
|
|
|
|
struct wf_impl_mountpoint_factory * factory,
|
|
|
|
wf_create_mountpoint_fn * create_mountpoint,
|
2020-03-21 08:11:18 +00:00
|
|
|
void * user_data);
|
2020-02-16 20:03:17 +00:00
|
|
|
|
|
|
|
extern void
|
2020-04-07 17:34:19 +00:00
|
|
|
wf_impl_mountpoint_factory_clone(
|
2020-02-16 20:03:17 +00:00
|
|
|
struct wf_impl_mountpoint_factory * factory,
|
|
|
|
struct wf_impl_mountpoint_factory * other);
|
|
|
|
|
|
|
|
extern bool
|
|
|
|
wf_impl_mountpoint_factory_isvalid(
|
|
|
|
struct wf_impl_mountpoint_factory * factory);
|
|
|
|
|
|
|
|
extern void
|
|
|
|
wf_impl_mountpoint_factory_init_from(
|
|
|
|
struct wf_impl_mountpoint_factory * factory,
|
|
|
|
struct wf_impl_mountpoint_factory * other);
|
|
|
|
|
|
|
|
extern void
|
|
|
|
wf_impl_mountpoint_factory_cleanup(
|
|
|
|
struct wf_impl_mountpoint_factory * factory);
|
|
|
|
|
|
|
|
extern struct wf_mountpoint *
|
|
|
|
wf_impl_mountpoint_factory_create_mountpoint(
|
|
|
|
struct wf_impl_mountpoint_factory * factory,
|
|
|
|
char const * filesystem);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|