]> git.ozlabs.org Git - ppp.git/blobdiff - linux/ppp-comp.h
Update from Steve Perkins
[ppp.git] / linux / ppp-comp.h
index 19e1e4b5ab0e14117dda6a413cc61165eebba05b..6b26896f82a269451f8886d5a2cdf4955b3bd19b 100644 (file)
  * OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
  * OR MODIFICATIONS.
  *
- * From: ppp-comp.h,v 1.7 1995/05/01 01:43:37 paulus Exp
+ * $Id: ppp-comp.h,v 1.7 1998/03/19 04:56:44 paulus Exp $
  */
 
 /*
- *  ==FILEVERSION 970501==
+ *  ==FILEVERSION 980319==
  *
  *  NOTE TO MAINTAINERS:
  *     If you modify this file at all, please set the above date.
@@ -120,9 +120,8 @@ struct compressor {
  * Don't you just lurve software patents.
  */
 
-#define DECOMP_OK              0       /* no error occured */
-#define DECOMP_ERROR           1       /* error detected before decomp. */
-#define DECOMP_FATALERROR      2       /* error detected after decomp. */
+#define DECOMP_ERROR           -1      /* error detected before decomp. */
+#define DECOMP_FATALERROR      -2      /* error detected after decomp. */
 
 /*
  * CCP codes.
@@ -174,7 +173,8 @@ struct compressor {
  * Definitions for Deflate.
  */
 
-#define CI_DEFLATE             24      /* config option for Deflate */
+#define CI_DEFLATE             26      /* config option for Deflate */
+#define CI_DEFLATE_DRAFT       24      /* value used in original draft RFC */
 #define CILEN_DEFLATE          4       /* length of its config option */
 
 #define DEFLATE_MIN_SIZE       8