From 179894d3dc9511c2a6d9d74e0af812e5378b3a42 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Wed, 21 Jun 2006 00:45:20 +0000 Subject: Show vendor full name and URL in USB, storage and PCI device info --- hardinfo2/vendor.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 hardinfo2/vendor.h (limited to 'hardinfo2/vendor.h') 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 + * + * 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__ */ -- cgit v1.2.3