X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=netbsd-1.2%2Fslcompress.h;fp=netbsd-1.2%2Fslcompress.h;h=ca430c401d2a05634f6428fdb412672177b87121;hp=f5e0cf7b610b120b2948fe3ef316e110d3c0fbbd;hb=175500f00494c77acb3e6ba8404adbfd34ee03ba;hpb=16b34a2fc4f177d3eaf1e0e3400fb687fde2f401 diff --git a/netbsd-1.2/slcompress.h b/netbsd-1.2/slcompress.h index f5e0cf7..ca430c4 100644 --- a/netbsd-1.2/slcompress.h +++ b/netbsd-1.2/slcompress.h @@ -1,5 +1,5 @@ -/* $NetBSD: slcompress.h,v 1.9 1995/07/04 06:28:29 paulus Exp $ */ -/* Id: slcompress.h,v 1.1 1995/12/11 05:17:12 paulus Exp */ +/* $NetBSD: slcompress.h,v 1.11 1997/05/17 21:12:11 christos Exp $ */ +/* Id: slcompress.h,v 1.4 1994/09/21 06:50:08 paulus Exp */ /* * Copyright (c) 1989, 1993 @@ -43,6 +43,9 @@ * - Initial distribution. */ +#ifndef _SLCOMPRESS_H_ +#define _SLCOMPRESS_H_ + #define MAX_STATES 16 /* must be > 2 and < 256 */ #define MAX_HDR MLEN /* XXX 4bsd-ism: should really be 128 */ @@ -155,9 +158,12 @@ struct slcompress { /* flag values */ #define SLF_TOSS 1 /* tossing rcvd frames because of input err */ -void sl_compress_init __P((struct slcompress *, int)); -u_int sl_compress_tcp __P((struct mbuf *, - struct ip *, struct slcompress *, int)); -int sl_uncompress_tcp __P((u_char **, int, u_int, struct slcompress *)); -int sl_uncompress_tcp_core __P((u_char *, int, int, u_int, - struct slcompress *, u_char **, u_int *)); +void sl_compress_init __P((struct slcompress *)); +void sl_compress_setup __P((struct slcompress *, int)); +u_int sl_compress_tcp __P((struct mbuf *, + struct ip *, struct slcompress *, int)); +int sl_uncompress_tcp __P((u_char **, int, u_int, struct slcompress *)); +int sl_uncompress_tcp_core __P((u_char *, int, int, u_int, + struct slcompress *, u_char **, u_int *)); + +#endif /* _SLCOMPRESS_H_ */