In file channels.h:

int channel_setstatus

(char* tty, channel_status_t* status)

Set channel status.

Documentation

Set channel status.

Given a UNIX tty name, this function changes the channel status of the given tty according to the information passed in status.

Parameters:
tty - a UNIX tty name minus "/dev/".
status - a pointer to a channel_status_t status block containing the updated state for the channel.
Returns:
always returns 1, which implies success. Failure to write the state to the state file causes the module to die, logging a fatal error.
See Also:
channel_status_t, channel_getstatus()

Alphabetic index



This page was generated with the help of DOC++.