summaryrefslogtreecommitdiff
path: root/src/mtouch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mtouch.c')
-rw-r--r--src/mtouch.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/mtouch.c b/src/mtouch.c
new file mode 100644
index 0000000..2d05921
--- /dev/null
+++ b/src/mtouch.c
@@ -0,0 +1,22 @@
1#include "mtouch.h"
2#include <errno.h>
3
4/******************************************************/
5
6int configure_mtouch(struct MTouch *mt, int fd)
7{
8 int rc = read_capabilities(&mt->caps, fd);
9 if (rc < 0)
10 return rc;
11 output_capabilities(&mt->caps);
12 return 0;
13}
14
15/******************************************************/
16
17int init_mtouch(struct MTouch *mt)
18{
19 return 0;
20}
21
22/******************************************************/