YetAnotherCoupler 3.2.0_a
Loading...
Searching...
No Matches
Functions | Variables
config_yaml.h File Reference
#include "couple_config.h"
Include dependency graph for config_yaml.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void yac_yaml_read_coupling (struct yac_couple_config *couple_config, const char *yaml_filename, int parse_flags)
 
char * yac_yaml_emit_coupling (struct yac_couple_config *couple_config, int emit_flags)
 

Variables

int YAC_YAML_PARSER_DEFAULT
 default parse flags (YAML format)
 
int YAC_YAML_PARSER_JSON_AUTO
 
int YAC_YAML_PARSER_JSON_FORCE
 assume JSON format
 

Function Documentation

◆ yac_yaml_emit_coupling()

char * yac_yaml_emit_coupling ( struct yac_couple_config couple_config,
int  emit_flags 
)

Emit coupling configuration to string

Parameters
[in]couple_configcoupling configuration
[in]emit_flagsflags to be used for emitting the coupling configuration
Returns
string containing coupling configuration

Definition at line 2019 of file config_yaml.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_yaml_read_coupling()

void yac_yaml_read_coupling ( struct yac_couple_config couple_config,
const char *  yaml_filename,
int  parse_flags 
)

Reader for yaml while, which parses the given yaml file and adds the coupling from the file to the coupling configuration data

Parameters
[in,out]couple_configcoupling configuration data
[in]yaml_filenamename of yaml configuration file
[in]parse_flagsflags to be used for parsing the configuration file

Definition at line 1400 of file config_yaml.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ YAC_YAML_PARSER_DEFAULT

int YAC_YAML_PARSER_DEFAULT
extern

default parse flags (YAML format)

Definition at line 48 of file config_yaml.c.

◆ YAC_YAML_PARSER_JSON_AUTO

int YAC_YAML_PARSER_JSON_AUTO
extern

switch to JSON format, if indicated by file extension

Definition at line 49 of file config_yaml.c.

◆ YAC_YAML_PARSER_JSON_FORCE

int YAC_YAML_PARSER_JSON_FORCE
extern

assume JSON format

Definition at line 50 of file config_yaml.c.