X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Foptions.h;h=2a71410db66d022db4e6e9096f913b605943cbd9;hb=37287b6049ca23d7fa8e84f532eefa7e35f66520;hp=554d4309058347d56530af5bfe90f7c638ead578;hpb=d9ee01635f03f9095a66f71b73580560d48798e8;p=yaz-moved-to-github.git diff --git a/include/yaz/options.h b/include/yaz/options.h index 554d430..2a71410 100644 --- a/include/yaz/options.h +++ b/include/yaz/options.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, Index Data. + * Copyright (C) 1995-2005, Index Data ApS * * Permission to use, copy, modify, distribute, and sell this software and * its documentation, in whole or in part, for any purpose, is hereby granted, @@ -23,54 +23,31 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. * - * $Log: options.h,v $ - * 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 - * New windows NT/95 port using MSV5.0. To export DLL functions the - * YAZ_EXPORT modifier was added. Defined in yconfig.h. - * - * Revision 1.5 1997/05/14 06:53:43 adam - * C++ support. - * - * Revision 1.4 1995/09/29 17:12:05 quinn - * Smallish - * - * Revision 1.3 1995/09/27 15:02:48 quinn - * Modified function heads & prototypes. - * - * Revision 1.2 1995/05/16 08:50:36 quinn - * License, documentation, and memory fixes - * - * Revision 1.1 1995/03/30 09:39:42 quinn - * Moved .h files to include directory - * - * Revision 1.1 1995/03/27 08:35:19 quinn - * Created util library - * Added memory debugging module. Imported options-manager - * - * Revision 1.2 1994/08/16 16:16:03 adam - * bfile header created. - * - * Revision 1.1 1994/08/16 16:04:35 adam - * Added header file options.h - * + * $Id: options.h,v 1.6 2005-06-25 15:46:03 adam Exp $ + */ + +/** + * \file options.h + * \brief Header for command line options parsing utilities */ #ifndef OPTIONS_H #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 - + +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +