Logo
Explore Help
Sign In
linuxmsm/cdba
0
0
Fork 0
You've already forked cdba
mirror of https://github.com/linux-msm/cdba.git synced 2026-02-25 13:11:56 -08:00
Code Issues Packages Projects Releases Wiki Activity
Files
87fbc38286cbb7a615edcc7f12ed06e84b5f0e4e
cdba/device_parser.h

14 lines
328 B
C
Raw Normal View History

device-parser: Replace hard coded list Instead of requiring a compiled in list of devices read them from a yaml file. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-03-12 17:12:02 -07:00
#ifndef __DEVICE_PARSER_H__
#define __DEVICE_PARSER_H__
Export device_parser struct and functions Export the functions and struct to enable devices to parse yaml aswell via the parse_options op to be stored in the device control_options device property. Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
2023-10-24 10:34:16 +02:00
struct device_parser;
int device_parser_accept(struct device_parser *dp, int type,
char *scalar, size_t scalar_len);
bool device_parser_expect(struct device_parser *dp, int type,
char *scalar, size_t scalar_len);
device_parser: Fall back to read /etc/cdba After attempting to read .cdba, fall back to read /etc/cdba - to make it possible to provide system wide configuration for a multiple users. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2020-06-29 00:02:16 -07:00
int device_parser(const char *path);
device-parser: Replace hard coded list Instead of requiring a compiled in list of devices read them from a yaml file. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-03-12 17:12:02 -07:00
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Page: 51ms Template: 4ms
English
English
Licenses API