diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-02-22 06:54:18 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-02-24 23:00:49 +0100 |
commit | 4558f140f3b499a05b1ec21af6c175d5d2864a86 (patch) | |
tree | 488f0760feae53495438ea97441443d8a28d6687 /names.h | |
parent | 483dae9022b4d4571e018791e84218912dedc407 (diff) | |
download | ldetect-4558f140f3b499a05b1ec21af6c175d5d2864a86.tar ldetect-4558f140f3b499a05b1ec21af6c175d5d2864a86.tar.gz ldetect-4558f140f3b499a05b1ec21af6c175d5d2864a86.tar.bz2 ldetect-4558f140f3b499a05b1ec21af6c175d5d2864a86.tar.xz ldetect-4558f140f3b499a05b1ec21af6c175d5d2864a86.zip |
port to hwdb + drop dependency on usb.ids
aka sync with usbutils-008
Diffstat (limited to 'names.h')
-rw-r--r-- | names.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -46,8 +46,10 @@ extern const char *names_countrycode(unsigned int countrycode); extern int get_vendor_string(char *buf, size_t size, u_int16_t vid); extern int get_product_string(char *buf, size_t size, u_int16_t vid, u_int16_t pid); +extern int get_class_string(char *buf, size_t size, u_int8_t cls); +extern int get_subclass_string(char *buf, size_t size, u_int8_t cls, u_int8_t subcls); -extern int names_init(char *n); +extern int names_init(void); extern void names_exit(void); /* ---------------------------------------------------------------------- */ |