diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2020-08-19 20:33:40 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2020-08-20 11:53:46 -0300 |
| commit | 24ed137c2059bf2e1ec16a46f2b9482dd09579a7 (patch) | |
| tree | ab3b0fb1b5fc99a676b7cec89cfb743ff851f903 /lib/yang.h | |
| parent | be8d09f1255f10b49501001d4f39c86fa26154ab (diff) | |
lib: adapt plugin to use new Sysrepo version
Sysrepo recently underwent a complete rewrite, where some substantial
architectural changes were made (the most important one being the
extinction of the sysrepod daemon). While most of the existing API
was preserved, quite a few backward-incompatible changes [1] were
introduced (mostly simplifications). This commit adapts our sysrepo
northbound plugin to those API changes in order for it to be compatible
with the latest Sysrepo version.
Additional notes:
* The old Sysrepo version is EOL and not supported anymore.
* The new Sysrepo version requires libyang 1.x.
Closes #6936
[1] https://github.com/sysrepo/sysrepo/blob/devel/CHANGES
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/yang.h')
| -rw-r--r-- | lib/yang.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/yang.h b/lib/yang.h index cc048c44e8..94bbed233d 100644 --- a/lib/yang.h +++ b/lib/yang.h @@ -63,6 +63,7 @@ struct yang_module { #endif #ifdef HAVE_SYSREPO sr_subscription_ctx_t *sr_subscription; + struct thread *sr_thread; #endif }; RB_HEAD(yang_modules, yang_module); |
