Parent: ffdd4f5817b4f555f98e170bf1312afeb1a15041
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-12-24 20:38:34
Tree: dedb77445519726cf0708c78ec43793e005dcbc8
mesh: Base config json code on newer version of json-c This removes a roundabout logic that was required to delete a json entry from a json array using libjsonc utilities. A new API function, json_object_array_del_idx(), implemented in json-c version 0.13 simplifies array entry removal to one call. Also, add requirement to configure.ac for json-c version >= 0.13
Diffstat
| M | configure.ac | | | 4 | ++- - |
| M | mesh/mesh-config-json.c | | | 126 | +++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | tools/mesh/mesh-db.c | | | 42 | +++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
3 files changed, 34 insertions(+), 138 deletions(-)