Commit | Line | Data |
---|---|---|
0b99d589 LL |
1 | /* |
2 | * Copyright 2003 Digi International (www.digi.com) | |
3 | * Scott H Kilau <Scott_Kilau at digi dot com> | |
4 | * | |
5 | * This program is free software; you can redistribute it and/or modify | |
6 | * it under the terms of the GNU General Public License as published by | |
7 | * the Free Software Foundation; either version 2, or (at your option) | |
8 | * any later version. | |
9 | * | |
10 | * This program is distributed in the hope that it will be useful, | |
11 | * but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the | |
12 | * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR | |
13 | * PURPOSE. See the GNU General Public License for more details. | |
14 | * | |
15 | * You should have received a copy of the GNU General Public License | |
16 | * along with this program; if not, write to the Free Software | |
17 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
18 | * | |
19 | * NOTE: THIS IS A SHARED HEADER. DO NOT CHANGE CODING STYLE!!! | |
20 | */ | |
21 | ||
22 | #ifndef __DGNC_TTY_H | |
23 | #define __DGNC_TTY_H | |
24 | ||
25 | #include "dgnc_driver.h" | |
26 | ||
03425f55 | 27 | int dgnc_tty_register(struct dgnc_board *brd); |
0b99d589 LL |
28 | |
29 | int dgnc_tty_preinit(void); | |
03425f55 | 30 | int dgnc_tty_init(struct dgnc_board *); |
0b99d589 LL |
31 | |
32 | void dgnc_tty_post_uninit(void); | |
03425f55 | 33 | void dgnc_tty_uninit(struct dgnc_board *); |
0b99d589 LL |
34 | |
35 | void dgnc_input(struct channel_t *ch); | |
36 | void dgnc_carrier(struct channel_t *ch); | |
37 | void dgnc_wakeup_writes(struct channel_t *ch); | |
38 | void dgnc_check_queue_flow_control(struct channel_t *ch); | |
39 | ||
40 | void dgnc_sniff_nowait_nolock(struct channel_t *ch, uchar *text, uchar *buf, int nbuf); | |
41 | ||
42 | #endif |