4 #include <libxslt/xslt.h>
5 #include <libxslt/transform.h>
6 #include <libxslt/xsltutils.h>
8 // Describes known metadata elements and how they are to be manipulated
11 char *name; // The name of this element. Output by normalization stylesheet
12 int brief; // Is this element to be returned in the brief format?
13 int termlist;// Is this field to be treated as a termlist for browsing?
14 int rank; // Rank factor. 0 means don't use this field for ranking, 1 is default
15 // values >1 give additional significance to a field
18 Metadata_type_generic, // Generic text field
19 Metadata_type_integer, // Integer type
20 Metadata_type_year // A year
24 Metadata_sortkey_no, // This is not to be used as a sortkey
25 Metadata_sortkey_numeric, // Standard numerical sorting
26 Metadata_sortkey_range, // Range sorting (pick lowest or highest)
27 Metadata_sortkey_skiparticle, // Skip leading article when sorting
28 Metadata_sortkey_string
32 Metadata_merge_no, // Don't merge
33 Metadata_merge_unique, // Include unique elements in merged block
34 Metadata_merge_longest, // Include the longest (strlen) value
35 Metadata_merge_range, // Store value as a range of lowest-highest
36 Metadata_merge_all // Just include all elements found
43 struct conf_metadata *metadata;
52 struct conf_service *service;
53 struct conf_server *next;
56 struct conf_queryprofile
61 struct conf_retrievalmap
68 xsltStylesheet *stylesheet;
69 struct conf_retrievalmap *next;
72 struct conf_retrievalprofile
83 char *native_encoding;
87 Nativemapto_marcxchange
90 struct conf_retrievalmap *maplist;
91 struct conf_retrievalprofile *next;
96 struct conf_server *servers;
97 struct conf_queryprofile *queryprofiles;
98 struct conf_retrievalprofile *retrievalprofiles;
101 #ifndef CONFIG_NOEXTERNS
103 extern struct conf_config *config;
107 int read_config(const char *fname);
114 * indent-tabs-mode: nil
116 * vim: shiftwidth=4 tabstop=8 expandtab