main
config.h
1/*
2 Copyright 2013 Michael Pavone
3 This file is part of BlastEm.
4 BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text.
5*/
6#ifndef CONFIG_H_
7#define CONFIG_H_
8#include "tern.h"
9
10tern_node *parse_config_file(char *config_path);
11tern_node *parse_bundled_config(char *config_name);
12tern_node *load_overrideable_config(char *name, char *bundled_name);
13tern_node *load_config();
14char *serialize_config(tern_node *config, uint32_t *size_out);
15uint8_t serialize_config_file(tern_node *config, char *path);
16void persist_config_at(tern_node *config, char *fname);
17void persist_config(tern_node *config);
18char **get_extension_list(tern_node *config, uint32_t *num_exts_out);
19uint32_t get_lowpass_cutoff(tern_node *config);
20
21#endif //CONFIG_H_
22