Motr  M0
console_yaml.h File Reference
#include <yaml.h>
Include dependency graph for console_yaml.h:

Go to the source code of this file.

Data Structures

struct  m0_cons_yaml_info
 Keeps info for YAML parser. More...
 

Macros

#define __MOTR_CONSOLE_YAML_H__
 

Functions

M0_INTERNAL int m0_cons_yaml_init (const char *path)
 Inititalizes parser by opening given file. and also checks for error by getting root node. More...
 
M0_INTERNAL int m0_cons_yaml_set_value (const char *value, void *data)
 Search for specified string and get the respctive value form YAML file. (like "name : console") More...
 
M0_INTERNAL void * m0_cons_yaml_get_value (const char *value)
 Search for specified string and set the respctive value form YAML file. (like "name : console") More...
 
M0_INTERNAL void m0_cons_yaml_fini (void)
 Deletes the parser and closes the YAML file. More...
 

Variables

M0_EXTERN bool yaml_support
 

Macro Definition Documentation

◆ __MOTR_CONSOLE_YAML_H__

#define __MOTR_CONSOLE_YAML_H__

Definition at line 26 of file console_yaml.h.