-/* $Id: recctrl.h,v 1.23 2006-06-13 19:42:04 adam Exp $
+/* $Id: recctrl.h,v 1.28 2006-08-16 13:16:35 adam Exp $
Copyright (C) 1995-2006
Index Data ApS
for more details.
You should have received a copy of the GNU General Public License
-along with Zebra; see the file LICENSE.zebra. If not, write to the
-Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
*/
#ifndef IDZEBRA_RECCTRL_H
#include <idzebra/res.h>
#include <idzebra/data1.h>
#include <idzebra/snippet.h>
-#include <idzebra/zebramap.h>
YAZ_BEGIN_CDECL
const char *term_buf;
int term_len;
zint seqno;
+ zint segment;
zint record_id;
zint section_id;
- ZebraMaps zebra_maps;
struct recExtractCtrl *extractCtrl;
} RecWord;
void *clientData;
void (*tokenAdd)(RecWord *w);
void (*setStoreData)(struct recExtractCtrl *p, void *buf, size_t size);
- ZebraMaps zebra_maps;
int first_record;
int flagShowRecords;
int seqno[256];
/* response */
oid_value output_format;
void *rec_buf;
- size_t rec_len;
+ int rec_len;
int diagnostic;
char *addinfo;
};
void **clientDataP);
+#define KEY_SEGMENT_SIZE 1024
+
YAZ_END_CDECL
#endif