3ddeec58724a02882cb119f9a0b87b7c74a36ba3
[yaz-moved-to-github.git] / include / yaz / yaz-util.h
1 /* This file is part of the YAZ toolkit.
2  * Copyright (C) 1995-2010 Index Data.
3  * All rights reserved.
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions are met:
6  *
7  *     * Redistributions of source code must retain the above copyright
8  *       notice, this list of conditions and the following disclaimer.
9  *     * Redistributions in binary form must reproduce the above copyright
10  *       notice, this list of conditions and the following disclaimer in the
11  *       documentation and/or other materials provided with the distribution.
12  *     * Neither the name of Index Data nor the names of its contributors
13  *       may be used to endorse or promote products derived from this
14  *       software without specific prior written permission.
15  *
16  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY
17  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19  * DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
20  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26  */
27
28 /**
29  * \file yaz-util.h
30  * \brief Header for common YAZ utilities
31  */
32
33 #ifndef YAZ_UTIL_H
34 #define YAZ_UTIL_H
35
36 #include <yaz/yconfig.h>
37 #include <yaz/yaz-version.h>
38 #include <yaz/xmalloc.h>
39
40 #include <yaz/log.h>  
41
42 #include <yaz/tpath.h>
43 #include <yaz/options.h>
44 #include <yaz/wrbuf.h>
45 #include <yaz/nmem.h>
46 #include <yaz/readconf.h>
47 #include <yaz/marcdisp.h>
48 #include <yaz/yaz-iconv.h>
49 #include <yaz/matchstr.h>
50
51 /** \mainpage YAZ
52     \section intro_sec Introduction
53
54     For a general introduction to YAZ, read the
55     YAZ User's Guide and Reference at
56     http://www.indexdata.com/yaz/doc/
57     This is also located in the doc directory of the YAZ distribution.
58
59     The following sections is just a summary of the most important
60     header files and where they belong.
61     
62     \section utilities Utilies
63     Logging (syslog-like) utility \ref log.h .
64
65     Memory management for small blocks \ref nmem.h .
66
67     Write string buffer \ref wrbuf.h .
68
69     Options handling \ref options.h .
70
71     Character conversion \ref yaz-iconv.h .
72
73     MARC / MARCXML \ref marcdisp.h .
74
75     Testing framework: \ref test.h .
76
77     Record conversion: \ref record_conv.h .
78
79     Record retrieval: \ref retrieval.h .
80
81     Timing : \ref timing.h .
82
83     \section queryparsers Query parsers
84
85     PQF parsing: \ref pquery.h .
86
87     CCL parsing: \ref ccl.h .
88
89     CQL parsing and conversion: \ref cql.h .
90
91     Z39.50 sort: \ref sortspec.h .
92
93     \section ber BER handling
94     
95     BER utilities (ODR): \ref odr.h .
96
97     \section z3950 Z39.50
98
99     Z39.50 common header: \ref proto.h .
100     
101     Z39.50 core codecs: \ref z-core.h.
102
103     Z39.50 related formats:
104     \ref z-accdes1.h ,  \ref z-core.h ,   
105     \ref z-estask.h , \ref z-oclcui.h , \ref z-sum.h
106     \ref z-accform1.h , \ref z-date.h , 
107     \ref z-exp.h ,    \ref z-opac.h ,   \ref z-sutrs.h
108     \ref z-acckrb1.h ,  \ref z-diag1.h , 
109     \ref z-grs.h ,    \ref z-rrf1.h ,   \ref z-uifr1.h
110     \ref z-charneg.h ,  \ref z-espec1.h
111     \ref z-mterm2.h , \ref z-rrf2.h ,   \ref z-univ.h .
112
113     Z39.50 extended services:
114     \ref zes-admin.h , \ref zes-exps.h , \ref zes-pquery.h , 
115     \ref zes-pset.h , \ref zes-update.h ,
116     \ref zes-expi.h , \ref zes-order.h ,  \ref zes-psched.h , 
117     \ref zes-update0.h .
118
119     Z39.50 diagnostics: \ref diagbib1.h .
120
121     Z39.50 externals: \ref prt-ext.h .
122
123     \section GDU Generic Data Unit (HTTP and BER)
124     
125     Definitions for GDU and HTTP: \ref zgdu.h .
126
127     \section SRU SRU
128
129     SRU/SRW definitions: \ref srw.h .
130
131     SRW diagnostics: \ref diagsrw.h .
132     
133     \section ILL ILL
134
135     Common header: \ref ill.h .
136
137     Codecs: \ref ill-core.h
138
139     \section ZOOM ZOOM
140     
141     Common header: \ref zoom.h .
142
143     \section GFS Generic Frontend Server (GFS)
144     
145     Header: \ref backend.h .
146
147 */
148 #endif
149     
150 /*
151  * Local variables:
152  * c-basic-offset: 4
153  * c-file-style: "Stroustrup"
154  * indent-tabs-mode: nil
155  * End:
156  * vim: shiftwidth=4 tabstop=8 expandtab
157  */
158