aboutsummaryrefslogtreecommitdiffstats
path: root/libibex/ibex.h
diff options
context:
space:
mode:
authorNotZed <NotZed@HelixCode.com>2000-04-12 23:09:58 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-04-12 23:09:58 +0800
commit195cd8844b7a2e3b19e387f4157bb5c5141f0062 (patch)
tree7003aa5ece07860765e5149dfed7fae6d8d9c075 /libibex/ibex.h
parent73b0317b1fabbb29ae06841c4692a79b80436262 (diff)
downloadgsoc2013-evolution-195cd8844b7a2e3b19e387f4157bb5c5141f0062.tar
gsoc2013-evolution-195cd8844b7a2e3b19e387f4157bb5c5141f0062.tar.gz
gsoc2013-evolution-195cd8844b7a2e3b19e387f4157bb5c5141f0062.tar.bz2
gsoc2013-evolution-195cd8844b7a2e3b19e387f4157bb5c5141f0062.tar.lz
gsoc2013-evolution-195cd8844b7a2e3b19e387f4157bb5c5141f0062.tar.xz
gsoc2013-evolution-195cd8844b7a2e3b19e387f4157bb5c5141f0062.tar.zst
gsoc2013-evolution-195cd8844b7a2e3b19e387f4157bb5c5141f0062.zip
Debug function to dump the whole index to stdout.
2000-04-12 NotZed <NotZed@HelixCode.com> * find.c (ibex_dump_all): Debug function to dump the whole index to stdout. * words.c (get_ibex_file): Use g_strdup(), not strdup(). 2000-04-11 NotZed <NotZed@HelixCode.com> * file.c (write_word): Always write out all words we have (even if its 0 ... the file expects it). No longer check for removed files. (store_word): Check for removed files here, and only add to the ordered tree if we have references left to this word. (ibex_write): First insert into the tree, to determine the wordcount to be saved in the output file, and then write that. (ibex_open): Remove some debug. * words.c (ibex_index_buffer): Always set 'unread', if it is a valid pointer (dont rely on caller to initialise it). svn path=/trunk/; revision=2409
Diffstat (limited to 'libibex/ibex.h')
-rw-r--r--libibex/ibex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libibex/ibex.h b/libibex/ibex.h
index bb818e6d34..e24508aaf7 100644
--- a/libibex/ibex.h
+++ b/libibex/ibex.h
@@ -92,5 +92,8 @@ gboolean ibex_find_name (ibex *ib, char *name, char *word);
*/
GPtrArray *ibex_find_all (ibex *ib, GPtrArray *words);
+/* Debug function, dumps the whole index tree, showing removed files as well */
+void ibex_dump_all (ibex *ib);
+
#endif /* ! IBEX_H */