Logo Search packages:      
Sourcecode: fuse version File versions  Download package

int fuse_chan_recv ( struct fuse_chan **  ch,
char *  buf,
size_t  size 

Receive a raw request

A return value of -ENODEV means, that the filesystem was unmounted

chpointer to the channel
bufthe buffer to store the request in
sizethe size of the buffer
the actual size of the raw request, or -errno on error

Definition at line 172 of file fuse_session.c.

References fuse_chan_recv(), and fuse_chan_ops::receive.

Referenced by fuse_chan_recv(), fuse_read_cmd(), and fuse_session_loop().

      struct fuse_chan *ch = *chp;
      if (ch->compat)
            return ((struct fuse_chan_ops_compat24 *) &ch->op)
                  ->receive(ch, buf, size);
            return ch->op.receive(chp, buf, size);

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index