20 #ifndef IDZEBRA_SNIPPET_H
21 #define IDZEBRA_SNIPPET_H
54 const char *
term,
size_t term_len);
59 const char *
term,
size_t term_len,
78 int before,
int after);
zebra_snippet_word * zebra_snippets_list(zebra_snippets *l)
void zebra_snippets_append_match(zebra_snippets *l, zint seqno, int ws, int ord, const char *term, size_t term_len, int match)
void zebra_snippets_appendn(zebra_snippets *l, zint seqno, int ws, int ord, const char *term, size_t term_len)
void zebra_snippets_log(const zebra_snippets *l, int log_level, int all)
void zebra_snippets_destroy(zebra_snippets *l)
const zebra_snippet_word * zebra_snippets_constlist(const zebra_snippets *l)
void zebra_snippets_append(zebra_snippets *l, zint seqno, int ws, int ord, const char *term)
const struct zebra_snippet_word * zebra_snippets_lookup(const zebra_snippets *doc, const zebra_snippets *hit)
void zebra_snippets_ring(zebra_snippets *doc, const zebra_snippets *hit, int before, int after)
zebra_snippets * zebra_snippets_window(const zebra_snippets *doc, const zebra_snippets *hit, int window_size)
zebra_snippets * zebra_snippets_create(void)
struct zebra_snippet_word * prev
struct zebra_snippet_word * next