xref: /onnv-gate/usr/src/cmd/hal/hald/ids.h (revision 2912:85ea316d9c18)
1*2912Sartem /***************************************************************************
2*2912Sartem  * CVSID: $Id$
3*2912Sartem  *
4*2912Sartem  * ids.h : Lookup names from hardware identifiers
5*2912Sartem  *
6*2912Sartem  * Copyright (C) 2004 David Zeuthen, <david@fubar.dk>
7*2912Sartem  *
8*2912Sartem  * Licensed under the Academic Free License version 2.1
9*2912Sartem  *
10*2912Sartem  * This program is free software; you can redistribute it and/or modify
11*2912Sartem  * it under the terms of the GNU General Public License as published by
12*2912Sartem  * the Free Software Foundation; either version 2 of the License, or
13*2912Sartem  * (at your option) any later version.
14*2912Sartem  *
15*2912Sartem  * This program is distributed in the hope that it will be useful,
16*2912Sartem  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*2912Sartem  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*2912Sartem  * GNU General Public License for more details.
19*2912Sartem  *
20*2912Sartem  * You should have received a copy of the GNU General Public License
21*2912Sartem  * along with this program; if not, write to the Free Software
22*2912Sartem  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
23*2912Sartem  *
24*2912Sartem  **************************************************************************/
25*2912Sartem 
26*2912Sartem #ifndef IDS_H
27*2912Sartem #define IDS_H
28*2912Sartem 
29*2912Sartem #include <glib.h>
30*2912Sartem 
31*2912Sartem void ids_init (void);
32*2912Sartem 
33*2912Sartem void
34*2912Sartem ids_find_pci (int vendor_id, int product_id,
35*2912Sartem 	      int subsys_vendor_id, int subsys_product_id,
36*2912Sartem 	      char **vendor_name, char **product_name,
37*2912Sartem 	      char **subsys_vendor_name, char **subsys_product_name);
38*2912Sartem 
39*2912Sartem void
40*2912Sartem ids_find_usb (int vendor_id, int product_id,
41*2912Sartem 	      char **vendor_name, char **product_name);
42*2912Sartem 
43*2912Sartem void
44*2912Sartem ids_find_pnp (const char *pnp_id, char **pnp_description);
45*2912Sartem 
46*2912Sartem 
47*2912Sartem #endif /* IDS_H */
48