-/*
- * $Id: zoomtst8.c,v 1.4 2005-06-25 15:46:08 adam Exp $
- *
- * Asynchronous multi-target client doing scan
- */
+/* $Id: zoomtst8.c,v 1.8 2007-03-21 11:27:47 adam Exp $ */
+
+/** \file zoomtst8.c
+ \brief Asynchronous multi-target client doing scan
+*/
#include <stdio.h>
#include <string.h>
/* set number of scan terms to be returned. */
ZOOM_connection_option_set (z[i], "number", "7");
/* and perform scan */
- s[i] = ZOOM_connection_scan (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 */
errmsg, error, addinfo);
else
{
- size_t j;
+ int j;
printf ("%s\n", ZOOM_connection_option_get(z[i], "host"));
for (j = 0; j<ZOOM_scanset_size (s[i]); j++)
{