hid_helpers.h

Go to the documentation of this file.
00001 #ifndef __INCLUDED_HID_HELPERS_H__
00002 #define __INCLUDED_HID_HELPERS_H__
00003 
00004 #ifndef HID_INTERNAL
00005 #  error "this file is only supposed to be used from within libhid."
00006 #endif /* HID_INTERNAL */
00007 
00008 #include <hid.h>
00009 
00010 hid_return hid_prepare_interface(HIDInterface* const hidif);
00011 
00012 hid_return hid_init_parser(HIDInterface* const hidif);
00013 void hid_reset_parser(HIDInterface* const hidif);
00014 hid_return hid_prepare_parser(HIDInterface* const hidif);
00015 hid_return hid_find_object(HIDInterface* const hidif,
00016     int const path[], unsigned int const depth);
00017 hid_return hid_get_report_size(HIDInterface* const hidif,
00018     unsigned int const reportID, unsigned int const reportType,
00019     unsigned int *size);
00020 hid_return hid_extract_value(HIDInterface* const hidif,
00021     unsigned char *const buffer, double *const value);
00022 hid_return hid_format_path(char* const buffer, unsigned int length,
00023     int const path[], unsigned int const depth);
00024 
00025 #endif /* __INCLUDED_HID_HELPERS_H__ */
00026 
00027 /* COPYRIGHT --
00028  *
00029  * This file is part of libhid, a user-space HID access library.
00030  * libhid is (c) 2003-2005
00031  *   Martin F. Krafft <libhid@pobox.madduck.net>
00032  *   Charles Lepple <clepple@ghz.cc>
00033  *   Arnaud Quette <arnaud.quette@free.fr> && <arnaud.quette@mgeups.com>
00034  * and distributed under the terms of the GNU General Public License.
00035  * See the file ./COPYING in the source distribution for more information.
00036  *
00037  * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
00038  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES
00039  * OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00040  */

Generated on Sun Mar 30 15:28:24 2008 for libhid by  doxygen 1.5.1