ts_conf_get3
Get a pointer to struct ts_module_conf holding data from the tslib_conffile file.
Usage
#include <tslib.h> struct ts_module_conf *ts_conf_get(struct tsdev *ts);
Overview
ts_conf_get() This function returns a pointer to a struct ts_module_conf that is part of a list of modules listed in the TSLIB_CONFFILE configuration file. ts_conf_get() actually reads TSLIB_CONFFILE. One struct represents one line in the file. They get allocated for the user here:
struct ts_module_conf {
char *name;
char *params;
int raw;
int nr;
struct ts_module_conf *next;
struct ts_module_conf *prev;
};
Return value
This function returns a pointer to a struct ts_module_conf.
Releases
Unchanged in 4 releases since Debian 11 (Bullseye).