/*********************************************** !!!! DO NOT EDIT THIS FILE !!!! This file was auto-generated by Build.PL from lib/KinoSearch/Index/TermDocs.pm See KinoSearch::Docs::DevGuide for details. ***********************************************/ #line 167 "lib/KinoSearch/Index/TermDocs.pm" #ifndef H_KINO_TERM_DOCS #define H_KINO_TERM_DOCS 1 #define KINO_TERM_DOCS_SENTINEL 0xFFFFFFFF #include "EXTERN.h" #include "perl.h" #include "XSUB.h" #include "KinoSearchUtilMemManager.h" #include "KinoSearchIndexTermInfo.h" typedef struct termdocs { void *child; SV *positions; void (*set_doc_freq)(struct termdocs*, U32); U32 (*get_doc_freq)(struct termdocs*); U32 (*get_doc)(struct termdocs*); U32 (*get_freq)(struct termdocs*); SV* (*get_positions)(struct termdocs*); void (*seek_tinfo)(struct termdocs*, TermInfo*); bool (*next)(struct termdocs*); bool (*skip_to)(struct termdocs*, U32); U32 (*bulk_read)(struct termdocs*, SV*, SV*, U32); void (*destroy)(struct termdocs*); } TermDocs; TermDocs* Kino_TermDocs_new(); void Kino_TermDocs_set_doc_freq_death(TermDocs*, U32); U32 Kino_TermDocs_get_doc_freq_death(TermDocs*); U32 Kino_TermDocs_get_doc_death(TermDocs*); U32 Kino_TermDocs_get_freq_death(TermDocs*); SV* Kino_TermDocs_get_positions_death(TermDocs*); void Kino_TermDocs_seek_tinfo_death(TermDocs*, TermInfo*); bool Kino_TermDocs_next_death(TermDocs*); bool Kino_TermDocs_skip_to_death(TermDocs*, U32); U32 Kino_TermDocs_bulk_read_death(TermDocs*, SV*, SV*, U32); void Kino_TermDocs_destroy(TermDocs*); #endif /* include guard */