X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz-util.h;h=ba4971b1edd44d3cd26eef4c95371eff0f087763;hb=53b093ecc1472f537c11a5392831740eeb3753e5;hp=94ef3a1e4a53fc553482cceb0c7d31a7e46c1aac;hpb=de40d7c17747988ed4c53e51e45cbb790a3abd7b;p=yaz-moved-to-github.git diff --git a/include/yaz-util.h b/include/yaz-util.h index 94ef3a1..ba4971b 100644 --- a/include/yaz-util.h +++ b/include/yaz-util.h @@ -4,7 +4,20 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: yaz-util.h,v $ - * Revision 1.1 1996-02-20 16:32:49 quinn + * Revision 1.5 1997-09-04 07:58:36 adam + * Added prototype for atoi_n. + * + * Revision 1.4 1997/09/01 08:49:54 adam + * New windows NT/95 port using MSV5.0. To export DLL functions the + * YAZ_EXPORT modifier was added. Defined in yconfig.h. + * + * Revision 1.3 1997/05/14 06:53:54 adam + * C++ support. + * + * Revision 1.2 1996/02/20 17:58:09 adam + * Added const to yaz_matchstr. + * + * Revision 1.1 1996/02/20 16:32:49 quinn * Created util file. * * @@ -13,6 +26,17 @@ #ifndef YAZ_UTIL_H #define YAZ_UTIL_H -int yaz_matchstr(char *s1, char *s2); +#include + +#ifdef __cplusplus +extern "C" { +#endif + +YAZ_EXPORT int yaz_matchstr(const char *s1, const char *s2); +YAZ_EXPORT int atoi_n (const char *buf, int len); + +#ifdef __cplusplus +} +#endif #endif