/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data.
+ * Copyright (C) 1995-2012 Index Data.
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
char *database;
char *stylesheet;
Odr_int *resultSetTTL;
- Z_FacetList *facet_list;
+ Z_FacetList *facetList;
} Z_SRW_searchRetrieveRequest;
typedef struct {
Odr_int *nextRecordPosition;
Z_SRW_extra_record **extra_records; /* of size num_records */
- Z_FacetList *facet_list;
+ Z_FacetList *facetList;
+ char *suggestions;
} Z_SRW_searchRetrieveResponse;
typedef struct {
#define YAZ_XMLNS_SRU_v1_1 "http://www.loc.gov/zing/srw/"
#define YAZ_XMLNS_DIAG_v1_1 "http://www.loc.gov/zing/srw/diagnostic/"
#define YAZ_XMLNS_UPDATE_v0_9 "http://www.loc.gov/zing/srw/update/"
+#define YAZ_XMLNS_SRU_v2_response "http://docs.oasis-open.org/ns/search-ws/sru*esponse"
YAZ_EXPORT
int yaz_srw_check_content_type(Z_HTTP_Response *hres);