#define MAXREPORTLEN 256
#define MAXREPORTS 256
+typedef struct { int len; uint8_t *msg; } Last;
+typedef struct { Last lasts[MAXREPORTS]; } LastReports;
typedef void ProcessReport(const uint8_t *msg, int msglen, const uint8_t *last);
extern const char *const descriptor;
void reportlocs(const uint8_t msg[], const uint8_t last[],
int len, const ValLoc locs[]);
+void dispatch(LastReports *lasts, const char *message_prefix,
+ ProcessReport *const report_processors[MAXREPORTS],
+ const uint8_t *msg, int l);
+
#endif /*HIDRAWCONV_H*/