aboutsummaryrefslogtreecommitdiff
path: root/bzlib_private.h
diff options
context:
space:
mode:
authorJulian Seward <jseward@acm.org>2001-12-30 22:13:13 +0100
committerJulian Seward <jseward@acm.org>2001-12-30 22:13:13 +0100
commit099d844292f60f9d58914da29e5773204dc55e7a (patch)
tree04bdb38dbcd894d6fdbbc3253e216d029cade5c6 /bzlib_private.h
parent795b859eee96c700e8f3c3fe68e6a9a39d95797c (diff)
downloadbzip2-1.0.2.tar.gz
bzip2-1.0.2.tar.bz2
bzip2-1.0.2.zip
bzip2-1.0.2bzip2-1.0.2
Diffstat (limited to 'bzlib_private.h')
-rw-r--r--bzlib_private.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/bzlib_private.h b/bzlib_private.h
index fb51c7a..ff973c3 100644
--- a/bzlib_private.h
+++ b/bzlib_private.h
@@ -8,7 +8,7 @@
8 This file is a part of bzip2 and/or libbzip2, a program and 8 This file is a part of bzip2 and/or libbzip2, a program and
9 library for lossless, block-sorting data compression. 9 library for lossless, block-sorting data compression.
10 10
11 Copyright (C) 1996-2000 Julian R Seward. All rights reserved. 11 Copyright (C) 1996-2002 Julian R Seward. All rights reserved.
12 12
13 Redistribution and use in source and binary forms, with or without 13 Redistribution and use in source and binary forms, with or without
14 modification, are permitted provided that the following conditions 14 modification, are permitted provided that the following conditions
@@ -76,7 +76,7 @@
76 76
77/*-- General stuff. --*/ 77/*-- General stuff. --*/
78 78
79#define BZ_VERSION "1.0.1, 23-June-2000" 79#define BZ_VERSION "1.0.2, 30-Dec-2001"
80 80
81typedef char Char; 81typedef char Char;
82typedef unsigned char Bool; 82typedef unsigned char Bool;
@@ -137,6 +137,13 @@ extern void bz_internal_error ( int errcode );
137#define BZFREE(ppp) (strm->bzfree)(strm->opaque,(ppp)) 137#define BZFREE(ppp) (strm->bzfree)(strm->opaque,(ppp))
138 138
139 139
140/*-- Header bytes. --*/
141
142#define BZ_HDR_B 0x42 /* 'B' */
143#define BZ_HDR_Z 0x5a /* 'Z' */
144#define BZ_HDR_h 0x68 /* 'h' */
145#define BZ_HDR_0 0x30 /* '0' */
146
140/*-- Constants for the back end. --*/ 147/*-- Constants for the back end. --*/
141 148
142#define BZ_MAX_ALPHA_SIZE 258 149#define BZ_MAX_ALPHA_SIZE 258