Safe Haskell | None |
---|
Functions to acquire a database from http://www.usb.org.
Parsing
parseDb :: String -> Maybe IDDBSource
Construct a database from a string in the format used by usb.org.
Acquiring a database
Load a database from a snapshot of the usb.org database which is supplied with the package.
fromFile :: FilePath -> IO (Maybe IDDB)Source
Load a vendor database from file. If the file can not be read for some reason an error will be thrown.
http://www.usb.org/developers/tools/comp_dump
The source of the database. Download this file for the most up-to-date version.