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/wsfs/provider/operation/read.c

42 lines
756 B
C

#include "wsfs/provider/operation/read_intern.h"
#include <stdio.h>
#include "wsfs/provider/operation/error.h"
void wsfsp_read(
struct wsfsp_invokation_context * context,
json_t * params,
int id)
{
(void) context;
(void) params;
(void) id;
puts("read");
}
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_respond_read(
struct wsfsp_request * request,
char const * data,
size_t length)
{
(void) request;
(void) data;
(void) length;
}