diff options
author | Alan Cox <alan@redhat.com> | 2008-10-13 05:36:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-13 12:51:40 -0400 |
commit | e04957365b21066285557e42ffe16d8330d46c02 (patch) | |
tree | c359a59a0ac283d051736534d835df2cc0f8e17b /include | |
parent | c564b6fda961bd999aac0b709b79288dd8f426cd (diff) |
tty: split the buffering from tty_io
The two are basically independent chunks of code so lets split them up for
readability and sanity. It also makes the API boundaries much clearer.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tty.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h index 0cbec74ec086..7271c6247d82 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
@@ -347,6 +347,9 @@ extern void __do_SAK(struct tty_struct *tty); | |||
347 | extern void disassociate_ctty(int priv); | 347 | extern void disassociate_ctty(int priv); |
348 | extern void no_tty(void); | 348 | extern void no_tty(void); |
349 | extern void tty_flip_buffer_push(struct tty_struct *tty); | 349 | extern void tty_flip_buffer_push(struct tty_struct *tty); |
350 | extern void tty_buffer_free_all(struct tty_struct *tty); | ||
351 | extern void tty_buffer_flush(struct tty_struct *tty); | ||
352 | extern void tty_buffer_init(struct tty_struct *tty); | ||
350 | extern speed_t tty_get_baud_rate(struct tty_struct *tty); | 353 | extern speed_t tty_get_baud_rate(struct tty_struct *tty); |
351 | extern speed_t tty_termios_baud_rate(struct ktermios *termios); | 354 | extern speed_t tty_termios_baud_rate(struct ktermios *termios); |
352 | extern speed_t tty_termios_input_baud_rate(struct ktermios *termios); | 355 | extern speed_t tty_termios_input_baud_rate(struct ktermios *termios); |