2019-02-25 19:17:13 +00:00
|
|
|
#include "wsfs/provider/operation/read_intern.h"
|
2019-02-24 17:03:22 +00:00
|
|
|
#include <stdio.h>
|
2019-02-25 19:17:13 +00:00
|
|
|
#include "wsfs/provider/operation/error.h"
|
2019-03-03 11:48:58 +00:00
|
|
|
#include "wsfs/util.h"
|
2019-02-24 17:03:22 +00:00
|
|
|
|
|
|
|
void wsfsp_read(
|
|
|
|
struct wsfsp_invokation_context * context,
|
|
|
|
json_t * params,
|
|
|
|
int id)
|
|
|
|
{
|
|
|
|
(void) context;
|
|
|
|
(void) params;
|
|
|
|
(void) id;
|
|
|
|
|
2019-03-03 11:48:58 +00:00
|
|
|
puts("read");
|
2019-02-24 17:03:22 +00:00
|
|
|
}
|
|
|
|
|
2019-02-24 18:16:29 +00:00
|
|
|
void wsfsp_read_default(
|
|
|
|
struct wsfsp_request * request,
|
2019-03-03 11:48:58 +00:00
|
|
|
ino_t WSFS_UNUSED_PARAM(inode),
|
|
|
|
uint32_t WSFS_UNUSED_PARAM(handle),
|
|
|
|
size_t WSFS_UNUSED_PARAM(offset),
|
|
|
|
size_t WSFS_UNUSED_PARAM(length),
|
|
|
|
void * WSFS_UNUSED_PARAM(user_data))
|
2019-02-24 18:16:29 +00:00
|
|
|
{
|
|
|
|
wsfsp_respond_error(request, -1);
|
|
|
|
}
|
|
|
|
|
2019-02-24 17:03:22 +00:00
|
|
|
void wsfsp_respond_read(
|
|
|
|
struct wsfsp_request * request,
|
|
|
|
char const * data,
|
|
|
|
size_t length)
|
|
|
|
{
|
|
|
|
(void) request;
|
|
|
|
(void) data;
|
|
|
|
(void) length;
|
|
|
|
}
|