blob: de774ab598c9947659414a64a0238a8d5502959d [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/* $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
Joe Perches475be4d2012-02-19 19:52:38 -080015/*
16 * isdn_v110_encode will take raw data and encode it using V.110
Linus Torvalds1da177e2005-04-16 15:20:36 -070017 */
18extern struct sk_buff *isdn_v110_encode(isdn_v110_stream *, struct sk_buff *);
19
Joe Perches475be4d2012-02-19 19:52:38 -080020/*
Linus Torvalds1da177e2005-04-16 15:20:36 -070021 * 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 */
24extern struct sk_buff *isdn_v110_decode(isdn_v110_stream *, struct sk_buff *);
25
26extern int isdn_v110_stat_callback(int, isdn_ctrl *);
Joe Perches475be4d2012-02-19 19:52:38 -080027extern void isdn_v110_close(isdn_v110_stream *v);
Linus Torvalds1da177e2005-04-16 15:20:36 -070028
29#endif