Logo Search packages:      
Sourcecode: fuse version File versions

void fuse_session_remove_chan ( struct fuse_chan *  ch  ) 

Remove a channel from a session

If the channel is not assigned to a session, then this is a no-op

Parameters:
ch the channel to remove

Definition at line 67 of file fuse_session.c.

References fuse_session_remove_chan().

Referenced by fuse_chan_destroy(), and fuse_session_remove_chan().

{
      struct fuse_session *se = ch->se;
      if (se) {
            assert(se->ch == ch);
            se->ch = NULL;
            ch->se = NULL;
      }
}


Generated by  Doxygen 1.6.0   Back to index