I need a C function or an Objective C class (for MacOS X) that will accept mounted volume path (or at least BSD disk name) as an argument, and
if it is a USB device mounted, then it should return Manufacturer, Product, Serial Number strings (like USB Prober from DevTools does).
So, in pseudocode:
GetManufacturerString("/Volumes/TSONIC") => "Transcend"
GetProductString("/Volumes/TSONIC") => "[url removed, login to view] 610 "
GetSerialNumber("/Volumes/TSONIC") => "FFFFFFFFFFFFFF" (fake serial)
Project should be delivered as a XCode 2.4 project, compilable to both ppc and x86 (so, ready for compiling into an Universal Binary).
Third-party libraries are acceptable, but it should be discussed before completing project. Any Standard MacOS X framework is certainly allowed (like IOKit).