Parent: 3ee0672f52a0dd5549b815f54f8fb0b78059767e
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-12-10 19:57:11
Tree: 03efecdf2df679ff442141e283138940b81f773b
mesh: Clean up node.c This change makes the node initialization a bit easier to follow. Replace if-else with switch when processing request type, descriptive function names, more predictable code flow.
Diffstat
| M | mesh/model.c | | | 17 | ++- - - - - - - - - - - - - - - |
| M | mesh/model.h | | | 4 | +- - - |
| M | mesh/node.c | | | 331 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
3 files changed, 171 insertions(+), 181 deletions(-)