/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data
+ * Copyright (C) 1995-2011 Index Data
* See the file LICENSE for details.
*/
/**
* \file zoom-sru.c
* \brief Implements ZOOM SRU
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <assert.h>
#include <string.h>
start = &c->tasks->u.search.start;
count = &c->tasks->u.search.count;
facets = ZOOM_options_get(resultset->options, "facets");
- if (facets) {
+ if (facets)
facet_list = yaz_pqf_parse_facet_list(c->odr_out, facets);
- }
break;
case ZOOM_TASK_RETRIEVE:
resultset = c->tasks->u.retrieve.resultset;
int ZOOM_handle_sru(ZOOM_connection c, Z_HTTP_Response *hres,
zoom_ret *cret)
{
+#if YAZ_HAVE_XML2
int ret = 0;
const char *addinfo = 0;
ret = -1;
}
return ret;
+#else
+ return -1;
+#endif
}
/*