File: /usr/src/linux/drivers/isdn/isdn_v110.h

1     /* $Id: isdn_v110.h,v 1.4 2000/05/11 22:29:21 kai Exp $
2     
3      * Linux ISDN subsystem, V.110 related functions (linklevel).
4      *
5      * Copyright by Thomas Pfeiffer (pfeiffer@pds.de)
6      *
7      * This program is free software; you can redistribute it and/or modify
8      * it under the terms of the GNU General Public License as published by
9      * the Free Software Foundation; either version 2, or (at your option)
10      * any later version.
11      *
12      * This program is distributed in the hope that it will be useful,
13      * but WITHOUT ANY WARRANTY; without even the implied warranty of
14      * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15      * GNU General Public License for more details.
16      *
17      * You should have received a copy of the GNU General Public License
18      * along with this program; if not, write to the Free Software
19      * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20      *
21      */
22     #ifndef _isdn_v110_h_
23     #define _isdn_v110_h_
24     
25     /* 
26      * isdn_v110_encode will take raw data and encode it using V.110 
27      */
28     extern struct sk_buff *isdn_v110_encode(isdn_v110_stream *, struct sk_buff *);
29     
30     /* 
31      * isdn_v110_decode receives V.110 coded data from the stream and rebuilds
32      * frames from them. The source stream doesn't need to be framed.
33      */
34     extern struct sk_buff *isdn_v110_decode(isdn_v110_stream *, struct sk_buff *);
35     
36     extern int isdn_v110_stat_callback(int, isdn_ctrl *);
37     extern void isdn_v110_close(isdn_v110_stream * v);
38     
39     #endif
40