YetAnotherCoupler 3.5.2
Loading...
Searching...
No Matches
config_yaml.h
Go to the documentation of this file.
1// Copyright (c) 2024 The YAC Authors
2//
3// SPDX-License-Identifier: BSD-3-Clause
4
5#ifndef CONFIG_YAML_H
6#define CONFIG_YAML_H
7
8#include "couple_config.h"
9
10extern int const YAC_YAML_PARSER_DEFAULT;
11extern int const YAC_YAML_PARSER_JSON_AUTO;
13extern int const YAC_YAML_PARSER_JSON_FORCE;
14
25 struct yac_couple_config * couple_config, const char * yaml_filename,
26 int parse_flags);
27
39 struct yac_couple_config * couple_config, int emit_flags,
40 int include_definitions);
41
53 char const * interp_stack_config, int parse_flags);
54
55#endif /* CONFIG_YAML_H */
56
int const YAC_YAML_PARSER_JSON_AUTO
Definition config_yaml.c:66
char * yac_yaml_emit_coupling(struct yac_couple_config *couple_config, int emit_flags, int include_definitions)
void yac_yaml_read_coupling(struct yac_couple_config *couple_config, const char *yaml_filename, int parse_flags)
int const YAC_YAML_PARSER_DEFAULT
default parse flags (YAML format)
Definition config_yaml.c:65
int const YAC_YAML_PARSER_JSON_FORCE
assume JSON format
Definition config_yaml.c:67
struct yac_interp_stack_config * yac_yaml_parse_interp_stack_config_string(char const *interp_stack_config, int parse_flags)