include/ectty.h
changeset 1782 2ba454c790c5
parent 1779 9fab229d6ca9
child 1787 439f186185be
equal deleted inserted replaced
1781:e3346de75612 1782:2ba454c790c5
    62  * \param cb_data Arbitrary data to pass to callbacks.
    62  * \param cb_data Arbitrary data to pass to callbacks.
    63  *
    63  *
    64  * \return Pointer to the interface object, otherwise an ERR_PTR value.
    64  * \return Pointer to the interface object, otherwise an ERR_PTR value.
    65  */
    65  */
    66 ec_tty_t *ectty_create(
    66 ec_tty_t *ectty_create(
    67         int (*cflag_cb)(void *cb_data, unsigned short cflag),
    67         int (*cflag_cb)(void *cb_data, tcflag_t cflag),
    68         void *cb_data
    68         void *cb_data
    69         );
    69         );
    70 
    70 
    71 /******************************************************************************
    71 /******************************************************************************
    72  * TTY interface methods
    72  * TTY interface methods