Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
This is to reflect the change on the previous commit.
Change-Id: I46199f4f67440660ccedfd7ab507da6b8345d3d4
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Also change the various implementations to comply with it.
Change-Id: I669731d992c1b2f77e83c58708821b364810120f
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Change-Id: Iddfe3bc5cccd46087d0d78834b3320b0d49c8df2
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Used to free a reference of the config_eet object, which is initialized
in the register function so it can be used by our IBusConfig interface
implementation.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Also fix config_key_string_set
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Also add two helper functions for returning the section and key according
to the parameters
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Also set the full 'path' for section id, in order to ease section discovery
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Also fix implementations of wkb_config_key_set and wkb_config_key_get.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
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>
|
|
- 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>
|
|
Also fix usage of -Wextra
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|