diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2020-05-14 21:18:26 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2020-05-28 19:22:54 -0300 |
| commit | 1abe6c535e89f8b445c7d5808bc7972a6b60236d (patch) | |
| tree | 7f93f6698f82931248b6628a407a3a2ceb704df0 /lib/yang.c | |
| parent | 0e10aeeb1821729d24871e12d867d6037ebf6012 (diff) | |
lib: detect and log unexpected return values from northbound callbacks
Each northbound callback has a set of valid return values, some of
which might depend on the transaction phase. The valid return values
for each callback are documented in the northbound main header.
Add some code to detect when a callback returns an unexpected value
and log the occurrence. This should help us to identify and fix
such problems.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/yang.c')
0 files changed, 0 insertions, 0 deletions
