summaryrefslogtreecommitdiffstats
path: root/src/storage/phrase_index.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/phrase_index.h')
-rw-r--r--src/storage/phrase_index.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/storage/phrase_index.h b/src/storage/phrase_index.h
index 0c5c824..17d81c4 100644
--- a/src/storage/phrase_index.h
+++ b/src/storage/phrase_index.h
@@ -237,9 +237,12 @@ public:
MemoryChunk * newlog);
bool merge(guint8 phrase_index, MemoryChunk * log);
- /* compat all SubPhraseIndex m_phrase_content memory usage.*/
+ /* compat all SubPhraseIndex m_phrase_content memory usage. */
bool compat();
+ /* get all available sub phrase indices. */
+ int get_sub_phrase_range(guint8 & min_index, guint8 & max_index);
+
/* get each sub phrase token range with phrase_index added */
int get_range(guint8 phrase_index, /* out */ PhraseIndexRange & range);