root/drivers/isdn/isdn_common.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   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 funtions 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 #undef  ISDN_DEBUG_MODEM_OPEN
  30 #undef  ISDN_DEBUG_MODEM_IOCTL
  31 #undef  ISDN_DEBUG_MODEM_WAITSENT
  32 #undef  ISDN_DEBUG_MODEM_HUP
  33 #undef  ISDN_DEBUG_MODEM_ICALL
  34 #undef  ISDN_DEBUG_MODEM_DUMP
  35 #undef  ISDN_DEBUG_AT
  36 #undef  ISDN_DEBUG_NET_DUMP
  37 #undef  ISDN_DEBUG_NET_DIAL
  38 #undef  ISDN_DEBUG_NET_BUILDHDR
  39 #undef  ISDN_DEBUG_NET_ICALL
  40 
  41 /* Prototypes */
  42 extern void  isdn_MOD_INC_USE_COUNT(void);
  43 extern void  isdn_MOD_DEC_USE_COUNT(void);
  44 extern void  isdn_free_channel(int di, int ch, int usage);
  45 extern void  isdn_all_eaz(int di, int ch);
  46 extern int   isdn_dc2minor(int di, int ch);
  47 extern void  isdn_info_update(void);
  48 extern char* isdn_map_eaz2msn(char *msn, int di);
  49 extern void  isdn_timer_ctrl(int tf, int onoff);
  50 extern void  isdn_unexclusive_channel(int di, int ch);
  51 extern int   isdn_getnum(char **);
  52 extern int   isdn_readbchan (int di, int channel, u_char *buf,
  53                              u_char *fp, int len, int user);
  54 extern int   isdn_get_free_channel(int usage, int l2_proto, int l3_proto,
  55                                    int pre_dev, int pre_chan);
  56 #if defined(ISDN_DEBUG_NET_DUMP) || defined(ISDN_DEBUG_MODEM_DUMP)
  57 extern void  isdn_dumppkt(char *, u_char *, int, int);
  58 #endif

/* [previous][next][first][last][top][bottom][index][help] */