- Restructure plugin module using a "module struct" rather than global variables.
This include plugin module init and exit functions New type: clixon_plugin_t exposed via public API while struct clixon_plugin is private - Makefile changes for static linkage using "LINKAGE=static" - Moved nacm external init to later stage in backend_main
This commit is contained in:
parent
7ebb538ebf
commit
b88722fa25
29 changed files with 557 additions and 345 deletions
|
|
@ -2130,7 +2130,10 @@ ys_populate_unknown(clicon_handle h,
|
|||
return -1;
|
||||
}
|
||||
#endif
|
||||
/* Make extension callbacks that may alter yang structure */
|
||||
/* Make extension callbacks that may alter yang structure
|
||||
* Note: this may be a "layering" violation: assuming plugins are loaded
|
||||
* at yang parse time
|
||||
*/
|
||||
if (clixon_plugin_extension_all(h, yext, ys) < 0)
|
||||
goto done;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue