equal
deleted
inserted
replaced
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 |