projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor fixes. Many things still broken...
[idzebra-moved-to-github.git]
/
index
/
main.c
diff --git
a/index/main.c
b/index/main.c
index
59ecac7
..
83a4c7b
100644
(file)
--- a/
index/main.c
+++ b/
index/main.c
@@
-1,4
+1,4
@@
-/* $Id: main.c,v 1.110 2004-01-22 11:27:21 adam Exp $
+/* $Id: main.c,v 1.113 2004-08-25 09:23:36 adam Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
@@
-44,7
+44,7
@@
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#endif
#include <data1.h>
#endif
#include <data1.h>
-#include "zebraapi.h"
+#include <idzebra/api.h>
char *prog;
char *prog;
@@
-122,7
+122,7
@@
int main (int argc, char **argv)
const char *config = configName ? configName : "zebra.cfg";
logf (LOG_LOG, "Zebra version %s %s",
ZEBRAVER, ZEBRADATE);
const char *config = configName ? configName : "zebra.cfg";
logf (LOG_LOG, "Zebra version %s %s",
ZEBRAVER, ZEBRADATE);
- zs = zebra_start (config, 0, res);
+ zs = zebra_start_res (config, 0, res);
if (!zs)
{
yaz_log (LOG_FATAL, "Cannot read config %s", config);
if (!zs)
{
yaz_log (LOG_FATAL, "Cannot read config %s", config);
@@
-258,7
+258,7
@@
int main (int argc, char **argv)
else if (ret == 'g')
res_set(res, "group", arg);
else if (ret == 'f')
else if (ret == 'g')
res_set(res, "group", arg);
else if (ret == 'f')
- res_set(res, "verboseLimit", arg);
+ res_set(res, "fileVerboseLimit", arg);
else if (ret == 'c')
configName = arg;
else if (ret == 't')
else if (ret == 'c')
configName = arg;
else if (ret == 't')