Files
cdba/device_parser.h
Neil Armstrong 55902b7ba9 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-30 16:00:40 +01:00

14 lines
328 B
C

#ifndef __DEVICE_PARSER_H__
#define __DEVICE_PARSER_H__
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);
int device_parser(const char *path);
#endif