root/drivers/isdn/isdn_common.h

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

INCLUDED FROM


   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 #undef  ISDN_DEBUG_MODEM_OPEN
  33 #undef  ISDN_DEBUG_MODEM_IOCTL
  34 #undef  ISDN_DEBUG_MODEM_WAITSENT
  35 #undef  ISDN_DEBUG_MODEM_HUP
  36 #undef  ISDN_DEBUG_MODEM_ICALL
  37 #undef  ISDN_DEBUG_MODEM_DUMP
  38 #undef  ISDN_DEBUG_AT
  39 #undef  ISDN_DEBUG_NET_DUMP
  40 #undef  ISDN_DEBUG_NET_DIAL
  41 #undef  ISDN_DEBUG_NET_BUILDHDR
  42 #undef  ISDN_DEBUG_NET_ICALL
  43 
  44 /* Prototypes */
  45 extern void  isdn_MOD_INC_USE_COUNT(void);
  46 extern void  isdn_MOD_DEC_USE_COUNT(void);
  47 extern void  isdn_free_channel(int di, int ch, int usage);
  48 extern void  isdn_all_eaz(int di, int ch);
  49 extern int   isdn_dc2minor(int di, int ch);
  50 extern void  isdn_info_update(void);
  51 extern char* isdn_map_eaz2msn(char *msn, int di);
  52 extern void  isdn_timer_ctrl(int tf, int onoff);
  53 extern void  isdn_unexclusive_channel(int di, int ch);
  54 extern int   isdn_getnum(char **);
  55 extern int   isdn_readbchan (int, int, u_char *, u_char *, int, int);
  56 extern int   isdn_get_free_channel(int, int, int, int, int);
  57 extern int   isdn_writebuf_stub(int, int, const u_char *, int, int);
  58 extern int   isdn_writebuf_skb_stub(int, int, struct sk_buff *);
  59 #if defined(ISDN_DEBUG_NET_DUMP) || defined(ISDN_DEBUG_MODEM_DUMP)
  60 extern void  isdn_dumppkt(char *, u_char *, int, int);
  61 #endif

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