dll: fuse3: checkpoint

This commit is contained in:
Bill Zissimopoulos 2018-07-19 04:27:06 -07:00
parent 931d201527
commit 9b79bb24ca
No known key found for this signature in database
GPG Key ID: 3D4F95D52C7B3EA3
2 changed files with 17 additions and 10 deletions

View File

@ -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

View File

@ -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(