1 /* This file is part of Pazpar2.
2 Copyright (C) 2006-2010 Index Data
4 Pazpar2 is free software; you can redistribute it and/or modify it under
5 the terms of the GNU General Public License as published by the Free
6 Software Foundation; either version 2, or (at your option) any later
9 Pazpar2 is distributed in the hope that it will be useful, but WITHOUT ANY
10 WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23 #define PZ_PIGGYBACK 0
25 #define PZ_REQUESTSYNTAX 2
28 #define PZ_NATIVESYNTAX 5
29 #define PZ_AUTHENTICATION 6
34 #define PZ_QUERYENCODING 11
39 #define PZ_SRU_VERSION 16
40 #define PZ_PQF_PREFIX 17
42 #define PZ_RECORDFILTER 19
43 #define PZ_PQF_STRFTIME 20
54 void settings_read_file(struct conf_service *service, const char *path,
56 void settings_read_node(struct conf_service *service, xmlNode *n,
58 int settings_num(struct conf_service *service);
59 int settings_create_offset(struct conf_service *service, const char *name);
60 int settings_lookup_offset(struct conf_service *service, const char *name);
61 void init_settings(struct conf_service *service);
62 void resolve_databases(struct conf_service *service);
63 void settings_read_node_x(xmlNode *n,
65 void (*fun)(void *client_data,
66 struct setting *set));
67 void expand_settings_array(struct setting ***set_ar, int *num, int offset,
76 * c-file-style: "Stroustrup"
77 * indent-tabs-mode: nil
79 * vim: shiftwidth=4 tabstop=8 expandtab