From 259b92a30280cdec2b7798df3c14da596c417ef1 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Sat, 19 Jun 2010 12:10:27 +0200 Subject: Restructure mtdev api Split the api into plumbing and porcelain layers and move the plumbing part to its own optional header file. The main usecase is to fetch events from the device, route them through the converter and extract the processed events. To simplify the API, replace the intermediate mtdev_pull() function by the higher-level mtdev_get(). This function does all the required steps, and has the same semantics as read(). Signed-off-by: Henrik Rydberg --- src/common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h index 03bc7bd..57d47a0 100644 --- a/src/common.h +++ b/src/common.h @@ -30,6 +30,7 @@ #define COMMON_H #include +#include #include #include #include -- cgit v1.2.3