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@platon.sk> | * Developed by Ondrej Jombik <nepto@platon.sk> | |||
* and Lubomir Host <rajo@platon.sk> | * and Lubomir Host <rajo@platon.sk> | |||
* Copyright (c) 2001-2003 Platon SDG, http://www.platon.sk/ | * Copyright (c) 2001-2004 Platon SDG, http://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://platon.sk/projects/libcfg+/ | |||
*/ | */ | |||
/* $Platon: libcfg+/src/cfg+.h,v 1.57 2003/02/17 17:12:07 nepto Exp $ */ | /* $Platon: libcfg+/src/cfg+.h,v 1.60 2004/01/12 06:03:08 nepto Exp $ */ | |||
/** | /** | |||
* @file cfg+.h | * @file cfg+.h | |||
* @brief main implementation header file | * @brief main implementation header file | |||
* @author Ondrej Jombik <nepto@platon.sk> | * @author Ondrej Jombik <nepto@platon.sk> | |||
* @author Lubomir Host <rajo@platon.sk> | * @author Lubomir Host <rajo@platon.sk> | |||
* @version \$Platon: libcfg+/src/cfg+.h,v 1.57 2003/02/17 17:12:07 nept | * @version \$Platon: libcfg+/src/cfg+.h,v 1.60 2004/01/12 06:03:08 nept | |||
o Exp $ | o Exp $ | |||
* @date 2001-2003 | * @date 2001-2004 | |||
*/ | */ | |||
#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 144 | skipping to change at line 144 | |||
/** Skip processing of the first argument on command line. */ | /** Skip processing of the first argument on command line. */ | |||
CFG_SKIP_FIRST = 4, | CFG_SKIP_FIRST = 4, | |||
/** Posixly correct leftover arguments. */ | /** Posixly correct leftover arguments. */ | |||
CFG_POSIXLY_LEFTOVERS = 0, | CFG_POSIXLY_LEFTOVERS = 0, | |||
/** Advanced leftover arguments. */ | /** Advanced leftover arguments. */ | |||
CFG_ADVANCED_LEFTOVERS = 8, | CFG_ADVANCED_LEFTOVERS = 8, | |||
/** Normal leftover arguments initialization in file. */ | /** Normal leftover arguments initialization in file. | |||
This flag is not used and it is kept from historical reasons. */ | ||||
CFG_NORMAL_LEFTOVERS = 0, | CFG_NORMAL_LEFTOVERS = 0, | |||
/** Strict leftover arguments initialization in file. */ | /** Strict leftover arguments initialization in file. | |||
This flag is not used and it is kept from historical reasons. */ | ||||
CFG_STRICT_LEFTOVERS = 16, | CFG_STRICT_LEFTOVERS = 16, | |||
/** Byte type position usage in file. */ | /** Byte type position usage in file. */ | |||
CFG_FILE_BYTE_POS_USAGE = 0, | CFG_FILE_BYTE_POS_USAGE = 0, | |||
/** Line type position usage in file. */ | /** Line type position usage in file. */ | |||
CFG_FILE_LINE_POS_USAGE = 32 | CFG_FILE_LINE_POS_USAGE = 32 | |||
/* Ignore all quotations in options arguments. */ | /* Ignore all quotations in options arguments. */ | |||
/* | /* | |||
End of changes. 6 change blocks. | ||||
8 lines changed or deleted | 10 lines changed or added | |||