summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Eduardo Lima (Etrunko) [Tue, 10 Sep 2013 23:22:36 +0000 (20:22 -0300)]
Improve config_section base implementation
- New macro _config_section_init to reduce code duplication.
- New 'subsection' member of _config_section struct to keep track of
hierarchy between sections. It is now necessary to pass the parent
section as argument to the _new and _section_init functions.
- We are now able to free all subsections and the actual struct on the
base implementation, simplifying the specific implementations and
saving some lines of code.
- The same apply for the _set_defaults function, which is called for all
subsections on the base implementation.
- Protect against the case of specialized config_section implementation not
providing the function in question.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Eduardo Lima (Etrunko) [Thu, 19 Sep 2013 19:30:55 +0000 (16:30 -0300)]
Make use of -Wno-unused-parameter
Also fix usage of -Wextra
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Eduardo Lima (Etrunko) [Wed, 18 Sep 2013 18:30:56 +0000 (15:30 -0300)]
Add dist-bzip2 to AM_INIT_AUTOMAKE
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Eduardo Lima (Etrunko) [Fri, 16 Aug 2013 20:08:23 +0000 (17:08 -0300)]
Initial commit
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>