aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/vendor.h
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2006-06-21 00:45:20 +0000
committerLeandro A. F. Pereira <leandro@hardinfo.org>2006-06-21 00:45:20 +0000
commit179894d3dc9511c2a6d9d74e0af812e5378b3a42 (patch)
treea494717a1602388b3af6f80c1ed2e1959328eeb7 /hardinfo2/vendor.h
parent9f4da1891acbb7ae581285a9cd55171b10459de1 (diff)
Show vendor full name and URL in USB, storage and PCI device info
Diffstat (limited to 'hardinfo2/vendor.h')
-rw-r--r--hardinfo2/vendor.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/hardinfo2/vendor.h b/hardinfo2/vendor.h
new file mode 100644
index 00000000..7c6d8efd
--- /dev/null
+++ b/hardinfo2/vendor.h
@@ -0,0 +1,33 @@
+/*
+ * HardInfo - Displays System Information
+ * Copyright (C) 2003-2006 Leandro A. F. Pereira <leandro@linuxmag.com.br>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, version 2.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef __VENDOR_H__
+#define __VENDOR_H__
+
+typedef struct _Vendor Vendor;
+struct _Vendor {
+ char *id;
+ char *name;
+ char *url;
+};
+
+const gchar *vendor_get_name(const gchar *id);
+const gchar *vendor_get_url(const gchar *id);
+
+
+#endif /* __VENDOR_H__ */