hidparser.h

Go to the documentation of this file.
00001 
00023 /* -------------------------------------------------------------------------- */
00024 
00025 #ifndef HIDPARS_H
00026 #define HIDPARS_H
00027 
00028 
00029 #ifdef __cplusplus
00030 extern "C" {
00031 #endif /* __cplusplus */
00032 
00033 #include "hidtypes.h"
00034 
00035 /*
00036  * HIDParse
00037  * -------------------------------------------------------------------------- */
00038 int HIDParse(HIDParser* pParser, HIDData* pData);
00039 
00040 /*
00041  * ResetParser
00042  * -------------------------------------------------------------------------- */
00043 void ResetParser(HIDParser* pParser);
00044 
00045 /*
00046  * FindObject
00047  * -------------------------------------------------------------------------- */
00048 int FindObject(HIDParser* pParser, HIDData* pData);
00049 
00050 /*
00051  * GetValue
00052  * -------------------------------------------------------------------------- */
00053 void GetValue(const uchar* Buf, HIDData* pData);
00054 
00055 /*
00056  * SetValue
00057  * -------------------------------------------------------------------------- */
00058 void SetValue(const HIDData* pData, uchar* Buf);
00059 
00060 /*
00061  * GetReportOffset
00062  * -------------------------------------------------------------------------- */
00063 uchar* GetReportOffset(HIDParser* pParser, const uchar ReportID,
00064                        const uchar ReportType);
00065 
00066 #ifdef __cplusplus
00067 } /* extern "C" */
00068 #endif /* __cplusplus */
00069 
00070 #endif

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