X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Findex.h;h=3ab3d02e392b93dba4e59ba35bc522e8fcb38621;hb=7598c76f1a4989a91003bd4fbd90f30a7c7255ef;hp=8ef083553a0f73a38df4cc77d6226e1e5538d545;hpb=7336356a8d037e2782e201bcdc48ff4ae2850ae4;p=idzebra-moved-to-github.git diff --git a/index/index.h b/index/index.h index 8ef0835..3ab3d02 100644 --- a/index/index.h +++ b/index/index.h @@ -1,8 +1,5 @@ -/* $Id: index.h,v 1.213 2007-12-13 11:09:20 adam Exp $ - Copyright (C) 1995-2007 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1995-2008 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -315,7 +312,7 @@ int zebra_record_fetch(ZebraHandle zh, const char *setname, const Odr_oid *input_format, Z_RecordComposition *comp, const Odr_oid **output_format, char **rec_bufp, int *rec_lenp, char **basenamep, - char **addinfo); + WRBUF addinfo_w); void extract_get_fname_tmp(ZebraHandle zh, char *fname, int no); @@ -363,7 +360,7 @@ ZEBRA_RES zebra_snippets_hit_vector(ZebraHandle zh, const char *setname, ZEBRA_RES zebra_extract_explain(void *handle, Record rec, data1_node *n); ZEBRA_RES zebra_extract_file(ZebraHandle zh, zint *sysno, const char *fname, - int deleteFlag); + enum zebra_recctrl_action_t action); ZEBRA_RES zebra_begin_read(ZebraHandle zh); ZEBRA_RES zebra_end_read(ZebraHandle zh); @@ -406,8 +403,8 @@ ZEBRA_RES zebra_sort_get_ord(ZebraHandle zh, int *numerical); ZEBRA_RES zebra_update_file_match(ZebraHandle zh, const char *path); -ZEBRA_RES zebra_update_from_path(ZebraHandle zh, const char *path); -ZEBRA_RES zebra_delete_from_path(ZebraHandle zh, const char *path); +ZEBRA_RES zebra_update_from_path(ZebraHandle zh, const char *path, + enum zebra_recctrl_action_t action); ZEBRA_RES zebra_remove_file_match(ZebraHandle zh); struct rpn_char_map_info