> > 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?
That dependency already exists -- we were trying to avoid libwladm having to call back into libdladm, right? I think the function pointer design would allow libdladm to not have direct knowledge of libwladm's properties; do_*prop() would just use the function pointers provided by libwladm to perform the operations. -- meem
