X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2Ftest_result_sets.c;h=7f35f4721784b52aee5bf9a8fd1c61c999f4359d;hb=87bb7c1c9511a200302a70977f4cca629f65c4f6;hp=c1badecbb266860383686b33e3d260ce6ad6bf27;hpb=89d16cf15eda0e4802d18b8ad09bd3653508ebfc;p=idzebra-moved-to-github.git diff --git a/test/api/test_result_sets.c b/test/api/test_result_sets.c index c1badec..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); @@ -86,6 +89,7 @@ TL_MAIN /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab