summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Eduardo Lima (Etrunko) [Mon, 16 Sep 2013 19:47:25 +0000 (16:47 -0300)]
Fix config_section initialization order
Also set the full 'path' for section id, in order to ease section discovery
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Eduardo Lima (Etrunko) [Mon, 16 Sep 2013 17:43:51 +0000 (14:43 -0300)]
Add accessor for key id
Also fix implementations of wkb_config_key_set and wkb_config_key_get.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Eduardo Lima (Etrunko) [Thu, 12 Sep 2013 19:35:22 +0000 (16:35 -0300)]
Introduce struct _config_key
With this new struct we simplify the config_section implementation
and remove from it the responsibility for setting/getting values.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
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>