Debian Codegraph @

common/settings_proc.h

raw symbols SCIP
1 /* Copyright 2012 Kjetil S. Matheussen
2
3 This program is free software; you can redistribute it and/or
4 modify it under the terms of the GNU General Public License
5 as published by the Free Software Foundation; either version 2
6 of the License, or (at your option) any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12
13 You should have received a copy of the GNU General Public License
14 along with this program; if not, write to the Free Software
15 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
16
17
18 #ifndef SETTINGS_PROC_H
19 #define SETTINGS_PROC_H
20
21 extern LANGSPEC bool SETTINGS_read_bool(const char *key, bool def);
22 extern LANGSPEC int64_t SETTINGS_read_int(const char *key, int64_t def);
23 extern LANGSPEC double SETTINGS_read_double(const char *key, double def);
24 extern LANGSPEC const char *SETTINGS_read_string(const char *key, const char *def);
25 extern LANGSPEC void SETTINGS_write_bool(const char *key, bool val);
26 extern LANGSPEC void SETTINGS_write_int(const char *key, int64_t val);
27 extern LANGSPEC void SETTINGS_write_double(const char *key, double val);
28 extern LANGSPEC void SETTINGS_write_string(const char *key, const char *val);
29
30 extern LANGSPEC void SETTINGS_set_custom_configfile(const char *filename);
31 extern LANGSPEC void SETTINGS_unset_custom_configfile(void);
32
33 #endif