aboutsummaryrefslogtreecommitdiffstats
path: root/libibex/wordindex.c
diff options
context:
space:
mode:
Diffstat (limited to 'libibex/wordindex.c')
-rw-r--r--libibex/wordindex.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libibex/wordindex.c b/libibex/wordindex.c
index 62e8859e15..43a91f4342 100644
--- a/libibex/wordindex.c
+++ b/libibex/wordindex.c
@@ -82,9 +82,12 @@ static void add_list(struct _IBEXWord *, const char *name, GPtrArray *words);/*
static int word_sync(struct _IBEXWord *idx);
static int word_flush(struct _IBEXWord *idx);
static int word_close(struct _IBEXWord *idx);
+static void word_index_pre(struct _IBEXWord *idx);
+static void word_index_post(struct _IBEXWord *idx);
struct _IBEXWordClass ibex_word_index_class = {
word_sync, word_flush, word_close,
+ word_index_pre, word_index_post,
unindex_name, contains_name,
find, find_name,
add, add_list
@@ -138,6 +141,14 @@ cache_sanity(struct _wordcache *head)
}
#endif
+static void word_index_pre(struct _IBEXWord *idx)
+{
+}
+
+static void word_index_post(struct _IBEXWord *idx)
+{
+}
+
/* unindex all entries for name */
static void unindex_name(struct _IBEXWord *idx, const char *name)
{