isdn_v110.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:1k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. /* $Id: isdn_v110.h,v 1.1.4.1 2001/11/20 14:19:34 kai 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. #ifndef _isdn_v110_h_
  12. #define _isdn_v110_h_
  13. /* 
  14.  * isdn_v110_encode will take raw data and encode it using V.110 
  15.  */
  16. extern struct sk_buff *isdn_v110_encode(isdn_v110_stream *, struct sk_buff *);
  17. /* 
  18.  * isdn_v110_decode receives V.110 coded data from the stream and rebuilds
  19.  * frames from them. The source stream doesn't need to be framed.
  20.  */
  21. extern struct sk_buff *isdn_v110_decode(isdn_v110_stream *, struct sk_buff *);
  22. extern int isdn_v110_stat_callback(int, isdn_ctrl *);
  23. extern void isdn_v110_close(isdn_v110_stream * v);
  24. #endif