-/* $Id: zoomtst9.c,v 1.4 2006-10-04 16:59:35 mike Exp $ */
-
-/** \file zoomtst9.c
- \brief Extended Service Update
-*/
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) Index Data
+ * See the file LICENSE for details.
+ */
#include <stdio.h>
#include <string.h>
ZOOM_options o = ZOOM_options_create ();
int error;
const char *errmsg, *addinfo;
-
+
if (argc < 3)
usage();
z = ZOOM_connection_create (o);
-
+
/* connect and init */
ZOOM_connection_connect (z, argv[1], 0);
-
+
if ((error = ZOOM_connection_error(z, &errmsg, &addinfo)))
{
fprintf(stderr, "%s error: %s (%d) %s\n",
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab