You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
756 B
42 lines
756 B
6 years ago
|
#include "wsfs/provider/operation/read_intern.h"
|
||
6 years ago
|
#include <stdio.h>
|
||
6 years ago
|
#include "wsfs/provider/operation/error.h"
|
||
6 years ago
|
|
||
|
void wsfsp_read(
|
||
|
struct wsfsp_invokation_context * context,
|
||
|
json_t * params,
|
||
|
int id)
|
||
|
{
|
||
|
(void) context;
|
||
|
(void) params;
|
||
|
(void) id;
|
||
|
|
||
|
puts("read");
|
||
|
}
|
||
|
|
||
6 years ago
|
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);
|
||
|
}
|
||
|
|
||
6 years ago
|
void wsfsp_respond_read(
|
||
|
struct wsfsp_request * request,
|
||
|
char const * data,
|
||
|
size_t length)
|
||
|
{
|
||
|
(void) request;
|
||
|
(void) data;
|
||
|
(void) length;
|
||
|
}
|