Diff for libcfg+/src/shared.c between version 1.10 and 1.11
| version 1.10, 2002/04/19 18:23:52 |
version 1.11, 2002/04/21 10:08:40 |
|
|
| /* |
/* |
| * libcfg - precise command line & config file parsing library |
* libcfg+ - precise command line & config file parsing library |
| * |
* |
| * shared.c - shared stuff for command line and config file |
* shared.c - shared stuff for command line and config file |
| * ___________________________________________________________ |
* ____________________________________________________________ |
| * |
* |
| * Developed by Ondrej Jombik <nepto@pobox.sk> |
* Developed by Ondrej Jombik <nepto@pobox.sk> |
| * Copyright (c) 2001-2002 Platon software development group |
* Copyright (c) 2001-2002 Platon SDG, http://www.platon.sk/ |
| * All rights reserved. |
* All rights reserved. |
| * |
* |
| * See README file for more informations about this software. |
* See README file for more information about this software. |
| * See COPYING file for license informations. |
* 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+/ |
| */ |
*/ |
| |
|
| |
/* $Id$ */ |
| |
|
| #include "config.h" |
#include "config.h" |
| |
|
| #if STDC_HEADERS |
#if STDC_HEADERS |
|
|
| #include "str/strplus.h" |
#include "str/strplus.h" |
| #include "str/strdyn.h" |
#include "str/strdyn.h" |
| |
|
| #include "cfg.h" |
#include "cfg+.h" |
| |
|
| static int search_cur_opt_idx(const CFG_CONTEXT con); |
static int search_cur_opt_idx(const CFG_CONTEXT con); |
| static int add_to_used_opt_idx(const CFG_CONTEXT con, int opt_idx); |
static int add_to_used_opt_idx(const CFG_CONTEXT con, int opt_idx); |
Platon Group <platon@platon.org> http://platon.org/
|
|