fuse
|
#include <fuse_lowlevel.h>
Data Fields | |
int(* | receive )(struct fuse_chan **chp, char *buf, size_t size) |
int(* | send )(struct fuse_chan *ch, const struct iovec iov[], size_t count) |
void(* | destroy )(struct fuse_chan *ch) |
Channel operations
This is used in channel creation
void(* fuse_chan_ops::destroy)(struct fuse_chan *ch) |
Destroy the channel
ch | the channel |
int(* fuse_chan_ops::receive)(struct fuse_chan **chp, char *buf, size_t size) |
Hook for receiving a raw request
ch | pointer to the channel |
buf | the buffer to store the request in |
size | the size of the buffer |
int(* fuse_chan_ops::send)(struct fuse_chan *ch, const struct iovec iov[], size_t count) |
Hook for sending a raw reply
A return value of -ENOENT means, that the request was interrupted, and the reply was discarded
ch | the channel |
iov | vector of blocks |
count | the number of blocks in vector |