From: Paul Mackerras Date: Fri, 21 Oct 1994 06:27:31 +0000 (+0000) Subject: use PACKETPTR rather than PACKET * X-Git-Tag: RELEASE_2_3_6~838 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=3d7213eeb3549074c2b6cb961db7a28c65f82d5c use PACKETPTR rather than PACKET * --- 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)); };