X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=zoom%2Fzoomtst8.c;h=51340a668246332bf797c5456f3a7b458f97b2e5;hp=ed9ff68b0d13ba169ad1bd1edec0aa856fc4651f;hb=ed907bd829d0a9e00cfd1b0f3cf0d41dc68563c6;hpb=e20877bdeb227b7c4179b6defa3eb5b44599d707 diff --git a/zoom/zoomtst8.c b/zoom/zoomtst8.c index ed9ff68..51340a6 100644 --- a/zoom/zoomtst8.c +++ b/zoom/zoomtst8.c @@ -1,8 +1,7 @@ -/* $Id: zoomtst8.c,v 1.7 2007-03-19 20:58:34 adam Exp $ */ - -/** \file zoomtst8.c - \brief Asynchronous multi-target client doing scan -*/ +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2011 Index Data + * See the file LICENSE for details. + */ #include #include @@ -47,7 +46,7 @@ int main(int argc, char **argv) /* set number of scan terms to be returned. */ ZOOM_connection_option_set (z[i], "number", "7"); /* and perform scan */ - s[i] = ZOOM_connection_scan_pqf(z[i], argv[argc-1]); + s[i] = ZOOM_connection_scan(z[i], argv[argc-1]); } /* network I/O. pass number of connections and array of connections */ @@ -66,13 +65,13 @@ int main(int argc, char **argv) { int j; printf ("%s\n", ZOOM_connection_option_get(z[i], "host")); - for (j = 0; j