X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Findex.h;h=32ded3e7eae320a20ad111f40f3794a007721200;hb=4e67b823f05b521f193af096a40c0f64758c5fc1;hp=92a4e22b3a14e8b6c7319aac58c7f754b9fe89da;hpb=e1352999e1be86b0ce5c2698bb62f9fc7d598a4f;p=idzebra-moved-to-github.git diff --git a/index/index.h b/index/index.h index 92a4e22..32ded3e 100644 --- a/index/index.h +++ b/index/index.h @@ -1,4 +1,4 @@ -/* $Id: index.h,v 1.192 2007-01-16 15:31:23 adam Exp $ +/* $Id: index.h,v 1.196 2007-03-14 11:48:32 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -213,6 +213,7 @@ struct zebra_session { zint records_updated; zint records_deleted; zint records_processed; + zint records_skipped; char *record_encoding; yaz_iconv_t iconv_to_utf8; @@ -233,6 +234,9 @@ struct zebra_session { NMEM nmem_error; struct zebra_limit *m_limit; + + int (*break_handler_func)(void *client_data); + void *break_handler_data; }; @@ -316,25 +320,21 @@ void zebra_index_merge(ZebraHandle zh); ZEBRA_RES zebra_buffer_extract_record(ZebraHandle zh, const char *buf, size_t buf_size, - int delete_flag, + enum zebra_recctrl_action_t action, int test_mode, const char *recordType, zint *sysno, const char *match_criteria, - const char *fname, - int force_update, - int allow_update); + const char *fname); ZEBRA_RES zebra_extract_record_stream(ZebraHandle zh, struct ZebraRecStream *stream, - int delete_flag, + enum zebra_recctrl_action_t action, int test_mode, const char *recordType, zint *sysno, const char *match_criteria, const char *fname, - int force_update, - int allow_update, RecType recType, void *recTypeClientData, int *more);