diff --git a/src/parser.c b/src/parser.c index 936167cc28153bc6364139f23d19bba01c288949..b332e31b536158d7aedb55ce7018abb6d127693d 100644 --- a/src/parser.c +++ b/src/parser.c @@ -254,6 +254,14 @@ void parser_print_params(struct swift_params *params) { } +/** + * @brief Write the contents of the parameter structure to a file in YAML format. + * + * @param params Structure that holds the parameters + * @param file_name Name of file to be written + * + */ + void parser_write_params_to_file(struct swift_params *params, const char *file_name) { FILE *file = fopen(file_name, "w");