summaryrefslogtreecommitdiff
path: root/dmioutput.h
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2020-04-01 09:51:57 +0200
committerJean Delvare <jdelvare@suse.de>2020-04-01 09:51:57 +0200
commitd37eed24b07da16719ce969f119b4c636e0e2d96 (patch)
tree62ee3906c564255cf53fe377fa01baad120c6630 /dmioutput.h
parent0c6f1819b5421166f55369bb33f538bf64805ff6 (diff)
downloaddmidecode-git-d37eed24b07da16719ce969f119b4c636e0e2d96.tar.gz
dmidecode: Add helper function pr_handle
Print the handle information through a helper function pr_handle. Signed-off-by: Jean Delvare <jdelvare@suse.de>
Diffstat (limited to 'dmioutput.h')
-rw-r--r--dmioutput.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dmioutput.h b/dmioutput.h
index 0dd8f08..6ef60f0 100644
--- a/dmioutput.h
+++ b/dmioutput.h
@@ -19,5 +19,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include "dmidecode.h"
+
void pr_comment(const char *format, ...);
void pr_info(const char *format, ...);
+void pr_handle(const struct dmi_header *h);