X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=include%2Fnet%2Fppp-comp.h;fp=include%2Fnet%2Fppp-comp.h;h=906212b99e36447d24420cd4bc8039975816bac7;hp=7a5246437a7d467cf989c5799c545e40eed5b3d9;hb=3d7213eeb3549074c2b6cb961db7a28c65f82d5c;hpb=e925280b807e0102ed371c556f1cfc73c2104cf8 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)); };