X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2Ftestlib.h;h=cbe06cce60d0bf500f1ad911e3b64424eb31fc79;hb=1f1106ca4cb980d93dec90480e25df75ddd59c4d;hp=304c60fc3ae84851909846859bc0eaae7ece1909;hpb=2ca7b6bfd7e8d9a2cb9c36bf2520b46511a594eb;p=idzebra-moved-to-github.git diff --git a/test/api/testlib.h b/test/api/testlib.h index 304c60f..cbe06cc 100644 --- a/test/api/testlib.h +++ b/test/api/testlib.h @@ -1,4 +1,4 @@ -/* $Id: testlib.h,v 1.13 2005-05-02 09:05:22 adam Exp $ +/* $Id: testlib.h,v 1.14 2005-05-04 10:50:09 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -76,13 +76,13 @@ void init_data(ZebraHandle zh, const char **recs); /** * do_query does a simple query, and checks that the number of hits matches */ -int do_query(int lineno, ZebraHandle zh, char *query, int exphits); +int do_query(int lineno, ZebraHandle zh, const char *query, zint exphits); /** * do_query does a simple query, and checks that error is what is expected */ -int do_query_x(int lineno, ZebraHandle zh, char *query, int exphits, +int do_query_x(int lineno, ZebraHandle zh, const char *query, zint exphits, int experror); /**