[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [dmidecode] [PATCH] dmidecode: Prepare for alternative output format

From: Petter Reinholdtsen
Subject: Re: [dmidecode] [PATCH] dmidecode: Prepare for alternative output formats
Date: Tue, 07 Apr 2020 20:20:13 +0200

[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

Happy hacking
Petter Reinholdtsen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]