2019-02-25 19:17:13 +00:00
|
|
|
#include "wsfs/provider/operation/open_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-02-24 17:03:22 +00:00
|
|
|
|
|
|
|
void wsfsp_open(
|
|
|
|
struct wsfsp_invokation_context * context,
|
|
|
|
json_t * params,
|
|
|
|
int id)
|
|
|
|
{
|
|
|
|
(void) context;
|
|
|
|
(void) params;
|
|
|
|
(void) id;
|
|
|
|
|
|
|
|
puts("open");
|
|
|
|
}
|
|
|
|
|
2019-02-24 18:16:29 +00:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
2019-02-24 17:03:22 +00:00
|
|
|
void wsfsp_respond_open(
|
|
|
|
struct wsfsp_request * request,
|
|
|
|
uint32_t handle)
|
|
|
|
{
|
|
|
|
(void) request;
|
|
|
|
(void) handle;
|
|
|
|
|
|
|
|
// ToDo: implement me
|
|
|
|
}
|