X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fidzebra%2Fsnippet.h;fp=include%2Fidzebra%2Fsnippet.h;h=d4cfb1ded2e07f0b5cbfe329298a94ca30360621;hp=e778e3cfe3c9986aed18cb6a967d3ea57b5b4654;hb=7a2d0f25682890bde5d8f2883d6020df2ed0b365;hpb=5498d6d66ab0f3639b6d4517cad14f2ba25b7553 diff --git a/include/idzebra/snippet.h b/include/idzebra/snippet.h index e778e3c..d4cfb1d 100644 --- a/include/idzebra/snippet.h +++ b/include/idzebra/snippet.h @@ -1,4 +1,4 @@ -/* $Id: snippet.h,v 1.1 2005-06-07 11:36:38 adam Exp $ +/* $Id: snippet.h,v 1.2 2005-06-07 14:53:39 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -29,6 +29,7 @@ YAZ_BEGIN_CDECL struct zebra_snippet_word { zint seqno; + int reg_type; int ord; char *term; int match; @@ -41,9 +42,11 @@ typedef struct zebra_snippet_word zebra_snippet_word; zebra_snippets *zebra_snippets_create(); void zebra_snippets_destroy(zebra_snippets *l); void zebra_snippets_append(zebra_snippets *l, - zint seqno, int ord, const char *term); + zint seqno, int reg_type, + int ord, const char *term); void zebra_snippets_append_match(zebra_snippets *l, - zint seqno, int ord, const char *term, + zint seqno, int reg_type, + int ord, const char *term, int match); zebra_snippet_word *zebra_snippets_list(zebra_snippets *l); void zebra_snippets_log(zebra_snippets *l, int log_level);