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
Move headers zebraapi.h->idzebra/api.h, zebraver.h->idzebra/version.h,
[idzebra-moved-to-github.git]
/
test
/
api
/
t4.c
diff --git
a/test/api/t4.c
b/test/api/t4.c
index
4d3da92
..
cb56b2a
100644
(file)
--- a/
test/api/t4.c
+++ b/
test/api/t4.c
@@
-1,4
+1,4
@@
-/* $Id: t4.c,v 1.7 2004-06-14 23:43:32 adam Exp $
+/* $Id: t4.c,v 1.9 2004-08-25 09:23:39 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
@@
-22,7
+22,7
@@
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include <yaz/log.h>
#include <yaz/pquery.h>
#include <yaz/log.h>
#include <yaz/pquery.h>
-#include <zebraapi.h>
+#include <idzebra/api.h>
/* read zebra.cfg from env var srcdir if it exists; otherwise current dir */
static ZebraService start_service()
/* read zebra.cfg from env var srcdir if it exists; otherwise current dir */
static ZebraService start_service()
@@
-30,7
+30,7
@@
static ZebraService start_service()
char cfg[256];
char *srcdir = getenv("srcdir");
sprintf(cfg, "%.200s%szebra.cfg", srcdir ? srcdir : "", srcdir ? "/" : "");
char cfg[256];
char *srcdir = getenv("srcdir");
sprintf(cfg, "%.200s%szebra.cfg", srcdir ? srcdir : "", srcdir ? "/" : "");
- return zebra_start(cfg, 0, 0);
+ return zebra_start(cfg);
}
int main(int argc, char **argv)
}
int main(int argc, char **argv)