projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated dictionary. Implemented "compression" of dictionary.
[idzebra-moved-to-github.git]
/
dict
/
dopen.c
diff --git
a/dict/dopen.c
b/dict/dopen.c
index
9883be3
..
0a3e63c
100644
(file)
--- a/
dict/dopen.c
+++ b/
dict/dopen.c
@@
-4,7
+4,10
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: dopen.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: dopen.c,v $
- * Revision 1.6 1999-02-02 14:50:20 adam
+ * Revision 1.7 1999-05-15 14:36:37 adam
+ * Updated dictionary. Implemented "compression" of dictionary.
+ *
+ * Revision 1.6 1999/02/02 14:50:20 adam
* Updated WIN32 code specific sections. Changed header.
*
* Revision 1.5 1997/09/17 12:19:07 adam
* Updated WIN32 code specific sections. Changed header.
*
* Revision 1.5 1997/09/17 12:19:07 adam
@@
-34,6
+37,7
@@
static void common_init (Dict_BFile bf, int block_size, int cache)
int i;
bf->block_size = block_size;
int i;
bf->block_size = block_size;
+ bf->compact_flag = 0;
bf->cache = cache;
bf->hash_size = 31;
bf->cache = cache;
bf->hash_size = 31;
@@
-78,3
+82,8
@@
Dict_BFile dict_bf_open (BFiles bfs, const char *name, int block_size,
common_init (dbf, block_size, cache);
return dbf;
}
common_init (dbf, block_size, cache);
return dbf;
}
+
+void dict_bf_compact (Dict_BFile dbf)
+{
+ dbf->compact_flag = 1;
+}