projects
/
SXSI
/
TextCollection.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create branch new-trunk
[SXSI/TextCollection.git]
/
swcsa
/
utils
/
huff.h
diff --git
a/swcsa/utils/huff.h
b/swcsa/utils/huff.h
index
060570c
..
ea45d47
100755
(executable)
--- a/
swcsa/utils/huff.h
+++ b/
swcsa/utils/huff.h
@@
-42,23
+42,23
@@
void prepareToDecode(THuff *H);
// Writes H in file f
// Writes H in file f
-void saveHuff (THuff H, FILE *f);
+void saveHuff
2
(THuff H, FILE *f);
// Size of H written on file
uint sizeHuffDisk (THuff H);
//Size of H in memory
// Size of H written on file
uint sizeHuffDisk (THuff H);
//Size of H in memory
-uint sizeHuff (THuff H);
+uint sizeHuff
2
(THuff H);
// Frees H
// Frees H
-void freeHuff (THuff H);
+void freeHuff
2
(THuff H);
// Loads H from file f, prepared for encoding or decoding depending
// on enc
// Loads H from file f, prepared for encoding or decoding depending
// on enc
-THuff loadHuff (FILE *f, int enc);
+THuff loadHuff
2
(FILE *f, int enc);
//Decodes a code starting in position ptr from stream. Returns the ranking in the
//vector of symbols.
//Decodes a code starting in position ptr from stream. Returns the ranking in the
//vector of symbols.