Parent: f82256202f73ab111e8586d75db1e0412f2120d6
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-10-01 19:51:54
Tree: 89c9248506633cdb40d8c3aeaba693f6d7ab70c6
mesh: Make mesh-config API more consistent This changes the prototypes for mesh_config_model_binding_add() and mesh_config_model_binding_del() to take the element's address as input parameter instead of the element's index. The change aligns the API with other functions that handle storage of model states.
Diffstat
| M | mesh/mesh-config-json.c | | | 34 | ++++++++++++++++++++++- - - - - - - - - - - - |
| M | mesh/mesh-config.h | | | 11 | ++++++- - - - - |
| M | mesh/model.c | | | 7 | ++- - - - - |
3 files changed, 30 insertions(+), 22 deletions(-)