diff options
| author | Burt P <pburt0@gmail.com> | 2018-10-24 01:48:53 -0500 | 
|---|---|---|
| committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2018-11-04 15:01:49 -0800 | 
| commit | 33eb4645cae0e57918e779d5892ebb7d14ffb485 (patch) | |
| tree | d5b857dd923d9c31dd7a0deb5f45dc344d095e12 /includes/report.h | |
| parent | b6b83055b3ec9f35b4192ea43b7aa5cd152f59aa (diff) | |
report: add "shell" report format
Just dumps the conf/keyfile-format output. Very useful for
development.
Try `hardinfo -s -w -r -f shell >shell_dump.txt`
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'includes/report.h')
| -rw-r--r-- | includes/report.h | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/includes/report.h b/includes/report.h index 931a536e..1c1bd420 100644 --- a/includes/report.h +++ b/includes/report.h @@ -24,6 +24,7 @@  typedef enum {      REPORT_FORMAT_HTML,      REPORT_FORMAT_TEXT, +    REPORT_FORMAT_SHELL,      N_REPORT_FORMAT  } ReportFormat; @@ -81,6 +82,7 @@ void		 report_dialog_show();  ReportContext	*report_context_html_new();  ReportContext	*report_context_text_new(); +ReportContext	*report_context_shell_new();  void		 report_header		(ReportContext *ctx);  void		 report_footer		(ReportContext *ctx); | 
