Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* $Id: isdn_v110.h,v 1.1.2.2 2004/01/12 22:37:19 keil Exp $ |
| 2 | * |
| 3 | * Linux ISDN subsystem, V.110 related functions (linklevel). |
| 4 | * |
| 5 | * Copyright by Thomas Pfeiffer (pfeiffer@pds.de) |
| 6 | * |
| 7 | * This software may be used and distributed according to the terms |
| 8 | * of the GNU General Public License, incorporated herein by reference. |
| 9 | * |
| 10 | */ |
| 11 | |
| 12 | #ifndef _isdn_v110_h_ |
| 13 | #define _isdn_v110_h_ |
| 14 | |
| 15 | /* |
| 16 | * isdn_v110_encode will take raw data and encode it using V.110 |
| 17 | */ |
| 18 | extern struct sk_buff *isdn_v110_encode(isdn_v110_stream *, struct sk_buff *); |
| 19 | |
| 20 | /* |
| 21 | * isdn_v110_decode receives V.110 coded data from the stream and rebuilds |
| 22 | * frames from them. The source stream doesn't need to be framed. |
| 23 | */ |
| 24 | extern struct sk_buff *isdn_v110_decode(isdn_v110_stream *, struct sk_buff *); |
| 25 | |
| 26 | extern int isdn_v110_stat_callback(int, isdn_ctrl *); |
| 27 | extern void isdn_v110_close(isdn_v110_stream * v); |
| 28 | |
| 29 | #endif |