From: "Anton Moiseev" <benderamp@gmail.com>
To: "ALT Linux Community general discussions" <community@lists.altlinux.org>
Subject: Re: [Comm] Библиотека для парсинга конфигурационных файлов
Date: Thu, 10 Apr 2008 16:06:11 +0400
Message-ID: <9aa228cf0804100506va470f15ied7e7fce64e3aa84@mail.gmail.com> (raw)
In-Reply-To: <9aa228cf0804100454n443c4c4aud0c5687b77bcf2df@mail.gmail.com>
2008/4/10 Anton Moiseev <benderamp@gmail.com>:
> 2008/4/10 Andrew Borodin <borodin@zarya-k.ru>:
>
> > On Thu, Apr 10, 2008 at 02:16:22PM +0300, spider wrote:
> > > Подскажите библиотечку на c (не с++), которую можно использовать для
> > > разбора простых конфигурационных файлов, устанавливающих связи
> > > параметр-значение.
> >
> > GLib
> >
> > http://linfoline.homedns.org/glib/glib-Key-value-file-parser.html
> >
> > --
> >
> > С уважением,
> > А. Бородин.
>
> Сам недавно искал - libConfuse (http://www.nongnu.org/confuse/)
> лучшее, что видел
>
Вот еще вдогонку - мой пример для libconfuse:
Файл конфигурации:
http://romdigger.svn.sourceforge.net/viewvc/romdigger/etc/romdigger.conf?view=markup
И код, который его читает:
http://romdigger.svn.sourceforge.net/viewvc/romdigger/romdigger_settings.c?view=markup
next prev parent reply other threads:[~2008-04-10 12:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-10 11:16 spider
2008-04-10 11:30 ` Andrew Borodin
2008-04-10 11:54 ` Anton Moiseev
2008-04-10 12:06 ` Anton Moiseev [this message]
2008-04-10 17:44 ` Yura Kalinichenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9aa228cf0804100506va470f15ied7e7fce64e3aa84@mail.gmail.com \
--to=benderamp@gmail.com \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git