#include <yaz/yaz-ccl.h>
#include "termlists.h"
-#include "relevance.h"
#include "reclists.h"
-#include "eventl.h"
#include "pazpar2_config.h"
-#include "parameters.h"
#include "http.h"
struct record;
PAZPAR2_LAST_ERROR
};
+enum pazpar2_database_criterion_type {
+ PAZPAR2_STRING_MATCH,
+ PAZPAR2_SUBSTRING_MATCH
+};
+
// Represents a (virtual) database on a host
struct database {
struct host *host;
struct database_criterion {
char *name;
+ enum pazpar2_database_criterion_type type;
struct database_criterion_value *values;
struct database_criterion *next;
};
// Simple sequence of stylesheets run in series.
struct database_retrievalmap {
xsltStylesheet *stylesheet;
+ struct marcmap *marcmap;
struct database_retrievalmap *next;
};
{
struct database *database;
struct setting **settings;
-#ifdef RETIRED
- yaz_marc_t yaz_marc;
-#endif
struct database_retrievalmap *map;
struct session_database *next;
};