1 /* This file is part of Pazpar2.
2 Copyright (C) 2006-2011 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 // Structures representing a Zeerex record.
32 typedef struct zr_langstr
37 struct zr_langstr *next;
40 struct zr_authentication
58 struct zr_authentication *authentication;
66 struct zr_agent *next;
76 struct zr_implementation
80 struct zr_agent *agents;
84 struct zr_databaseInfo
87 Zr_langstr *description;
92 Zr_langstr *restrictions;
93 Zr_langstr *langUsage;
95 struct zr_agent *agents;
96 struct zr_implementation *implementation;
97 struct zr_link *links;
103 char *dateAggregated;
104 char *aggregatedFrom;
120 struct zr_attr *next;
129 struct zr_attr *attrs;
133 typedef struct zr_setting
138 struct zr_setting *next;
143 Zr_setting *defaultv;
145 Zr_setting *supports;
156 struct zr_configInfo *configInfo;
157 struct zr_index *next;
160 struct zr_sortKeyword
163 struct zr_sortKeyword *next;
169 struct zr_index *indexes;
170 struct zr_sortKeyword *sortKeywords;
171 struct zr_configInfo *configInfo;
179 struct zr_elementSet *next;
182 struct zr_recordSyntax
186 struct zr_elementSet *elementSets;
187 struct zr_recordSyntax *next;
192 struct zr_recordSyntax *recordSyntaxes;
203 struct zr_schema *next;
208 struct zr_schema *schemas;
213 struct zr_serverInfo *serverInfo;
214 struct zr_databaseInfo *databaseInfo;
215 struct zr_metaInfo *metaInfo;
216 struct zr_indexInfo *indexInfo;
217 struct zr_recordInfo *recordInfo;
218 struct zr_schemaInfo *schemaInfo;
219 struct zr_configInfo *configInfo;
222 struct zr_explain *zr_read_xml(NMEM m, xmlNode *n);
223 struct zr_explain *zr_read_file(NMEM m, const char *fn);
224 const char *zr_langstr(Zr_langstr *s, const char *lang);
231 * c-file-style: "Stroustrup"
232 * indent-tabs-mode: nil
234 * vim: shiftwidth=4 tabstop=8 expandtab