1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00
falk-werner_webfuse/include/wsfs/provider/provider.h

35 lines
801 B
C
Raw Normal View History

#ifndef WSFSP_PROVIDER_H
#define WSFSP_PROVIDER_H
2019-02-16 15:08:17 +00:00
#include <wsfs/provider/operation/lookup.h>
#include <wsfs/provider/operation/getattr.h>
#include <wsfs/provider/operation/readdir.h>
#include <wsfs/provider/operation/open.h>
#include <wsfs/provider/operation/close.h>
#include <wsfs/provider/operation/read.h>
2019-02-16 15:08:17 +00:00
typedef void wsfsp_connected_fn(
void * user_data);
typedef void wsfsp_disconnected_fn(
void * user_data);
typedef void wsfsp_ontimer_fn(
void * user_data);
2019-02-16 15:28:14 +00:00
struct wsfsp_provider
2019-02-16 15:08:17 +00:00
{
wsfsp_connected_fn * connected;
2019-02-16 15:28:14 +00:00
wsfsp_disconnected_fn * disconnected;
2019-02-16 15:08:17 +00:00
wsfsp_ontimer_fn * ontimer;
wsfsp_lookup_fn * lookup;
wsfsp_getattr_fn * getattr;
wsfsp_readdir_fn * readdir;
wsfsp_open_fn * open;
wsfsp_close_fn * close;
wsfsp_read_fn * read;
};
#endif