X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Foptions.h;h=1f3a804f51b4008bb1a881fc7ff8620aa534be0e;hb=c7dfadc3347abda902e15f79bfd513e1d48cfbba;hp=554d4309058347d56530af5bfe90f7c638ead578;hpb=d9ee01635f03f9095a66f71b73580560d48798e8;p=yaz-moved-to-github.git diff --git a/include/yaz/options.h b/include/yaz/options.h index 554d430..1f3a804 100644 --- a/include/yaz/options.h +++ b/include/yaz/options.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, Index Data. + * Copyright (c) 1995-2000, 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,10 @@ * OF THIS SOFTWARE. * * $Log: options.h,v $ - * Revision 1.1 1999-11-30 13:47:11 adam + * 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.6 1997/09/01 08:49:50 adam @@ -62,15 +65,11 @@ #define OPTIONS_H #include -#ifdef __cplusplus -extern "C" { -#endif +YAZ_BEGIN_CDECL YAZ_EXPORT int options (const char *desc, char **argv, int argc, char **arg); -#ifdef __cplusplus -} -#endif +YAZ_END_CDECL #endif