annotate libaudacious/configdb.h @ 764:e675740173ca trunk

[svn] - sanity checks for mpg123_decode_header
author nenolod
date Wed, 01 Mar 2006 09:37:37 -0800
parents cb178e5ad177
children 5cf8de9f2c28
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
1 #ifndef CONFIGDB_H
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
2 #define CONFIGDB_H
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
3
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
4 #include <glib.h>
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
5
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
6
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
7 typedef struct _ConfigDb ConfigDb;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
8
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
9
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
10 G_BEGIN_DECLS
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
11
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
12 ConfigDb *bmp_cfg_db_open();
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
13 void bmp_cfg_db_close(ConfigDb *db);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
14
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
15 gboolean bmp_cfg_db_get_string(ConfigDb *db,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
16 const gchar *section,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
17 const gchar *key,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
18 gchar **value);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
19 gboolean bmp_cfg_db_get_int(ConfigDb *db,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
20 const gchar *section,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
21 const gchar *key,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
22 gint *value);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
23 gboolean bmp_cfg_db_get_bool(ConfigDb *db,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
24 const gchar *section,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
25 const gchar *key,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
26 gboolean *value);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
27 gboolean bmp_cfg_db_get_float(ConfigDb *db,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
28 const gchar *section,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
29 const gchar *key,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
30 gfloat *value);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
31 gboolean bmp_cfg_db_get_double(ConfigDb *db,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
32 const gchar *section,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
33 const gchar *key,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
34 gdouble *value);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
35
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
36 void bmp_cfg_db_set_string(ConfigDb *db,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
37 const gchar *section,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
38 const gchar *key,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
39 gchar *value);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
40 void bmp_cfg_db_set_int(ConfigDb *db,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
41 const gchar *section,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
42 const gchar *key,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
43 gint value);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
44 void bmp_cfg_db_set_bool(ConfigDb *db,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
45 const gchar *section,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
46 const gchar *key,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
47 gboolean value);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
48 void bmp_cfg_db_set_float(ConfigDb *db,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
49 const gchar *section,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
50 const gchar *key,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
51 gfloat value);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
52 void bmp_cfg_db_set_double(ConfigDb *db,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
53 const gchar *section,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
54 const gchar *key,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
55 gdouble value);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
56
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
57 void bmp_cfg_db_unset_key(ConfigDb *db,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
58 const gchar *section,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
59 const gchar *key);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
60
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
61 G_END_DECLS
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
62
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
63 #endif // CONFIGDB_H
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
64