1 /* $Id: zeerex.h,v 1.3 2007-04-10 08:48:56 adam Exp $
2 Copyright (c) 2006-2007, Index Data.
4 This file is part of Pazpar2.
6 Pazpar2 is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 2, or (at your option) any later
11 Pazpar2 is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 You should have received a copy of the GNU General Public License
17 along with Pazpar2; see the file LICENSE. If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
25 // Structures representing a Zeerex record.
34 typedef struct zr_langstr
39 struct zr_langstr *next;
42 struct zr_authentication
60 struct zr_authentication *authentication;
68 struct zr_agent *next;
78 struct zr_implementation
82 struct zr_agent *agents;
86 struct zr_databaseInfo
89 Zr_langstr *description;
94 Zr_langstr *restrictions;
95 Zr_langstr *langUsage;
97 struct zr_agent *agents;
98 struct zr_implementation *implementation;
99 struct zr_link *links;
105 char *dateAggregated;
106 char *aggregatedFrom;
122 struct zr_attr *next;
131 struct zr_attr *attrs;
135 typedef struct zr_setting
140 struct zr_setting *next;
145 Zr_setting *defaultv;
147 Zr_setting *supports;
158 struct zr_configInfo *configInfo;
159 struct zr_index *next;
162 struct zr_sortKeyword
165 struct zr_sortKeyword *next;
171 struct zr_index *indexes;
172 struct zr_sortKeyword *sortKeywords;
173 struct zr_configInfo *configInfo;
181 struct zr_elementSet *next;
184 struct zr_recordSyntax
188 struct zr_elementSet *elementSets;
189 struct zr_recordSyntax *next;
194 struct zr_recordSyntax *recordSyntaxes;
205 struct zr_schema *next;
210 struct zr_schema *schemas;
215 struct zr_serverInfo *serverInfo;
216 struct zr_databaseInfo *databaseInfo;
217 struct zr_metaInfo *metaInfo;
218 struct zr_indexInfo *indexInfo;
219 struct zr_recordInfo *recordInfo;
220 struct zr_schemaInfo *schemaInfo;
221 struct zr_configInfo *configInfo;
224 struct zr_explain *zr_read_xml(NMEM m, xmlNode *n);
225 struct zr_explain *zr_read_file(NMEM m, const char *fn);
226 const char *zr_langstr(Zr_langstr *s, const char *lang);
231 * indent-tabs-mode: nil
233 * vim: shiftwidth=4 tabstop=8 expandtab