X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=include%2Fnet%2Fvjcompress.h;h=ba1ee1f7030a9aba6646e3c28d01bba21f1c9455;hp=03a33bf79c9b3f975c941d869d0a6f9ab4a69df7;hb=HEAD;hpb=16193f3505f75cc63f0669b1c9d17794d9d5e9a3 diff --git a/include/net/vjcompress.h b/include/net/vjcompress.h index 03a33bf..ba1ee1f 100644 --- a/include/net/vjcompress.h +++ b/include/net/vjcompress.h @@ -130,15 +130,15 @@ struct vjcompress { /* flag values */ #define VJF_TOSS 1 /* tossing rcvd frames because of input err */ -extern void vj_compress_init __P((struct vjcompress *comp, int max_state)); -extern u_int vj_compress_tcp __P((struct ip *ip, u_int mlen, +extern void vj_compress_init(struct vjcompress *comp, int max_state); +extern u_int vj_compress_tcp(struct ip *ip, u_int mlen, struct vjcompress *comp, int compress_cid_flag, - u_char **vjhdrp)); -extern void vj_uncompress_err __P((struct vjcompress *comp)); -extern int vj_uncompress_uncomp __P((u_char *buf, int buflen, - struct vjcompress *comp)); -extern int vj_uncompress_tcp __P((u_char *buf, int buflen, int total_len, + u_char **vjhdrp); +extern void vj_uncompress_err(struct vjcompress *comp); +extern int vj_uncompress_uncomp(u_char *buf, int buflen, + struct vjcompress *comp); +extern int vj_uncompress_tcp(u_char *buf, int buflen, int total_len, struct vjcompress *comp, u_char **hdrp, - u_int *hlenp)); + u_int *hlenp); #endif /* _VJCOMPRESS_H_ */