X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2Ft11.c;h=490af8837d17ffe4be27902a9b10c4ce5015ab9b;hb=c401b3a1421e31b3d6b77bc7bac6ffb934207df1;hp=d0cc7c91957057947d99f198a3858385dc3a5aec;hpb=0ee1415968148352b07c112d0a4eb1deb4aa2322;p=idzebra-moved-to-github.git diff --git a/test/api/t11.c b/test/api/t11.c index d0cc7c9..490af88 100644 --- a/test/api/t11.c +++ b/test/api/t11.c @@ -1,4 +1,4 @@ -/* $Id: t11.c,v 1.7 2006-08-31 08:36:53 adam Exp $ +/* $Id: t11.c,v 1.8 2006-09-15 10:44:34 adam Exp $ Copyright (C) 1995-2006 Index Data ApS @@ -39,22 +39,23 @@ static void tst(int argc, char **argv) YAZ_CHECK(tl_init_data(zh, myrec)); /* - int tl_scan(ZebraHandle zh, const char *query, + int tl_scan + ( + ZebraHandle zh, const char *query, int pos, int num, int exp_pos, int exp_num, int exp_partial, - const char **exp_entries) + const char **exp_entries + ) */ if (1) { /* bad string use attrite, bug #647 */ - const char *ent[] = { "a", 0 }; YAZ_CHECK(tl_scan(zh, "@attr 1=bad 0", 1, 1, 1, 1, 0, 0)); } if (1) { /* bad numeric use attributes, bug #647 */ - const char *ent[] = { "a", 0 }; YAZ_CHECK(tl_scan(zh, "@attr 1=1234 0", 1, 1, 1, 1, 0, 0)); } if (1)