1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2026-03-02 04:09:18 +00:00

renamed operation_context

This commit is contained in:
Falk Werner
2020-04-04 23:27:34 +02:00
parent 745d47bb30
commit 49469c73e3
21 changed files with 118 additions and 118 deletions

View File

@@ -24,7 +24,7 @@ struct wf_impl_filesystem
struct fuse_args args;
struct fuse_session * session;
struct fuse_buf buffer;
struct wf_impl_operations_context user_data;
struct wf_impl_operation_context user_data;
struct lws * wsi;
struct wf_mountpoint * mountpoint;
};

View File

@@ -13,8 +13,8 @@ void wf_impl_operation_close(
fuse_ino_t inode,
struct fuse_file_info * file_info)
{
struct wf_impl_operations_context * user_data = fuse_req_userdata(request);
struct wf_jsonrpc_proxy * rpc = wf_impl_operations_context_get_proxy(user_data);
struct wf_impl_operation_context * user_data = fuse_req_userdata(request);
struct wf_jsonrpc_proxy * rpc = wf_impl_operation_context_get_proxy(user_data);
if (NULL != rpc)
{

View File

@@ -3,8 +3,8 @@
#include "webfuse/adapter/impl/session.h"
#include <stddef.h>
struct wf_jsonrpc_proxy * wf_impl_operations_context_get_proxy(
struct wf_impl_operations_context * context)
struct wf_jsonrpc_proxy * wf_impl_operation_context_get_proxy(
struct wf_impl_operation_context * context)
{
struct wf_jsonrpc_proxy * proxy = NULL;

View File

@@ -10,15 +10,15 @@ extern "C" {
struct wf_impl_session;
struct wf_jsonrpc_proxy;
struct wf_impl_operations_context
struct wf_impl_operation_context
{
struct wf_impl_session * session;
double timeout;
char * name;
};
extern struct wf_jsonrpc_proxy * wf_impl_operations_context_get_proxy(
struct wf_impl_operations_context * context);
extern struct wf_jsonrpc_proxy * wf_impl_operation_context_get_proxy(
struct wf_impl_operation_context * context);
#ifdef __cplusplus
}

View File

@@ -73,8 +73,8 @@ void wf_impl_operation_getattr (
struct fuse_file_info * WF_UNUSED_PARAM(file_info))
{
struct fuse_ctx const * context = fuse_req_ctx(request);
struct wf_impl_operations_context * user_data = fuse_req_userdata(request);
struct wf_jsonrpc_proxy * rpc = wf_impl_operations_context_get_proxy(user_data);
struct wf_impl_operation_context * user_data = fuse_req_userdata(request);
struct wf_jsonrpc_proxy * rpc = wf_impl_operation_context_get_proxy(user_data);
if (NULL != rpc)
{

View File

@@ -84,8 +84,8 @@ void wf_impl_operation_lookup (
char const * name)
{
struct fuse_ctx const * context = fuse_req_ctx(request);
struct wf_impl_operations_context * user_data = fuse_req_userdata(request);
struct wf_jsonrpc_proxy * rpc = wf_impl_operations_context_get_proxy(user_data);
struct wf_impl_operation_context * user_data = fuse_req_userdata(request);
struct wf_jsonrpc_proxy * rpc = wf_impl_operation_context_get_proxy(user_data);
if (NULL != rpc)
{

View File

@@ -48,8 +48,8 @@ void wf_impl_operation_open(
fuse_ino_t inode,
struct fuse_file_info * file_info)
{
struct wf_impl_operations_context * user_data = fuse_req_userdata(request);
struct wf_jsonrpc_proxy * rpc = wf_impl_operations_context_get_proxy(user_data);
struct wf_impl_operation_context * user_data = fuse_req_userdata(request);
struct wf_jsonrpc_proxy * rpc = wf_impl_operation_context_get_proxy(user_data);
if (NULL != rpc)
{

View File

@@ -111,8 +111,8 @@ void wf_impl_operation_read(
off_t offset,
struct fuse_file_info * file_info)
{
struct wf_impl_operations_context * user_data = fuse_req_userdata(request);
struct wf_jsonrpc_proxy * rpc = wf_impl_operations_context_get_proxy(user_data);
struct wf_impl_operation_context * user_data = fuse_req_userdata(request);
struct wf_jsonrpc_proxy * rpc = wf_impl_operation_context_get_proxy(user_data);
if (NULL != rpc)
{

View File

@@ -141,8 +141,8 @@ void wf_impl_operation_readdir (
off_t offset,
struct fuse_file_info * WF_UNUSED_PARAM(file_info))
{
struct wf_impl_operations_context * user_data = fuse_req_userdata(request);
struct wf_jsonrpc_proxy * rpc = wf_impl_operations_context_get_proxy(user_data);
struct wf_impl_operation_context * user_data = fuse_req_userdata(request);
struct wf_jsonrpc_proxy * rpc = wf_impl_operation_context_get_proxy(user_data);
if (NULL != rpc)
{