[Jean Delvare]
> Declare the output functions as function pointers, and assign the
> default plain text output functions to them at run time. In the
> future, alternative output formats can be added.

What about providing the set of functions as a struct instead of
assiging to a "static" set of pointers?  It allow for some extra
flexibility.

-- 
Happy hacking
Petter Reinholdtsen

_______________________________________________
https://lists.nongnu.org/mailman/listinfo/dmidecode-devel

Reply via email to