learning libusb

view full story

http://www.linuxquestions.org – Hi all, I'm trying to learn how to use USB from c code. Rather trying kernel stuff I thought I'd ( after some searching ) use libusb. So I searched for documenatation, unfortunatly I came across two sets of documents etch with it's own API :s ? http://libusb.sourceforge.net/api-1.0/group__lib.html and http://libusb.sourceforge.net/doc/functions.html for example one inits with libusb_init (libusb_context **context) the other uses void usb_init(void); Can anyone tell me which is right? Also can anyone point me to useful tutorials for these , I've google and found a few but don't know h (HowTos)