1 /*
2     Gpredict: Real-time satellite tracking and orbit prediction program
3 
4     Copyright (C)  2001-2009  Alexandru Csete, OZ9AEC.
5 
6     Authors: Alexandru Csete <oz9aec@gmail.com>
7 
8     Comments, questions and bugreports should be submitted via
9     http://sourceforge.net/projects/gpredict/
10     More details can be found at the project home page:
11 
12             http://gpredict.oz9aec.net/
13 
14     This program is free software; you can redistribute it and/or modify
15     it under the terms of the GNU General Public License as published by
16     the Free Software Foundation; either version 2 of the License, or
17     (at your option) any later version.
18 
19     This program is distributed in the hope that it will be useful,
20     but WITHOUT ANY WARRANTY; without even the implied warranty of
21     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22     GNU General Public License for more details.
23 
24     You should have received a copy of the GNU General Public License
25     along with this program; if not, visit http://www.fsf.org/
26 */
27 #ifndef MOD_CFG_GET_PARAM_H
28 #define MOD_CFG_GET_PARAM_H 1
29 
30 #include "sat-cfg.h"
31 
32 gboolean        mod_cfg_get_bool(GKeyFile * f, const gchar * sec,
33                                  const gchar * key, sat_cfg_bool_e p);
34 gint            mod_cfg_get_int(GKeyFile * f, const gchar * sec,
35                                 const gchar * key, sat_cfg_int_e p);
36 gchar          *mod_cfg_get_str(GKeyFile * f, const gchar * sec,
37                                 const gchar * key, sat_cfg_str_e p);
38 void            mod_cfg_get_integer_list_boolean(GKeyFile * cfgdata,
39                                                  const gchar * section,
40                                                  const gchar * key,
41                                                  GHashTable * dest);
42 void            mod_cfg_set_integer_list_boolean(GKeyFile * cfgdata,
43                                                  GHashTable * hash,
44                                                  const gchar * cfgsection,
45                                                  const gchar * cfgkey);
46 
47 #endif
48