1 /* $Id: isdn_common.h,v 1.1 1996/01/10 21:37:19 fritz Exp fritz $ 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.1 1996/01/10 21:37:19 fritz 25 * Initial revision 26 * 27 */ 28
29 #undefISDN_DEBUG_MODEM_OPEN 30 #undefISDN_DEBUG_MODEM_IOCTL 31 #undef ISDN_DEBUG_MODEM_WAITSENT
32 #undefISDN_DEBUG_MODEM_HUP 33 #undefISDN_DEBUG_MODEM_ICALL 34 #undefISDN_DEBUG_MODEM_DUMP 35 #undefISDN_DEBUG_AT 36 #undefISDN_DEBUG_NET_DUMP 37 #undefISDN_DEBUG_NET_DIAL 38 #undef ISDN_DEBUG_NET_BUILDHDR
39 #undefISDN_DEBUG_NET_ICALL 40
41 /* Prototypes */ 42 externvoidisdn_MOD_INC_USE_COUNT(void);
43 externvoidisdn_MOD_DEC_USE_COUNT(void);
44 externvoidisdn_free_channel(intdi, intch, intusage);
45 externvoidisdn_all_eaz(intdi, intch);
46 externintisdn_dc2minor(intdi, intch);
47 externvoidisdn_info_update(void);
48 externchar* isdn_map_eaz2msn(char *msn, intdi);
49 externvoidisdn_timer_ctrl(inttf, intonoff);
50 externvoidisdn_unexclusive_channel(intdi, intch);
51 externintisdn_getnum(char **);
52 externintisdn_readbchan (intdi, intchannel, u_char *buf,
53 u_char *fp, intlen, intuser);
54 externintisdn_get_free_channel(intusage, intl2_proto, intl3_proto,
55 intpre_dev, intpre_chan);
56 #ifdefined(ISDN_DEBUG_NET_DUMP) || defined(ISDN_DEBUG_MODEM_DUMP)
57 externvoidisdn_dumppkt(char *, u_char *, int, int);
58 #endif