| 
    Motr
    M0
    
   | 
 
Data Structures | |
| struct | m0_cons_yaml_info | 
| Keeps info for YAML parser.  More... | |
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 void | m0_cons_yaml_fini (void) | 
| Deletes the parser and closes the YAML file.  More... | |
| static yaml_node_t * | search_node (const char *name) | 
| 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 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... | |
Variables | |
| static struct m0_cons_yaml_info | yaml_info | 
| M0_INTERNAL bool | yaml_support | 
| M0_EXTERN bool | yaml_support | 
| M0_INTERNAL void m0_cons_yaml_fini | ( | void | ) | 
Deletes the parser and closes the YAML file.
Definition at line 147 of file console_yaml.c.

| 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")
| value | Search string (like name). | 
Definition at line 177 of file console_yaml.c.


| 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.
| path | YAML file path. | 
Definition at line 94 of file console_yaml.c.


| 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")
| value | Search string (like name). | 
| data | Respective data (like console). | 
Definition at line 183 of file console_yaml.c.

      
  | 
  static | 
Definition at line 155 of file console_yaml.c.


      
  | 
  static | 
Definition at line 90 of file console_yaml.c.
| M0_EXTERN bool yaml_support | 
enable/disable yaml support
Definition at line 40 of file console_yaml.h.
| M0_INTERNAL bool yaml_support | 
enable/disable yaml support
Definition at line 92 of file console_yaml.c.