ekg2  GIT master
configfile.h
Idź do dokumentacji tego pliku.
1 /* $Id$ */
2 
3 /*
4  * (C) Copyright 2001-2003 Wojtek Kaniewski <wojtekka@irc.pl>
5  * Robert J. Woźny <speedy@ziew.org>
6  * Paweł Maziarz <drg@go2.pl>
7  * Dawid Jarosz <dawjar@poczta.onet.pl>
8  * Piotr Domagalski <szalik@szalik.net>
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License Version 2 as
12  * published by the Free Software Foundation.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22  */
23 
24 #ifndef __EKG_CONFIGFILE_H
25 #define __EKG_CONFIGFILE_H
26 
27 #ifndef EKG2_WIN32_NOFUNCTION
28 
29 #include "plugins.h"
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 void config_postread();
36 gboolean ekg_fprintf(GOutputStream *f, const gchar *format, ...)
37  G_GNUC_PRINTF(2, 3);
38 GObject *config_open(const gchar *path_format, const gchar *mode, ...)
39  G_GNUC_PRINTF(1, 3);
40 gboolean config_commit(void);
41 
42 int config_read(const gchar *plugin_name);
44 void config_write();
45 int config_write_partly(plugin_t *plugin, const char **vars);
46 void debug_write_crash();
47 
48 #ifdef __cplusplus
49 }
50 #endif
51 
52 #endif
53 
54 #endif /* __EKG_CONFIGFILE_H */
55 
56 /*
57  * Local Variables:
58  * mode: c
59  * c-file-style: "k&r"
60  * c-basic-offset: 8
61  * indent-tabs-mode: t
62  * End:
63  */
Definition: ekg_hash_benchmark.c:47
Definition: plugins.h:76
gboolean ekg_fprintf(GOutputStream *f, const gchar *format,...) G_GNUC_PRINTF(2
gboolean GObject * config_open(const gchar *path_format, const gchar *mode,...) G_GNUC_PRINTF(1
int config_write_partly(plugin_t *plugin, const char **vars)
Definition: configfile.c:743
gboolean GObject gboolean config_commit(void)
Definition: configfile.c:362
int config_read_plugins()
Definition: configfile.c:384
int config_read(const gchar *plugin_name)
Definition: configfile.c:422
void config_postread()
Definition: configfile.c:59
void config_write()
Definition: configfile.c:689
void debug_write_crash()
Definition: configfile.c:843