summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
Diffstat (limited to 'include/net')
-rw-r--r--include/net/slcompress.h6
-rw-r--r--include/net/vjcompress.h6
2 files changed, 10 insertions, 2 deletions
diff --git a/include/net/slcompress.h b/include/net/slcompress.h
index 658edb7f8..fc3b000a9 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.1 2001/01/16 10:03:48 andersen Exp $
+ * $Id: slcompress.h,v 1.2 2001/07/11 13:47:42 davidm Exp $
*
* Copyright (c) 1989 Regents of the University of California.
* All rights reserved.
@@ -137,6 +137,8 @@ struct slcompress {
/* flag values */
#define SLF_TOSS 1 /* tossing rcvd frames because of input err */
+__BEGIN_DECLS
+
void sl_compress_init __P((struct slcompress *));
void sl_compress_setup __P((struct slcompress *, int));
u_int sl_compress_tcp __P((struct mbuf *,
@@ -145,4 +147,6 @@ 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 *));
+__END_DECLS
+
#endif /* _SLCOMPRESS_H_ */
diff --git a/include/net/vjcompress.h b/include/net/vjcompress.h
index 83785b277..c792fe5e7 100644
--- a/include/net/vjcompress.h
+++ b/include/net/vjcompress.h
@@ -1,7 +1,7 @@
/*
* Definitions for tcp compression routines.
*
- * $Id: vjcompress.h,v 1.1 2001/01/16 10:03:48 andersen Exp $
+ * $Id: vjcompress.h,v 1.2 2001/07/11 13:47:42 davidm Exp $
*
* Copyright (c) 1989 Regents of the University of California.
* All rights reserved.
@@ -130,6 +130,8 @@ struct vjcompress {
/* flag values */
#define VJF_TOSS 1 /* tossing rcvd frames because of input err */
+__BEGIN_DECLS
+
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,
struct vjcompress *comp, int compress_cid_flag,
@@ -141,4 +143,6 @@ extern int vj_uncompress_tcp __P((u_char *buf, int buflen, int total_len,
struct vjcompress *comp, u_char **hdrp,
u_int *hlenp));
+__END_DECLS
+
#endif /* _VJCOMPRESS_H_ */