Go to the source code of this file.
Data Structures | |
struct | channel_config |
Configuration for a particular channel. More... | |
struct | tcp_server_config |
TCP/IP server configuration. More... | |
struct | network_config |
Network configuration. More... | |
struct | log_file_config |
Log file configuration. More... | |
struct | allow_rule |
Allowed user/password combination for SOCKS. More... | |
struct | listener_config |
Configuration for a single listener. More... | |
struct | ctrlproxy_config |
Configuration. More... | |
struct | ctrlproxy_config::auto_away_config |
Auto-away configuration. More... | |
Defines | |
#define | DEFAULT_CLIENT_CHARSET NULL |
Functions | |
G_MODULE_EXPORT struct network_config * | network_config_init (struct ctrlproxy_config *cfg) |
G_MODULE_EXPORT void | save_configuration (struct ctrlproxy_config *cfg, const char *name) |
Save configuration to a configuration directory. | |
G_MODULE_EXPORT struct ctrlproxy_config * | load_configuration (const char *dir) |
G_MODULE_EXPORT struct ctrlproxy_config * | init_configuration (void) |
G_MODULE_EXPORT void | free_config (struct ctrlproxy_config *) |
G_MODULE_EXPORT void | setup_configdir (const char *dir) |
G_MODULE_EXPORT gboolean | g_key_file_save_to_file (GKeyFile *kf, const gchar *file, GError **error) |
G_MODULE_EXPORT void | config_del_network (struct ctrlproxy_config *cfg, const char *name) |
G_MODULE_EXPORT void save_configuration | ( | struct ctrlproxy_config * | cfg, | |
const char * | configuration_dir | |||
) |
Save configuration to a configuration directory.
cfg | The configuration to save. | |
configuration_dir | Directory to save to. |