Added function prototypes.

This should make the ctypes calls of hidapi functions a bit safer by
ensuring all arguments are converted correctly.