2020-03-17 20:51:04 +00:00
|
|
|
#ifndef WFD_MOUNTPOINT_FACTORY_H
|
|
|
|
#define WFD_MOUNTPOINT_FACTORY_H
|
|
|
|
|
2020-07-05 09:19:00 +00:00
|
|
|
#include "webfuse/mountpoint_factory.h"
|
2020-03-17 20:51:04 +00:00
|
|
|
|
|
|
|
#ifndef __cplusplus
|
|
|
|
#include <stdbool.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
|
|
|
struct wfd_mountpoint_factory;
|
|
|
|
|
|
|
|
extern struct wfd_mountpoint_factory *
|
|
|
|
wfd_mountpoint_factory_create(void);
|
|
|
|
|
|
|
|
extern void
|
|
|
|
wfd_mountpoint_factory_dispose(
|
|
|
|
struct wfd_mountpoint_factory * factory);
|
|
|
|
|
|
|
|
extern bool
|
|
|
|
wfd_mountpoint_factory_add_filesystem(
|
|
|
|
struct wfd_mountpoint_factory * factory,
|
|
|
|
char const * name,
|
|
|
|
char const * mount_point);
|
|
|
|
|
|
|
|
extern struct wf_mountpoint *
|
|
|
|
wfd_mountpoint_factory_create_mountpoint(
|
|
|
|
char const * filesystem,
|
|
|
|
void * user_data);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|