-/*
- * Copyright (c) 2004, Index Data.
+/* This file is part of the yazpp toolkit.
+ * Copyright (C) 1998-2012 Index Data and Mike Taylor
* See the file LICENSE for details.
- *
- * $Id: test-scan-01.cpp,v 1.4 2005-06-25 15:53:21 adam Exp $
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/log.h>
#include <yaz/pquery.h>
ODR_MASK_SET(init->protocolVersion, Z_ProtocolVersion_3);
ODR_MASK_SET(init->options, Z_Options_namedResultSets);
ODR_MASK_SET(init->options, Z_Options_scan);
-
+
int r = z->send_Z_PDU(apdu, &len);
if (r < 0)
{
z->odr_encode(),
&sr->attributeSet,
try_scan[m_scan_no]);
-
+
z->getDatabase(&sr->databaseNames, &sr->num_databaseNames);
-
+
yaz_pqf_destroy (pqf_parser);
z->send_Z_PDU(apdu, &len);
return TEST_CONTINUE;
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab