Logo Search packages:      
Sourcecode: fuse version File versions

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

Parameters:
ch pointer to the channel
buf the buffer to store the request in
size the size of the buffer
Returns:
the actual size of the raw request, or -errno on error

Definition at line 177 of file fuse_session.c.

References fuse_chan_recv().

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);
      else
            return ch->op.receive(chp, buf, size);
}


Generated by  Doxygen 1.6.0   Back to index