On Mon, 2009-12-14 at 18:55 -0800, Dan Mick wrote: > Jon Aimone wrote: > > I just can't seem to find any public header file available to non-ON > > developers that mentions those functions... > > Those functions are not public. (If they were, they should be listed > in libdevinfo(3LIB).) As it is, I see they're defined as static, so > certainly > not intended to be used outside libdevinfo. I don't see any wrapper that > encapsulates their functionality in any externally-visible symbol either.
If the functionality is needed outside ON, ON should provide an interface. Promoting these functions (or one with equivalent functionality) to a public interface makes a lot more sense than having the installer team hack up something fragile because the function isn't public. - Bill