Import 2.3.18pre1
[davej-history.git] / include / net / irda / irlap_comp.h
blob59f268e53a3051ddb2eebe12e5b5e2a6d32f08ce
1 /*********************************************************************
2 *
3 * Filename: irlap_comp.h
4 * Version:
5 * Description:
6 * Status: Experimental.
7 * Author: Dag Brattli <dagb@cs.uit.no>
8 * Created at: Fri Oct 9 09:21:12 1998
9 * Modified at: Sat Dec 12 12:23:16 1998
10 * Modified by: Dag Brattli <dagb@cs.uit.no>
12 * Copyright (c) 1998 Dag Brattli, All Rights Reserved.
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License as
16 * published by the Free Software Foundation; either version 2 of
17 * the License, or (at your option) any later version.
19 * Neither Dag Brattli nor University of Tromsø admit liability nor
20 * provide warranty for any of this software. This material is
21 * provided "AS-IS" and at no charge.
23 ********************************************************************/
25 #ifndef IRLAP_COMP_H
26 #define IRLAP_COMP_H
28 #include <linux/ppp-comp.h>
30 #define CI_BZIP2 27/* Random pick */
32 extern hashbin_t *irlap_compressors;
34 intirda_register_compressor(struct compressor *cp);
35 voidirda_unregister_compressor(struct compressor *cp);
37 intirda_set_compression(struct irlap_cb *self,int proto);
38 voidirlap_compressor_init(struct irlap_cb *self,int compress);
39 voidirda_free_compression(struct irlap_cb *self);
41 struct sk_buff *irlap_compress_frame(struct irlap_cb *self,
42 struct sk_buff *skb);
43 struct sk_buff *irlap_decompress_frame(struct irlap_cb *self,
44 struct sk_buff *skb);
46 #endif
close