mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
37 lines
771 B
C
37 lines
771 B
C
#include "wsfs/provider/operation/read_intern.h"
|
|
#include <stdio.h>
|
|
#include "wsfs/provider/operation/error.h"
|
|
#include "wsfs/util.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 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))
|
|
{
|
|
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;
|
|
} |