X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=zoom%2Fzoom-benchmark.c;h=83020e6a0f7f54ac985c91e351343cf74dc5b314;hp=229f3cdd4f1da38f68eab83472cac6bfa5a34ac0;hb=57cae124c6a1c7cdd8c70090db636b227887fc19;hpb=cc4a5d8761e524821c67a4b13847ec84ba14f8ac diff --git a/zoom/zoom-benchmark.c b/zoom/zoom-benchmark.c index 229f3cd..83020e6 100644 --- a/zoom/zoom-benchmark.c +++ b/zoom/zoom-benchmark.c @@ -1,25 +1,25 @@ -/* - * $Id: zoom-benchmark.c,v 1.20 2007-05-06 20:35:43 adam Exp $ - * - * Asynchronous multi-target client doing search and piggyback retrieval +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2011 Index Data + * See the file LICENSE for details. */ +#if HAVE_CONFIG_H +#include +#endif #include #include #include -#include #include #include #include #include - /* naming events */ -static char* zoom_events[10]; +static char* zoom_events[ZOOM_EVENT_MAX+1]; /* re-sorting event numbers to progress numbers */ -static int zoom_progress[10]; +static int zoom_progress[ZOOM_EVENT_MAX+1]; /* commando line parameters */ static struct parameters_t { @@ -429,6 +429,7 @@ int main(int argc, char **argv) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab