mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
dll: fuse3: checkpoint
This commit is contained in:
parent
931d201527
commit
9b79bb24ca
@ -88,8 +88,8 @@ struct fuse3_file_info
|
||||
|
||||
struct fuse3_loop_config
|
||||
{
|
||||
int clone_fd; /* ignored */
|
||||
unsigned int max_idle_threads; /* ignored */
|
||||
int clone_fd;
|
||||
unsigned int max_idle_threads;
|
||||
};
|
||||
|
||||
struct fuse3_conn_info
|
||||
|
@ -30,31 +30,38 @@ FSP_FUSE_API void fsp_fuse3_lib_help(struct fsp_fuse_env *env,
|
||||
}
|
||||
|
||||
FSP_FUSE_API int fsp_fuse3_loop(struct fsp_fuse_env *env,
|
||||
struct fuse3 *f)
|
||||
struct fuse3 *f3)
|
||||
{
|
||||
return 0;
|
||||
return 0 == fsp_fuse_loop(env, f3->fuse) ? 0 : -EINVAL/* same on MSVC and Cygwin */;
|
||||
}
|
||||
|
||||
FSP_FUSE_API int fsp_fuse3_loop_mt_31(struct fsp_fuse_env *env,
|
||||
struct fuse3 *f, int clone_fd)
|
||||
struct fuse3 *f3, int clone_fd)
|
||||
{
|
||||
return 0;
|
||||
return 0 == fsp_fuse_loop_mt(env, f3->fuse) ? 0 : -EINVAL/* same on MSVC and Cygwin */;
|
||||
}
|
||||
|
||||
FSP_FUSE_API int fsp_fuse3_loop_mt(struct fsp_fuse_env *env,
|
||||
struct fuse3 *f, struct fuse3_loop_config *config)
|
||||
struct fuse3 *f3, struct fuse3_loop_config *config)
|
||||
{
|
||||
return 0;
|
||||
return 0 == fsp_fuse_loop_mt(env, f3->fuse) ? 0 : -EINVAL/* same on MSVC and Cygwin */;
|
||||
}
|
||||
|
||||
FSP_FUSE_API void fsp_fuse3_exit(struct fsp_fuse_env *env,
|
||||
struct fuse3 *f)
|
||||
struct fuse3 *f3)
|
||||
{
|
||||
fsp_fuse_exit(env, f3->fuse);
|
||||
}
|
||||
|
||||
FSP_FUSE_API struct fuse3_context *fsp_fuse3_get_context(struct fsp_fuse_env *env)
|
||||
{
|
||||
return 0;
|
||||
FSP_FSCTL_STATIC_ASSERT(
|
||||
sizeof(struct fuse_context) == sizeof(struct fuse3_context),
|
||||
"incompatible structs fuse_context and fuse3_context");
|
||||
FSP_FSCTL_STATIC_ASSERT(FIELD_OFFSET(
|
||||
struct fuse_context, private_data) == FIELD_OFFSET(struct fuse3_context, private_data),
|
||||
"incompatible structs fuse_context and fuse3_context");
|
||||
return (struct fuse3_context *)fsp_fuse_get_context(env);
|
||||
}
|
||||
|
||||
FSP_FUSE_API struct fuse3_conn_info_opts* fsp_fuse3_parse_conn_info_opts(
|
||||
|
Loading…
x
Reference in New Issue
Block a user