Hi Damjan,

In the example you mentioned where bar_init() is trying to find if foo_plugin 
is really loaded or not.
If foo_plugin is found to be not loaded, a warning is printed and returning a 0.

But this does not gaurantee that bar_init() is called once again after a while, 
isnt it ?
So, in this case, where we want to call bar_init() only after the foo_plugin is 
loaded, how we can achieve this.

The real use case of this would be for example is: "ACL as a service" 
framework, where ACL plugin is needed to be loaded, before any plugin 
subscribes to this ACL-plugin service.
Any inputs on this please.

--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13210): https://lists.fd.io/g/vpp-dev/message/13210
Mute This Topic: https://lists.fd.io/mt/10642182/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to