On 10/03/12 23:15, Joe Hershberger wrote: > This allows you to read ini-formatted data from anywhere and then > import one of the sections into the environment > > This is based on rev 16 at http://code.google.com/p/inih/ > > Signed-off-by: Joe Hershberger <joe.hershber...@ni.com> > --- > Changes in v2: > - Documented in README > - Made all functions static > - Changed if statments to ternary operator selected parameters > - Return any errors from ini_parse() to the shell > > README | 1 + > common/Makefile | 1 + > common/cmd_ini.c | 247 > +++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 249 insertions(+) > create mode 100644 common/cmd_ini.c
[...] > diff --git a/common/cmd_ini.c b/common/cmd_ini.c > new file mode 100644 > index 0000000..652e4f6 > --- /dev/null > +++ b/common/cmd_ini.c > @@ -0,0 +1,247 @@ > +/* > + * inih -- simple .INI file parser > + * > + * inih is released under the New BSD license (see LICENSE.txt). Go to the > + * project home page for more info: > + * > + * http://code.google.com/p/inih/ Hmmm, I'm wondering, is it the appropriate license for U-Boot code? [...] -- Regards, Igor. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot