2020-02-13 20:48:42 +00:00
|
|
|
#ifndef WF_ADAPTER_MOUNTPOINT_H
|
|
|
|
#define WF_ADAPTER_MOUNTPOINT_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
|
|
|
struct wf_mountpoint;
|
|
|
|
|
2020-02-15 14:50:32 +00:00
|
|
|
typedef void
|
2020-02-16 03:02:23 +00:00
|
|
|
wf_mountpoint_userdata_dispose_fn(
|
|
|
|
void * user_data);
|
2020-02-15 14:50:32 +00:00
|
|
|
|
2020-02-13 20:48:42 +00:00
|
|
|
extern struct wf_mountpoint *
|
|
|
|
wf_mountpoint_create(
|
|
|
|
char const * path);
|
|
|
|
|
|
|
|
extern void
|
2020-02-15 14:11:35 +00:00
|
|
|
wf_mountpoint_dispose(
|
2020-02-13 20:48:42 +00:00
|
|
|
struct wf_mountpoint * mountpoint);
|
|
|
|
|
|
|
|
extern char const *
|
|
|
|
wf_mountpoint_get_path(
|
|
|
|
struct wf_mountpoint const * mountpoint);
|
|
|
|
|
2020-02-15 14:50:32 +00:00
|
|
|
extern void
|
2020-02-16 03:02:23 +00:00
|
|
|
wf_mountpoint_set_userdata(
|
|
|
|
struct wf_mountpoint * mointpoint,
|
|
|
|
void * user_data,
|
|
|
|
wf_mountpoint_userdata_dispose_fn * dispose);
|
2020-02-15 14:50:32 +00:00
|
|
|
|
2020-02-13 20:48:42 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|