X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzebraapi.h;fp=index%2Fzebraapi.h;h=8197db7272cecd9bd95e9e3b74c3b34c66556107;hb=2740e690cd7ddedcc936475a80c6356faa771f5f;hp=0768c121b2066b91c5e81abfb9ecf898fb23b6bd;hpb=c860ce4e5d976ea40d5b571c9d0d4fe9ff2f6e88;p=idzebra-moved-to-github.git diff --git a/index/zebraapi.h b/index/zebraapi.h index 0768c12..8197db7 100644 --- a/index/zebraapi.h +++ b/index/zebraapi.h @@ -1,4 +1,4 @@ -/* $Id: zebraapi.h,v 1.24 2003-02-11 14:01:39 heikki Exp $ +/* $Id: zebraapi.h,v 1.25 2003-02-11 17:28:10 heikki Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -109,6 +109,11 @@ YAZ_EXPORT const char *zebra_errString (ZebraHandle zh); /* extra information associated with error */ YAZ_EXPORT char *zebra_errAdd (ZebraHandle zh); +/* get the result code and addinfo from zh */ +YAZ_EXPORT void zebra_result (ZebraHandle zh, int *code, char **addinfo); +/* FIXME - why is this needed?? -H */ + + /************** * Searching */ @@ -195,8 +200,6 @@ int zebra_record_insert (ZebraHandle zh, const char *buf, int len); YAZ_EXPORT void zebra_set_group (ZebraHandle zh, struct recordGroup *rg); -YAZ_EXPORT void zebra_result (ZebraHandle zh, int *code, char **addinfo); - YAZ_EXPORT int zebra_resultSetTerms (ZebraHandle zh, const char *setname, int no, int *count,