summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2019-07-12 08:27:53 -0700
committerLeandro Pereira <leandro@hardinfo.org>2019-07-12 08:27:53 -0700
commit0ad42047da7b8a11a07e73a75f9f415362eec867 (patch)
tree878227d3ceb2459206a15262cc7ba85bba40ca27 /includes
parentdb94467dd8d6b1d946b02bb3b83fd5271b12aaa8 (diff)
Add functions to get a formatted link for a vendor
Diffstat (limited to 'includes')
-rw-r--r--includes/vendor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/vendor.h b/includes/vendor.h
index 1688010d..683e7d8a 100644
--- a/includes/vendor.h
+++ b/includes/vendor.h
@@ -35,6 +35,8 @@ const Vendor *vendor_match(const gchar *id_str, ...); /* end list of strings wit
const gchar *vendor_get_name(const gchar *id_str);
const gchar *vendor_get_shortest_name(const gchar *id_str);
const gchar *vendor_get_url(const gchar *id_str);
+gchar *vendor_get_link(const gchar *id_str);
+gchar *vendor_get_link_from_vendor(const Vendor *v);
void vendor_free(Vendor *v);
#endif /* __VENDOR_H__ */