cfg+.h | cfg+.h | |||
---|---|---|---|---|
/* | /* | |||
* libcfg+ - precise command line & config file parsing library | * libcfg+ - precise command line & config file parsing library | |||
* | * | |||
* cfg+.h - main implementation header file | * cfg+.h - main implementation header file | |||
* ____________________________________________________________ | * ____________________________________________________________ | |||
* | * | |||
* Developed by Ondrej Jombik <nepto@pobox.sk> | * Developed by Ondrej Jombik <nepto@platon.sk> | |||
* and Lubomir Host <rajo@host.sk> | * and Lubomir Host <rajo@platon.sk> | |||
* Copyright (c) 2001-2002 Platon SDG, http://www.platon.sk/ | * Copyright (c) 2001-2003 Platon SDG, http://www.platon.sk/ | |||
* All rights reserved. | * All rights reserved. | |||
* | * | |||
* See README file for more information about this software. | * See README file for more information about this software. | |||
* See COPYING file for license information. | * See COPYING file for license information. | |||
* | * | |||
* Download the latest version from | * Download the latest version from | |||
* http://www.platon.sk/projects/libcfg+/ | * http://www.platon.sk/projects/libcfg+/ | |||
*/ | */ | |||
/* $Platon: libcfg+/src/cfg+.h,v 1.54 2002/10/07 10:54:44 rajo Exp $ */ | /* $Platon: libcfg+/src/cfg+.h,v 1.57 2003/02/17 17:12:07 nepto Exp $ */ | |||
/** | /** | |||
* @file cfg+.h | * @file cfg+.h | |||
* @brief main implementation header file | * @brief main implementation header file | |||
* @author Ondrej Jombik <nepto@pobox.sk> | * @author Ondrej Jombik <nepto@platon.sk> | |||
* @author Lubomir Host <rajo@host.sk> | * @author Lubomir Host <rajo@platon.sk> | |||
* @version \$Platon: libcfg+/src/cfg+.h,v 1.54 2002/10/07 10:54:44 rajo | * @version \$Platon: libcfg+/src/cfg+.h,v 1.57 2003/02/17 17:12:07 nept | |||
Exp $ | o Exp $ | |||
* @date 2001-2002 | * @date 2001-2003 | |||
*/ | */ | |||
#ifndef _PLATON_CFG_H | #ifndef _PLATON_CFG_H | |||
#define _PLATON_CFG_H | #define _PLATON_CFG_H | |||
#include <stdio.h> | #include <stdio.h> | |||
/** End of options list marker */ | /** End of options list marker */ | |||
#define CFG_END_OPTION { NULL, '\0', NULL, CFG_END, NULL, 0 } | #define CFG_END_OPTION { NULL, '\0', NULL, CFG_END, NULL, 0 } | |||
#define CFG_END_OF_LIST CFG_END_OPTION /**< Alias for @ref CFG_END_OPTION * / | #define CFG_END_OF_LIST CFG_END_OPTION /**< Alias for @ref CFG_END_OPTION * / | |||
skipping to change at line 255 | skipping to change at line 255 | |||
/** | /** | |||
* @name Property codes | * @name Property codes | |||
*/ | */ | |||
/*@{*/ | /*@{*/ | |||
/** Array of strings which forces to stop command line parsing. | /** Array of strings which forces to stop command line parsing. | |||
By default it is empty. */ | By default it is empty. */ | |||
CFG_LINE_STOP_STRING = 0, | CFG_LINE_STOP_STRING = 0, | |||
/** Command line short option prefix. | /** Command line short option prefix. | |||
By default is "-" initilized. */ | By default is "-" initialized. */ | |||
CFG_LINE_SHORT_OPTION_PREFIX = 1, | CFG_LINE_SHORT_OPTION_PREFIX = 1, | |||
/** Command line long option prefix. | /** Command line long option prefix. | |||
By default is "--" iitialized. */ | By default is "--" initialized. */ | |||
CFG_LINE_LONG_OPTION_PREFIX = 2, | CFG_LINE_LONG_OPTION_PREFIX = 2, | |||
/** Command line option argument separator. | /** Command line option argument separator. | |||
By default is "=" initialized. */ | By default is "=" initialized. */ | |||
CFG_LINE_OPTION_ARG_SEPARATOR = 3, | CFG_LINE_OPTION_ARG_SEPARATOR = 3, | |||
/** Command line multi values separator. | /** Command line multi values separator. | |||
By default are "," and ";" initialized. */ | By default are "," and ";" initialized. */ | |||
CFG_LINE_NORMAL_MULTI_VALS_SEPARATOR = 4, | CFG_LINE_NORMAL_MULTI_VALS_SEPARATOR = 4, | |||
End of changes. 5 change blocks. | ||||
11 lines changed or deleted | 11 lines changed or added | |||