X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=zoom%2Fzoomtst7.c;h=7ded3df4a9f5855d76f997cb8a0ed3e803f8b14d;hp=0f39f8948ecf062c562fa09c91d911e4076a8b7d;hb=7ef1b50f481cda83d012cc3d69d83f9313836f1f;hpb=d57ade59211707b9bcfacc61039e446c9fa3f36f diff --git a/zoom/zoomtst7.c b/zoom/zoomtst7.c index 0f39f89..7ded3df 100644 --- a/zoom/zoomtst7.c +++ b/zoom/zoomtst7.c @@ -1,8 +1,7 @@ -/* $Id: zoomtst7.c,v 1.15 2006-04-21 10:28:08 adam Exp $ */ - -/** \file zoomtst7.c - \brief Mix of operations -*/ +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2008 Index Data + * See the file LICENSE for details. + */ #include #include @@ -21,7 +20,6 @@ int main(int argc, char **argv) ZOOM_resultset r[10]; /* and result sets .. */ ZOOM_options o; - nmem_init (); o = ZOOM_options_create (); z = ZOOM_connection_new ("localhost", 9999); @@ -156,7 +154,7 @@ int main(int argc, char **argv) z = ZOOM_connection_create (o); ZOOM_connection_connect (z, host, 0); - scan = ZOOM_connection_scan (z, "@attr 1=4 a"); + scan = ZOOM_connection_scan(z, "@attr 1=4 a"); if (block > 0) while (ZOOM_event (1, &z)) ;