X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2Ftest_result_sets.c;h=7f35f4721784b52aee5bf9a8fd1c61c999f4359d;hb=f459d0203a4fdee2d60046f5cd4596e43efc9f90;hp=41d5aa23cd35fe89adda35f3abcf7819f627eb83;hpb=6a0f9234f945bc4956e2bcef75f715661a9eba9a;p=idzebra-moved-to-github.git diff --git a/test/api/test_result_sets.c b/test/api/test_result_sets.c index 41d5aa2..7f35f47 100644 --- a/test/api/test_result_sets.c +++ b/test/api/test_result_sets.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1994-2009 Index Data + Copyright (C) 1994-2011 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 @@ -19,6 +19,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA /* Creates a few result sets */ +#if HAVE_CONFIG_H +#include +#endif #include "testlib.h" const char *myrec[] ={ @@ -71,7 +74,7 @@ static void tst(int argc, char **argv) exit(1); } yaz_pqf_destroy(parser); - zebra_deleteResultSet(zh, Z_DeleteRequest_list, + zebra_deleteResultSet(zh, Z_DeleteResultSetRequest_list, 1, &setnamep, &status); odr_destroy(odr_input); odr_destroy(odr_output);