From 7e317d016823fa511dd2cf20827543b3375ac377 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 14 Mar 2005 17:20:45 +0000 Subject: libify and simplify --- libldetect.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libldetect.h') diff --git a/libldetect.h b/libldetect.h index 9146f27..c70bf5a 100644 --- a/libldetect.h +++ b/libldetect.h @@ -1,3 +1,6 @@ +#ifndef LIBLDETECT +#define LIBLDETECT + /******************************************************************************/ /* pciusb *********************************************************************/ /******************************************************************************/ @@ -30,6 +33,7 @@ extern void pciusb_free(struct pciusb_entries *entries); /******************************************************************************/ extern struct pciusb_entries pci_probe(void); extern const char *pci_class2text(unsigned long class_); +extern char *proc_pci_path; /******************************************************************************/ /* usb ************************************************************************/ @@ -44,6 +48,8 @@ struct usb_class_text { extern struct usb_class_text usb_class2text(unsigned long class_); +extern char *proc_usb_path; + /******************************************************************************/ /* dmi ************************************************************************/ /******************************************************************************/ @@ -58,3 +64,6 @@ struct dmi_entries { extern struct dmi_entries dmi_probe(void); extern void dmi_entries_free(struct dmi_entries entries); +extern char *dmidecode_file; + +#endif -- cgit v1.2.1