1TS_CONF_GET(3) tslib TS_CONF_GET(3)
2
3
4
6 ts_conf_get - get a pointer to struct ts_module_conf holding data from
7 the TSLIB_CONFFILE file.
8
10 #include <tslib.h>
11
12 struct ts_module_conf *ts_conf_get(struct tsdev *ts);
13
14
15
17 ts_conf_get() This function returns a pointer to a struct ts_mod‐
18 ule_conf that is part of a list of modules listed in the TSLIB_CONFFILE
19 configuration file. ts_conf_get() actually reads TSLIB_CONFFILE. One
20 struct represents one line in the file. They get allocated for the
21 user here:
22
23 struct ts_module_conf {
24 char *name;
25 char *params;
26 int raw;
27 int nr;
28
29 struct ts_module_conf *next;
30 struct ts_module_conf *prev;
31 };
32
33
35 This function returns a pointer to a struct ts_module_conf.
36
37
39 ts_conf_set(3), ts.conf(5)
40
41
42
43 TS_CONF_GET(3)