upload tizen2.0 source
[framework/system/usbutils.git] / names.h
1 /*****************************************************************************/
2
3 /*
4  *      names.h  --  USB name database manipulation routines
5  *
6  *      Copyright (C) 1999, 2000  Thomas Sailer (sailer@ife.ee.ethz.ch)
7  *
8  *      This program is free software; you can redistribute it and/or modify
9  *      it under the terms of the GNU General Public License as published by
10  *      the Free Software Foundation; either version 2 of the License, or
11  *      (at your option) any later version.
12  *
13  *      This program is distributed in the hope that it will be useful,
14  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  *      GNU General Public License for more details.
17  *
18  *      You should have received a copy of the GNU General Public License
19  *      along with this program; if not, write to the Free Software
20  *      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21  *
22  *
23  */
24
25 /*****************************************************************************/
26
27 #ifndef _NAMES_H
28 #define _NAMES_H
29
30 #include <sys/types.h>
31
32 /* ---------------------------------------------------------------------- */
33
34 extern const char *names_vendor(u_int16_t vendorid);
35 extern const char *names_product(u_int16_t vendorid, u_int16_t productid);
36 extern const char *names_class(u_int8_t classid);
37 extern const char *names_subclass(u_int8_t classid, u_int8_t subclassid);
38 extern const char *names_protocol(u_int8_t classid, u_int8_t subclassid, u_int8_t protocolid);
39 extern const char *names_audioterminal(u_int16_t termt);
40 extern const char *names_videoterminal(u_int16_t termt);
41 extern const char *names_hid(u_int8_t hidd);
42 extern const char *names_reporttag(u_int8_t rt);
43 extern const char *names_huts(unsigned int data);
44 extern const char *names_hutus(unsigned int data);
45 extern const char *names_langid(u_int16_t langid);
46 extern const char *names_physdes(u_int8_t ph);
47 extern const char *names_bias(u_int8_t b);
48 extern const char *names_countrycode(unsigned int countrycode);
49 extern int names_init(char *n);
50
51 /* ---------------------------------------------------------------------- */
52 #endif /* _NAMES_H */