Lines Matching refs:system_file

157 	gchar *system_file;  member
351 conf->priv->system_file = NULL; in gda_config_init()
597 (is_system && !unique_instance->priv->system_file)) { in save_config_file()
652 else if (is_system && unique_instance->priv->system_file) { in save_config_file()
653 if (xmlSaveFormatFile (unique_instance->priv->system_file, doc, TRUE) == -1) in save_config_file()
654 … gda_log_error ("Error saving config data to '%s'", unique_instance->priv->system_file); in save_config_file()
791 unique_instance->priv->system_file = gda_gbr_get_file_path (GDA_ETC_DIR, in gda_config_constructor()
794 if (unique_instance->priv->system_file) { in gda_config_constructor()
798 … file = fopen (unique_instance->priv->system_file, "a"); /* Flawfinder: ignore */ in gda_config_constructor()
805 if (stat (unique_instance->priv->system_file, &stbuf) == 0) { in gda_config_constructor()
837 if (unique_instance->priv->system_file) { in gda_config_constructor()
839 gf = g_file_new_for_path (unique_instance->priv->system_file); in gda_config_constructor()
848 if (unique_instance->priv->system_file) in gda_config_constructor()
849 load_config_file (unique_instance->priv->system_file, TRUE); in gda_config_constructor()
868 g_free (conf->priv->system_file); in gda_config_dispose()
957 if ((cstr && conf->priv->system_file && in gda_config_set_property()
958 !strcmp (cstr, conf->priv->system_file)) || in gda_config_set_property()
959 (! cstr && !conf->priv->system_file)) { in gda_config_set_property()
963 g_free (conf->priv->system_file); in gda_config_set_property()
964 conf->priv->system_file = NULL; in gda_config_set_property()
966 conf->priv->system_file = g_strdup (cstr); in gda_config_set_property()
991 g_value_set_string (value, conf->priv->system_file); in gda_config_get_property()
2060 if (unique_instance->priv->system_file) in reload_dsn_configuration()
2061 load_config_file (unique_instance->priv->system_file, TRUE); in reload_dsn_configuration()