25 #ifndef __MOTR_CONSOLE_YAML_H__ 26 #define __MOTR_CONSOLE_YAML_H__ yaml_document_t cyi_document
int const char const void * value
M0_INTERNAL int m0_cons_yaml_init(const char *file_path)
Inititalizes parser by opening given file. and also checks for error by getting root node...
M0_EXTERN bool yaml_support
M0_INTERNAL void m0_cons_yaml_fini(void)
Deletes the parser and closes the YAML file.
yaml_node_t * cyi_current
M0_INTERNAL int m0_cons_yaml_set_value(const char *name, void *data)
Search for specified string and get the respctive value form YAML file. (like "name : console") ...
Keeps info for YAML parser.
M0_INTERNAL void * m0_cons_yaml_get_value(const char *name)
Search for specified string and set the respctive value form YAML file. (like "name : console") ...