1 /* $Id: isdn_net.h,v 1.1 1996/02/11 02:35:13 fritz Exp fritz $ 2 * 3 * header for Linux ISDN subsystem, network releted funtions (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_net.h,v $ 24 * Revision 1.1 1996/02/11 02:35:13 fritz 25 * Initial revision 26 * 27 */ 28 29 extern char* isdn_net_new(char *, struct device *); 30 extern char* isdn_net_newslave(char *); 31 extern int isdn_net_rm(char *); 32 extern int isdn_net_rmall(void); 33 extern int isdn_net_stat_callback(int, int); 34 extern int isdn_net_receive_callback(int, u_char *, int); 35 extern int isdn_net_setcfg(isdn_net_ioctl_cfg *); 36 extern int isdn_net_getcfg(isdn_net_ioctl_cfg *); 37 extern int isdn_net_addphone(isdn_net_ioctl_phone *); 38 extern int isdn_net_getphones(isdn_net_ioctl_phone *, char *); 39 extern int isdn_net_delphone(isdn_net_ioctl_phone *); 40 extern int isdn_net_find_icall(int, int, int, char *); 41 extern void isdn_net_hangup(struct device *); 42 extern void isdn_net_dial(void); 43 extern void isdn_net_autohup(void); 44 extern int isdn_net_force_hangup(char *); 45 extern int isdn_net_force_dial(char *); 46 extern isdn_net_dev* isdn_net_findif(char *); 47 extern int isdn_net_send_skb(struct device *, isdn_net_local *, 48 struct sk_buff *); 49 extern int isdn_net_rcv_skb(int, struct sk_buff *);