record_conv: modify new API for conversion types
[yaz-moved-to-github.git] / include / yaz / yaz-util.h
1 /* This file is part of the YAZ toolkit.
2  * Copyright (C) 1995-2012 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     Locking: \ref mutex.h .
84
85     \section queryparsers Query parsers
86
87     PQF parsing: \ref pquery.h .
88
89     CCL parsing: \ref ccl.h .
90
91     CQL parsing and conversion: \ref cql.h .
92
93     Z39.50 sort: \ref sortspec.h .
94
95     \section ber BER handling
96     
97     BER utilities (ODR): \ref odr.h .
98
99     \section z3950 Z39.50
100
101     Z39.50 common header: \ref proto.h .
102     
103     Z39.50 core codecs: \ref z-core.h.
104
105     Z39.50 related formats:
106     \ref z-accdes1.h ,  \ref z-core.h ,   
107     \ref z-estask.h , \ref z-oclcui.h , \ref z-sum.h
108     \ref z-accform1.h , \ref z-date.h , 
109     \ref z-exp.h ,    \ref z-opac.h ,   \ref z-sutrs.h
110     \ref z-acckrb1.h ,  \ref z-diag1.h , 
111     \ref z-grs.h ,    \ref z-rrf1.h ,   \ref z-uifr1.h
112     \ref z-charneg.h ,  \ref z-espec1.h
113     \ref z-mterm2.h , \ref z-rrf2.h ,   \ref z-univ.h .
114
115     Z39.50 extended services:
116     \ref zes-admin.h , \ref zes-exps.h , \ref zes-pquery.h , 
117     \ref zes-pset.h , \ref zes-update.h ,
118     \ref zes-expi.h , \ref zes-order.h ,  \ref zes-psched.h , 
119     \ref zes-update0.h .
120
121     Z39.50 diagnostics: \ref diagbib1.h .
122
123     Z39.50 externals: \ref prt-ext.h .
124
125     \section GDU Generic Data Unit (HTTP and BER)
126     
127     Definitions for GDU and HTTP: \ref zgdu.h .
128
129     \section SRU SRU
130
131     SRU/SRW definitions: \ref srw.h .
132
133     SRW diagnostics: \ref diagsrw.h .
134     
135     \section ILL ILL
136
137     Common header: \ref ill.h .
138
139     Codecs: \ref ill-core.h
140
141     \section ZOOM ZOOM
142     
143     Common header: \ref zoom.h .
144
145     \section GFS Generic Frontend Server (GFS)
146     
147     Header: \ref backend.h .
148
149 */
150 #endif
151     
152 /*
153  * Local variables:
154  * c-basic-offset: 4
155  * c-file-style: "Stroustrup"
156  * indent-tabs-mode: nil
157  * End:
158  * vim: shiftwidth=4 tabstop=8 expandtab
159  */
160