/* This file is part of the Zebra server.
- Copyright (C) 1995-2008 Index Data
+ Copyright (C) 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
#if HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
for (i = 0; i<iter; i++)
{
ZebraHandle zh = zebra_open(zs, 0);
- zint hits;
+ zint hits;
ZEBRA_RES res = zebra_search_PQF(zh, "@attr 1=4 some", "default",
&hits);
YAZ_CHECK(res == ZEBRA_OK);
-
+
YAZ_CHECK(hits >= hits_max);
if (hits < hits_max)
printf("i=%d hits=%lld hits_max=%lld\n", i, hits, hits_max);
YAZ_CHECK(pid != -1);
if (pid)
return pid;
-
+
(*f)(zs, iter);
YAZ_CHECK_TERM;
}
{
ZebraService zs;
ZebraHandle zh;
-
+
mkdir("register", 0775);
mkdir("shadow", 0775);
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab