OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [drivers/] [isdn/] [isdn_net.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1626 jcastillo
/* $Id: isdn_net.h,v 1.1 2005-12-20 10:16:56 jcastillo Exp $
2
 
3
 * header for Linux ISDN subsystem, network related functions (linklevel).
4
 *
5
 * Copyright 1994-1998  by Fritz Elfert (fritz@isdn4linux.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: not supported by cvs2svn $
24
 * Revision 1.1.1.1  2001/09/10 07:44:18  simons
25
 * Initial import
26
 *
27
 * Revision 1.1.1.1  2001/07/02 17:58:31  simons
28
 * Initial revision
29
 *
30
 * Revision 1.5.2.2  1998/11/05 22:12:09  fritz
31
 * Changed mail-address.
32
 *
33
 * Revision 1.5.2.1  1998/10/25 15:48:29  fritz
34
 * Misc bugfixes and adaptions to new HiSax
35
 *
36
 * Revision 1.5  1997/02/10 20:12:47  fritz
37
 * Changed interface for reporting incoming calls.
38
 *
39
 * Revision 1.4  1997/02/03 23:16:48  fritz
40
 * Removed isdn_net_receive_callback prototype.
41
 *
42
 * Revision 1.3  1997/01/17 01:19:30  fritz
43
 * Applied chargeint patch.
44
 *
45
 * Revision 1.2  1996/04/20 16:29:43  fritz
46
 * Misc. typos
47
 *
48
 * Revision 1.1  1996/02/11 02:35:13  fritz
49
 * Initial revision
50
 *
51
 */
52
 
53
                              /* Definitions for hupflags:                */
54
#define ISDN_WAITCHARGE  1      /* did not get a charge info yet            */
55
#define ISDN_HAVECHARGE  2      /* We know a charge info                    */
56
#define ISDN_CHARGEHUP   4      /* We want to use the charge mechanism      */
57
#define ISDN_INHUP       8      /* Even if incoming, close after huptimeout */
58
#define ISDN_MANCHARGE  16      /* Charge Interval manually set             */
59
 
60
extern char *isdn_net_new(char *, struct device *);
61
extern char *isdn_net_newslave(char *);
62
extern int isdn_net_rm(char *);
63
extern int isdn_net_rmall(void);
64
extern int isdn_net_stat_callback(int, isdn_ctrl *);
65
extern int isdn_net_setcfg(isdn_net_ioctl_cfg *);
66
extern int isdn_net_getcfg(isdn_net_ioctl_cfg *);
67
extern int isdn_net_addphone(isdn_net_ioctl_phone *);
68
extern int isdn_net_getphones(isdn_net_ioctl_phone *, char *);
69
extern int isdn_net_delphone(isdn_net_ioctl_phone *);
70
extern int isdn_net_find_icall(int, isdn_ctrl *, int);
71
extern void isdn_net_hangup(struct device *);
72
extern void isdn_net_dial(void);
73
extern void isdn_net_autohup(void);
74
extern int isdn_net_force_hangup(char *);
75
extern int isdn_net_force_dial(char *);
76
extern isdn_net_dev *isdn_net_findif(char *);
77
extern int isdn_net_send_skb(struct device *, isdn_net_local *,
78
                             struct sk_buff *);
79
extern int isdn_net_rcv_skb(int, struct sk_buff *);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.