1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-10-27 20:44:10 +00:00
falk-werner_webfuse-provider/lib/wsfsp/provider_default.c

107 lines
1.7 KiB
C
Raw Normal View History

#include "wsfsp/provider_default.h"
void wsfsp_lookup_default(
struct wsfsp_request * request,
ino_t parent,
char const * name,
void * user_data)
{
(void) parent;
(void) name;
(void) user_data;
wsfsp_respond_error(request, -1);
}
void wsfsp_getattr_default(
struct wsfsp_request * request,
ino_t inode,
void * user_data)
{
(void) inode;
(void) user_data;
wsfsp_respond_error(request, -1);
}
void wsfsp_readdir_default(
struct wsfsp_request * request,
ino_t directory,
struct wsfsp_dirbuffer * dirbuffer,
void * user_data)
{
(void) directory;
(void) dirbuffer;
(void) user_data;
wsfsp_respond_error(request, -1);
}
void wsfsp_open_default(
struct wsfsp_request * request,
ino_t inode,
int flags,
void * user_data)
{
(void) inode;
(void) flags;
(void) user_data;
wsfsp_respond_error(request, -1);
}
void wsfsp_close_default(
ino_t inode,
uint32_t handle,
int flags,
void * user_data)
{
(void) inode;
(void) handle;
(void) flags;
(void) user_data;
// empty
}
void wsfsp_read_default(
struct wsfsp_request * request,
ino_t inode,
uint32_t handle,
size_t offset,
size_t length,
void * user_data)
{
(void) inode;
(void) handle;
(void) offset;
(void) length;
(void) user_data;
wsfsp_respond_error(request, -1);
}
void wsfsp_connected_default(
void * user_data)
{
(void) user_data;
// empty
}
void wsfsp_disconnected_default(
void * user_data)
{
(void) user_data;
// empty
}
void wsfsp_ontimer_default(
void * user_data)
{
(void) user_data;
// empty
}