-/* $Id: zoom-ka.c,v 1.2 2007-01-03 08:42:17 adam Exp $ */
-
-/** \file zoom-ka.c
- \brief Test ZOOM Keepalive / reconnect
-*/
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) Index Data
+ * See the file LICENSE for details.
+ */
#include <stdlib.h>
#include <unistd.h>
ZOOM_connection z;
ZOOM_options o = ZOOM_options_create ();
const char *errmsg, *addinfo;
-
+
if (argc != 4)
{
fprintf (stderr, "usage:\nzoom-ka sleepinterval target query\n");
ZOOM_resultset rset;
ZOOM_connection_connect (z, argv[2], 0);
rset = ZOOM_connection_search_pqf(z, argv[3]);
-
+
while ((i = ZOOM_event(1, &z)))
{
printf ("no = %d event = %d\n", i-1,
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab