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

void fuse_session_add_chan ( struct fuse_session *  se,
struct fuse_chan *  ch 
)

Assign a channel to a session

Note: currently only a single channel may be assigned. This may change in the future

If a session is destroyed, the assigned channel is also destroyed

Parameters:
se the session
ch the channel

Definition at line 59 of file fuse_session.c.

References fuse_session_add_chan().

Referenced by fuse_loop_mt_proc(), and fuse_session_add_chan().

{
      assert(se->ch == NULL);
      assert(ch->se == NULL);
      se->ch = ch;
      ch->se = se;
}


Generated by  Doxygen 1.6.0   Back to index