1
0
mirror of https://github.com/falk-werner/webfused synced 2024-09-28 23:40:44 +00:00
falk-werner_webfused/src/webfused/mountpoint_factory.h

42 lines
783 B
C
Raw Normal View History

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;
2020-11-13 18:29:03 +00:00
struct wfd_string_list;
2020-03-17 20:51:04 +00:00
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,
2020-11-13 18:29:03 +00:00
char const * mount_point,
struct wfd_string_list const * mount_options);
2020-03-17 20:51:04 +00:00
extern struct wf_mountpoint *
wfd_mountpoint_factory_create_mountpoint(
char const * filesystem,
void * user_data);
#ifdef __cplusplus
}
#endif
#endif