Using autoconf. New definitions: YAZ_BEGIN_CDECL/YAZ_END_CDECL.
[yaz-moved-to-github.git] / include / yaz / yaz-util.h
1 /*
2  * Copyright (c) 1995-2000, Index Data.
3  * See the file LICENSE for details.
4  * Sebastian Hammer, Adam Dickmeiss
5  *
6  * $Log: yaz-util.h,v $
7  * Revision 1.2  2000-02-28 11:20:06  adam
8  * Using autoconf. New definitions: YAZ_BEGIN_CDECL/YAZ_END_CDECL.
9  *
10  * Revision 1.1  1999/11/30 13:47:11  adam
11  * Improved installation. Moved header files to include/yaz.
12  *
13  * Revision 1.6  1997/10/27 13:52:46  adam
14  * Header yaz-util includes all YAZ utility header files.
15  *
16  * Revision 1.5  1997/09/04 07:58:36  adam
17  * Added prototype for atoi_n.
18  *
19  * Revision 1.4  1997/09/01 08:49:54  adam
20  * New windows NT/95 port using MSV5.0. To export DLL functions the
21  * YAZ_EXPORT modifier was added. Defined in yconfig.h.
22  *
23  * Revision 1.3  1997/05/14 06:53:54  adam
24  * C++ support.
25  *
26  * Revision 1.2  1996/02/20 17:58:09  adam
27  * Added const to yaz_matchstr.
28  *
29  * Revision 1.1  1996/02/20  16:32:49  quinn
30  * Created util file.
31  */
32
33 #ifndef YAZ_UTIL_H
34 #define YAZ_UTIL_H
35
36 #include <yaz/yconfig.h>
37 #include <yaz/xmalloc.h>
38 #include <yaz/log.h>
39 #include <yaz/tpath.h>
40 #include <yaz/options.h>
41 #include <yaz/wrbuf.h>
42 #include <yaz/nmem.h>
43 #include <yaz/readconf.h>
44
45 YAZ_BEGIN_CDECL
46
47 YAZ_EXPORT int yaz_matchstr(const char *s1, const char *s2);
48 YAZ_EXPORT int atoi_n (const char *buf, int len);
49
50 YAZ_END_CDECL
51
52 #endif