/* This file is part of the Zebra server.
- Copyright (C) 1994-2009 Index Data
+ Copyright (C) 2004-2013 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
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/oid_db.h>
#include <stdio.h>
#include <assert.h>
recWord.index_type = type_cstr;
if (tinfo->segments)
{
- if (sscanf(cp, ZINT_FORMAT " " ZINT_FORMAT " " ZINT_FORMAT
+ if (sscanf(cp, ZINT_FORMAT " " ZINT_FORMAT " " ZINT_FORMAT
ZINT_FORMAT " %39s %n",
- &recWord.record_id, &recWord.section_id,
+ &recWord.record_id, &recWord.section_id,
&recWord.segment,
&recWord.seqno,
field, &nor) < 5)
}
p->output_format = yaz_oid_recsyn_sutrs;
p->rec_buf = filter_buf;
- p->rec_len = filter_ptr;
+ p->rec_len = filter_ptr;
return 0;
}
};
RecType
-#ifdef IDZEBRA_STATIC_SAFARI
+#if IDZEBRA_STATIC_SAFARI
idzebra_filter_safari
#else
idzebra_filter