X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=include%2Fnet%2Fslcompress.h;h=d887dfc2c9e44f9b299cb1d46b16e9598800f959;hp=3024bfd300e146f43db198460af83d06d9f19084;hb=dec4aceb7c5b91e5f9ec8b62e5b6560499abc402;hpb=2aaf0879e19c426cae2c1dd6ea30a1fa8df042d3 diff --git a/include/net/slcompress.h b/include/net/slcompress.h index 3024bfd..d887dfc 100644 --- a/include/net/slcompress.h +++ b/include/net/slcompress.h @@ -1,7 +1,7 @@ /* * Definitions for tcp compression routines. * - * $Id: slcompress.h,v 1.2 1994/04/18 05:09:38 paulus Exp $ + * $Id: slcompress.h,v 1.4 1994/09/21 06:50:08 paulus Exp $ * * Copyright (c) 1989 Regents of the University of California. * All rights reserved. @@ -137,10 +137,12 @@ struct slcompress { /* flag values */ #define SLF_TOSS 1 /* tossing rcvd frames because of input err */ -extern void sl_compress_init(/* struct slcompress * */); -extern void sl_compress_setup(/* struct slcompress *, int */); -extern u_char sl_compress_tcp(/* struct mbuf *, struct ip *, - struct slcompress *, int compress_cid_flag */); -extern int sl_uncompress_tcp(/* u_char **, int, u_char, struct slcompress * */); +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_ */