aboutsummaryrefslogtreecommitdiff
path: root/includes/shell.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/shell.h')
-rw-r--r--includes/shell.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/shell.h b/includes/shell.h
index e73dae49..b70b963e 100644
--- a/includes/shell.h
+++ b/includes/shell.h
@@ -223,18 +223,20 @@ void shell_set_remote_label(Shell *shell, gchar *label);
* key syntax:
* [$[<flags>][<tag>]$]<name>[#[<dis>]]
* flags:
- * [[!][*]]
+ * [[!][*][^]]
* ! = show details (moreinfo) in reports
* * = highlight/select this row
+ * ^ = value is/has a vendor string
*/
gboolean key_is_flagged(const gchar *key); /* has $[<flags>][<tag>]$ at the start of the key */
gboolean key_is_highlighted(const gchar *key); /* flag '*' = select/highlight */
gboolean key_wants_details(const gchar *key); /* flag '!' = report should include the "moreinfo" */
+gboolean key_value_has_vendor_string(const gchar *key); /* flag '^' = try and match the value to a vendor */
gchar *key_mi_tag(const gchar *key); /* moreinfo lookup tag */
const gchar *key_get_name(const gchar *key); /* get the key's name, flagged or not */
/*
* example for key = "$*!Foo$Bar#7":
- * flags = "$*!Foo$" // key_is/wants_*() still works on flags
+ * flags = "$*!^Foo$" // key_is/wants_*() still works on flags
* tag = "Foo" // the moreinfo/icon tag
* name = "Bar#7" // the full unique name
* label = "Bar" // the label displayed