1 /* $Id: isdn_common.h,v 1.2 1996/04/20 16:20:40 fritz Exp $ 2 * 3 * header for Linux ISDN subsystem, common used functions and debugging-switches (linklevel). 4 * 5 * Copyright 1994,95,96 by Fritz Elfert (fritz@wuemaus.franken.de) 6 * Copyright 1995,96 by Thinking Objects Software GmbH Wuerzburg 7 * Copyright 1995,96 by Michael Hipp (Michael.Hipp@student.uni-tuebingen.de) 8 * 9 * This program is free software; you can redistribute it and/or modify 10 * it under the terms of the GNU General Public License as published by 11 * the Free Software Foundation; either version 2, or (at your option) 12 * any later version. 13 * 14 * This program is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * GNU General Public License for more details. 18 * 19 * You should have received a copy of the GNU General Public License 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 22 * 23 * $Log: isdn_common.h,v $ 24 * Revision 1.2 1996/04/20 16:20:40 fritz 25 * Misc. typos. 26 * 27 * Revision 1.1 1996/01/10 21:37:19 fritz 28 * Initial revision 29 * 30 */ 31
32 #undefISDN_DEBUG_MODEM_OPEN 33 #undefISDN_DEBUG_MODEM_IOCTL 34 #undef ISDN_DEBUG_MODEM_WAITSENT
35 #undefISDN_DEBUG_MODEM_HUP 36 #undefISDN_DEBUG_MODEM_ICALL 37 #undefISDN_DEBUG_MODEM_DUMP 38 #undefISDN_DEBUG_AT 39 #undefISDN_DEBUG_NET_DUMP 40 #undefISDN_DEBUG_NET_DIAL 41 #undef ISDN_DEBUG_NET_BUILDHDR
42 #undefISDN_DEBUG_NET_ICALL 43
44 /* Prototypes */ 45 externvoidisdn_MOD_INC_USE_COUNT(void);
46 externvoidisdn_MOD_DEC_USE_COUNT(void);
47 externvoidisdn_free_channel(intdi, intch, intusage);
48 externvoidisdn_all_eaz(intdi, intch);
49 externintisdn_dc2minor(intdi, intch);
50 externvoidisdn_info_update(void);
51 externchar* isdn_map_eaz2msn(char *msn, intdi);
52 externvoidisdn_timer_ctrl(inttf, intonoff);
53 externvoidisdn_unexclusive_channel(intdi, intch);
54 externintisdn_getnum(char **);
55 externintisdn_readbchan (int, int, u_char *, u_char *, int, int);
56 externintisdn_get_free_channel(int, int, int, int, int);
57 externintisdn_writebuf_stub(int, int, constu_char *, int, int);
58 externintisdn_writebuf_skb_stub(int, int, structsk_buff *);
59 #ifdefined(ISDN_DEBUG_NET_DUMP) || defined(ISDN_DEBUG_MODEM_DUMP)
60 externvoidisdn_dumppkt(char *, u_char *, int, int);
61 #endif