#ifndef __INCLUDED_HID_HELPERS_H__
#define __INCLUDED_HID_HELPERS_H__
#ifndef HID_INTERNAL
# error "this file is only supposed to be used from within libhid."
#endif /* HID_INTERNAL */
#include <hid.h>
hid_return hid_prepare_interface(HIDInterface* const hidif);
hid_return hid_init_parser(HIDInterface* const hidif);
void hid_reset_parser(HIDInterface* const hidif);
hid_return hid_prepare_parser(HIDInterface* const hidif);
hid_return hid_find_object(HIDInterface* const hidif,
int const path[], unsigned int const depth);
hid_return hid_get_report_size(HIDInterface* const hidif,
unsigned int const reportID, unsigned int const reportType,
unsigned int *size);
hid_return hid_extract_value(HIDInterface* const hidif,
unsigned char *const buffer, double *const value);
hid_return hid_format_path(char* const buffer, unsigned int length,
int const path[], unsigned int const depth);
#endif /* __INCLUDED_HID_HELPERS_H__ */
/* COPYRIGHT --
*
* This file is part of libhid, a user-space HID access library.
* libhid is (c) 2003-2005
* Martin F. Krafft <libhid@pobox.madduck.net>
* Charles Lepple <clepple@ghz.cc>
* Arnaud Quette <arnaud.quette@free.fr> && <arnaud.quette@mgeups.com>
* and distributed under the terms of the GNU General Public License.
* See the file ./COPYING in the source distribution for more information.
*
* THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES
* OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
syntax highlighted by Code2HTML, v. 0.9.1