|
ekg2
GIT master
|
#include "ekg2.h"#include <glib/gstdio.h>#include <sys/types.h>#include <unistd.h>#include <stdlib.h>#include <stdarg.h>#include <string.h>#include "internal.h"
Funkcje | |
| static char * | strip_quotes (char *line) |
| void | config_postread () |
| gboolean | ekg_fprintf (GOutputStream *f, const gchar *format,...) |
| static GObject * | config_open_real (const gchar *path, const gchar *mode) |
| static const char * | prepare_old_path (const char *filename) |
| GObject * | config_open (const gchar *path_format, const gchar *mode,...) |
| gboolean | config_commit (void) |
| int | config_read_plugins () |
| int | config_read (const gchar *plugin_name) |
| static void | config_write_variable (GOutputStream *f, variable_t *v) |
| static void | config_write_plugins (GOutputStream *f) |
| static void | config_write_main (GOutputStream *f) |
| void | config_write () |
| int | config_write_partly (plugin_t *plugin, const char **vars) |
| void | debug_write_crash () |
Zmienne | |
| static GPtrArray * | config_openfiles = NULL |
| static GCancellable * | config_cancellable = NULL |
| gboolean config_commit | ( | void | ) |
Close all configuration files open for writing, and commit changes to them if written successfully. Otherwise, just leave old files intact.
| GObject* config_open | ( | const gchar * | path_format, |
| const gchar * | mode, | ||
| ... | |||
| ) |
Open a configuration file, formatting the name if necessary. Choose correct location and file encoding.
| path_format | - format string for file name. Should be utf8-encoded. |
| mode | - string mode for opening the file (r or w). |
|
static |
| void config_postread | ( | ) |
| int config_read | ( | const gchar * | plugin_name | ) |
| int config_read_plugins | ( | ) |
| void config_write | ( | ) |
|
static |
| int config_write_partly | ( | plugin_t * | plugin, |
| const char ** | vars | ||
| ) |
|
static |
|
static |
| void debug_write_crash | ( | ) |
| gboolean ekg_fprintf | ( | GOutputStream * | f, |
| const gchar * | format, | ||
| ... | |||
| ) |
Output formatted string to a GOutputStream.
| f | - writable GOutputStream. |
| format | - the format string. |
|
static |
|
static |
|
static |
|
static |
1.8.13