summaryrefslogtreecommitdiff
path: root/libarchive/archive_ppmd7_private.h
diff options
context:
space:
mode:
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>2011-12-19 18:30:59 -0500
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>2011-12-19 18:30:59 -0500
commitd92f5dd4e148b6d7fcb7f517ba1810ef58022273 (patch)
treeb7cb381f9eeaeef53a34060173ff743d6b823bb7 /libarchive/archive_ppmd7_private.h
parentbb91a3de9878578e0cb5251718c82dd8eec676b0 (diff)
downloadlibarchive-d92f5dd4e148b6d7fcb7f517ba1810ef58022273.tar.gz
Add support for PPMd to 7-Zip writer.
SVN-Revision: 3950
Diffstat (limited to 'libarchive/archive_ppmd7_private.h')
-rw-r--r--libarchive/archive_ppmd7_private.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libarchive/archive_ppmd7_private.h b/libarchive/archive_ppmd7_private.h
index e9915f34..3a6b9eb4 100644
--- a/libarchive/archive_ppmd7_private.h
+++ b/libarchive/archive_ppmd7_private.h
@@ -82,14 +82,14 @@ typedef struct
/* ---------- Encode ---------- */
-/*typedef struct
+typedef struct
{
UInt64 Low;
UInt32 Range;
Byte Cache;
UInt64 CacheSize;
IByteOut *Stream;
-} CPpmd7z_RangeEnc;*/
+} CPpmd7z_RangeEnc;
typedef struct
{
@@ -109,10 +109,10 @@ typedef struct
int (*Ppmd7_DecodeSymbol)(CPpmd7 *p, IPpmd7_RangeDec *rc);
/* Encode Functions */
- /*void (*Ppmd7z_RangeEnc_Init)(CPpmd7z_RangeEnc *p);
+ void (*Ppmd7z_RangeEnc_Init)(CPpmd7z_RangeEnc *p);
void (*Ppmd7z_RangeEnc_FlushData)(CPpmd7z_RangeEnc *p);
- void (*Ppmd7_EncodeSymbol)(CPpmd7 *p, CPpmd7z_RangeEnc *rc, int symbol);*/
+ void (*Ppmd7_EncodeSymbol)(CPpmd7 *p, CPpmd7z_RangeEnc *rc, int symbol);
} IPpmd7;
extern const IPpmd7 __archive_ppmd7_functions;