/* This file is part of Pazpar2.
- Copyright (C) 2006-2013 Index Data
+ Copyright (C) Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
#include "charsets.h"
#include "http.h"
#include "database.h"
-#include "host.h"
enum conf_metadata_type {
Metadata_type_generic, // Generic text field
Metadata_type_skiparticle,
Metadata_type_relevance,
Metadata_type_position,
+ Metadata_type_retrieval,
};
enum conf_metadata_merge {
char *limitmap; // Should be expanded into service-wide default e.g. pz:limitmap:<name>=value setting
char *limitcluster;
+ char *icurule;
};
struct conf_config *config;
http_server_t http_server;
iochan_man_t iochan_man;
- database_hosts_t database_hosts;
};
-struct conf_config *config_create(const char *fname, int verbose);
+struct conf_config *config_create(const char *fname);
void config_destroy(struct conf_config *config);
void config_process_events(struct conf_config *config);
void info_services(struct conf_server *server, WRBUF w);