Группа :: Система/Библиотеки
Пакет: inih
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Текущая версия: 57-alt1
Время сборки: 11 июля 2023, 11:05 ( 42.4 недели назад )
Размер архива: 20.64 Kb
Домашняя страница: https://github.com/benhoyt/inih
Лицензия: BSD
О пакете: Simple .INI file parser in C, good for embedded systems
Описание:
Список всех майнтейнеров, принимавших участие
в данной и/или предыдущих сборках пакета: Список rpm-пакетов, предоставляемый данным srpm-пакетом:
ACL:
Время сборки: 11 июля 2023, 11:05 ( 42.4 недели назад )
Размер архива: 20.64 Kb
Домашняя страница: https://github.com/benhoyt/inih
Лицензия: BSD
О пакете: Simple .INI file parser in C, good for embedded systems
Описание:
inih (INI Not Invented Here) is a simple .INI file parser written in C. It's only a couple of pages of code, and it was designed to be small and simple, so it's good for embedded systems. It's also more or less compatible with Python's ConfigParser style of .INI files, including RFC 822-style multi-line syntax and name: value entries.
To use it, just give ini_parse() an INI file, and it will call a callback for every name=value pair parsed, giving you strings for the section, name, and value. It's done this way ("SAX style") because it works well on low-memory embedded systems, but also because it makes for a KISS implementation.
You can also call ini_parse_file() to parse directly from a FILE* object, ini_parse_string() to parse data from a string, or ini_parse_stream() to parse using a custom fgets-style reader function for custom I/O.
Текущий майнтейнер: Nazarov Denis To use it, just give ini_parse() an INI file, and it will call a callback for every name=value pair parsed, giving you strings for the section, name, and value. It's done this way ("SAX style") because it works well on low-memory embedded systems, but also because it makes for a KISS implementation.
You can also call ini_parse_file() to parse directly from a FILE* object, ini_parse_string() to parse data from a string, or ini_parse_stream() to parse using a custom fgets-style reader function for custom I/O.
Список всех майнтейнеров, принимавших участие
в данной и/или предыдущих сборках пакета: Список rpm-пакетов, предоставляемый данным srpm-пакетом:
- libinih-devel
- libinih0
- libinih0-debuginfo