summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>1994-10-21 06:27:31 +0000
committerPaul Mackerras <paulus@samba.org>1994-10-21 06:27:31 +0000
commit3d7213eeb3549074c2b6cb961db7a28c65f82d5c (patch)
treee23cb576a1f41fc8fa9d345194a0c3ed42a0ef90 /include
parente925280b807e0102ed371c556f1cfc73c2104cf8 (diff)
downloadppp-3d7213eeb3549074c2b6cb961db7a28c65f82d5c.tar.gz
use PACKETPTR rather than PACKET *
Diffstat (limited to 'include')
-rw-r--r--include/net/ppp-comp.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/net/ppp-comp.h b/include/net/ppp-comp.h
index 7a52464..906212b 100644
--- a/include/net/ppp-comp.h
+++ b/include/net/ppp-comp.h
@@ -24,7 +24,7 @@
* OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
* OR MODIFICATIONS.
*
- * $Id: ppp-comp.h,v 1.3 1994/09/19 04:23:58 paulus Exp $
+ * $Id: ppp-comp.h,v 1.4 1994/10/21 06:27:31 paulus Exp $
*/
/*
@@ -43,8 +43,8 @@ struct compressor {
/* Reset a compressor */
void (*comp_reset) __P((void *state));
/* Compress a packet */
- int (*compress) __P((void *state, PACKET **mret,
- PACKET *mp, int orig_len, int max_len));
+ int (*compress) __P((void *state, PACKETPTR *mret,
+ PACKETPTR mp, int orig_len, int max_len));
/* Return compression statistics */
void (*comp_stat) __P((void *state, struct compstat *stats));
@@ -58,9 +58,10 @@ struct compressor {
/* Reset a decompressor */
void (*decomp_reset) __P((void *state));
/* Decompress a packet. */
- int (*decompress) __P((void *state, PACKET *mp, PACKET **dmpp));
+ int (*decompress) __P((void *state, PACKETPTR mp,
+ PACKETPTR *dmpp));
/* Update state for an incompressible packet received */
- void (*incomp) __P((void *state, PACKET *mp));
+ void (*incomp) __P((void *state, PACKETPTR mp));
/* Return decompression statistics */
void (*decomp_stat) __P((void *state, struct compstat *stats));
};