2020-04-04 21:16:25 +00:00
|
|
|
#ifndef WF_ADAPTER_IMPL_OPERATION_LOOKUP_H
|
|
|
|
#define WF_ADAPTER_IMPL_OPERATION_LOOKUP_H
|
|
|
|
|
2020-06-28 13:51:34 +00:00
|
|
|
#include "webfuse/impl/fuse_wrapper.h"
|
2020-04-04 21:16:25 +00:00
|
|
|
|
|
|
|
#include <jansson.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
2020-07-16 17:30:18 +00:00
|
|
|
struct wf_jsonrpc_error;
|
|
|
|
|
2020-04-04 21:16:25 +00:00
|
|
|
struct wf_impl_operation_lookup_context
|
|
|
|
{
|
|
|
|
fuse_req_t request;
|
|
|
|
double timeout;
|
|
|
|
uid_t uid;
|
|
|
|
gid_t gid;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern void wf_impl_operation_lookup_finished(
|
|
|
|
void * user_data,
|
|
|
|
json_t const * result,
|
2020-07-16 17:30:18 +00:00
|
|
|
struct wf_jsonrpc_error const * error);
|
2020-04-04 21:16:25 +00:00
|
|
|
|
|
|
|
extern void wf_impl_operation_lookup (
|
|
|
|
fuse_req_t req,
|
|
|
|
fuse_ino_t parent,
|
|
|
|
char const * name);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|