Peter Memishian wrote:
>  > I thought about this, but I am not sure how this is going to work. 
>  > Specifically, when the registration is done and who initiate the 
> registration?
>  > 
>  > Maybe I am missing something.
> 
> When libdladm is loaded[1], it could call a new function in libwladm to
> get the list of properties libwladm supports along with function pointers
> to call to set/get/check them and whatnot.  

But does this already requires libdladm to call into libwladm, which already 
introduce the dependency?

- Cathy

> I'd need to work through the
> code a bit to know if it's preferable to introducing a third library.
> 
> [1] e.g. via #pragma init -- see uu_init() in libuutil for an example.
> 


Reply via email to