OSDN Git Service

Add a generic config parser for the INI file format.
authorSharvil Nanavati <sharvil@google.com>
Mon, 5 May 2014 04:33:52 +0000 (21:33 -0700)
committerSharvil Nanavati <sharvil@google.com>
Sat, 31 May 2014 03:41:46 +0000 (20:41 -0700)
commitf886773891f1cfe37f8824ed8e63230954e5c2d8
tree96c73bd7d8498ec47b091481060dcc6f8221d799
parent0212487880be33e255d49f6e38dbb035d1f77750
Add a generic config parser for the INI file format.

There are currently multiple INI parsers in bluedroid and they're
special-purpose for the task at hand even though they parse the
same format. This implementation is general-purpose, loosely coupled
with the rest of bluedroid, and has unit tests to verify behaviour.

Change-Id: I61caf416cc16d76b871cbf04f333c26894ab3fef
osi/Android.mk
osi/include/config.h [new file with mode: 0644]
osi/src/config.c [new file with mode: 0644]
osi/test/config_test.cpp [new file with mode: 0644]