aboutsummaryrefslogtreecommitdiff
path: root/includes/info.h
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2019-07-09 08:41:58 -0700
committerLeandro Pereira <leandro@hardinfo.org>2019-07-11 20:21:46 -0700
commit1eda8e66877dc3119c61fd48bb701594f6412195 (patch)
treed89a6e43514af5486fff765a5d32767a36d6d625 /includes/info.h
parent82b5142e2b9360eaf1826ab75a7cac388c6af3bf (diff)
Mark `tag' field in InfoField as a scaffolding element
Whenever every module is converted to struct Info, manually-specified tags will be useless.
Diffstat (limited to 'includes/info.h')
-rw-r--r--includes/info.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/info.h b/includes/info.h
index 5ccec9d5..b883adcf 100644
--- a/includes/info.h
+++ b/includes/info.h
@@ -52,7 +52,7 @@ struct InfoGroup {
GArray *fields;
- /* scaffolding fields */
+ /* scaffolding fields */
const gchar *computed;
};
@@ -60,7 +60,6 @@ struct InfoField {
const gchar *name;
const gchar *value;
const gchar *icon;
- gchar *tag; /* moreinfo() lookup tag */
int update_interval;
gboolean highlight; /* select in GUI, highlight in report (flag:*) */
@@ -68,6 +67,9 @@ struct InfoField {
gboolean free_name_on_flatten;
gboolean free_value_on_flatten;
+
+ /* scaffolding fields */
+ gchar *tag; /* moreinfo() lookup tag */
};
struct Info *info_new(void);