X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fmarcdisp.h;h=13b41b5e9284c976a1b8acd0888f6382adeead4e;hb=c5f9b67c889e65446bcbf727bef3705229c3fd7f;hp=9d120e3e2908e0d8b26a9e6568ddde0c518d7744;hpb=d9ee01635f03f9095a66f71b73580560d48798e8;p=yaz-moved-to-github.git diff --git a/include/yaz/marcdisp.h b/include/yaz/marcdisp.h index 9d120e3..13b41b5 100644 --- a/include/yaz/marcdisp.h +++ b/include/yaz/marcdisp.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, Index Data. + * Copyright (c) 1995-2001, Index Data. * * Permission to use, copy, modify, distribute, and sell this software and * its documentation, in whole or in part, for any purpose, is hereby granted, @@ -24,7 +24,13 @@ * OF THIS SOFTWARE. * * $Log: marcdisp.h,v $ - * Revision 1.1 1999-11-30 13:47:11 adam + * Revision 1.3 2001-04-06 12:26:46 adam + * Optional CCL module. Moved atoi_n to marcdisp.h from yaz-util.h. + * + * Revision 1.2 2000/02/28 11:20:06 adam + * Using autoconf. New definitions: YAZ_BEGIN_CDECL/YAZ_END_CDECL. + * + * Revision 1.1 1999/11/30 13:47:11 adam * Improved installation. Moved header files to include/yaz. * * Revision 1.8 1997/09/24 13:35:45 adam @@ -59,19 +65,16 @@ #include -#ifdef __cplusplus -extern "C" { -#endif +YAZ_BEGIN_CDECL YAZ_EXPORT int marc_display (const char *buf, FILE *outf); YAZ_EXPORT int marc_display_ex (const char *buf, FILE *outf, int debug); +YAZ_EXPORT int atoi_n (const char *buf, int len); #define ISO2709_RS 035 #define ISO2709_FS 036 #define ISO2709_IDFS 037 -#ifdef __cplusplus -} -#endif +YAZ_END_CDECL #endif