mirror of
https://github.com/falk-werner/webfuse-provider
synced 2026-03-02 04:09:18 +00:00
added ondispose to mountpoint to allow custom cleanup
This commit is contained in:
@@ -8,6 +8,10 @@ extern "C"
|
||||
|
||||
struct wf_mountpoint;
|
||||
|
||||
typedef void
|
||||
wf_mountpoint_ondispose_fn(
|
||||
struct wf_mountpoint * mountpoint);
|
||||
|
||||
extern struct wf_mountpoint *
|
||||
wf_mountpoint_create(
|
||||
char const * path);
|
||||
@@ -20,6 +24,11 @@ extern char const *
|
||||
wf_mountpoint_get_path(
|
||||
struct wf_mountpoint const * mountpoint);
|
||||
|
||||
extern void
|
||||
wf_mountpoint_set_ondispose(
|
||||
struct wf_mountpoint * mountpoint,
|
||||
wf_mountpoint_ondispose_fn * ondispose);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user