@ -334,7 +334,7 @@ namespace mergerfs
FUSE_OPT_KEY("--help",MERGERFS_OPT_HELP),
FUSE_OPT_KEY("-v",MERGERFS_OPT_VERSION),
FUSE_OPT_KEY("--version",MERGERFS_OPT_VERSION),
FUSE_OPT_END
{NULL,-1U,0}
};
@ -32,6 +32,8 @@
#include "fileinfo.hpp"
typedef struct fuse_bufvec fuse_bufvec;
static
int
_read_buf(const int fd,
@ -22,15 +22,24 @@
THE SOFTWARE.
*/
#ifndef __READ_BUF_HPP__
#define __READ_BUF_HPP__
#include <fuse.h>
#include <sys/types.h>
namespace mergerfs
{
namespace fuse
read_buf(const char *fusepath,
fuse_bufvec **buf,
size_t size,
off_t offset,
fuse_file_info *fi);
struct fuse_bufvec **buf,
}
#endif
@ -22,14 +22,23 @@
#ifndef __WRITE_BUF_HPP__
#define __WRITE_BUF_HPP__
write_buf(const char *fusepath,
fuse_bufvec *buf,
struct fuse_bufvec *buf,