X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Findex.h;h=32ded3e7eae320a20ad111f40f3794a007721200;hb=27a6d4f7f7425896345ab5a2bfdf35a96c97416e;hp=7a66bad8ea8e80a9d93c2bcb0ea134ee5f0975d2;hpb=538b41355b5607b4bd09c9c98682694fd6628940;p=idzebra-moved-to-github.git diff --git a/index/index.h b/index/index.h index 7a66bad..32ded3e 100644 --- a/index/index.h +++ b/index/index.h @@ -1,4 +1,4 @@ -/* $Id: index.h,v 1.193 2007-01-17 13:22:53 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; @@ -234,8 +235,8 @@ struct zebra_session { struct zebra_limit *m_limit; - int (*busy_handler_func)(void *client_data); - void *busy_handler_data; + int (*break_handler_func)(void *client_data); + void *break_handler_data; }; @@ -319,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);