Lines Matching refs:file
54 struct ini_cfgfile *file;
69 int file;
90 /* Close file descriptor */
96 if (init_data->file != NULL) {
97 ini_config_file_destroy(init_data->file);
98 init_data->file = NULL;
101 if (init_data->file != -1) {
102 close(init_data->file);
103 init_data->file = -1;
110 /* Open configuration file */
118 &init_data->file);
120 return check_and_open_readonly(config_file, &init_data->file, 0, 0,
128 /* Check configuration file permissions */
133 return ini_config_access_check(init_data->file,
153 init_data->cstat = ini_config_get_stat(init_data->file);
160 return fstat(init_data->file, &init_data->cstat);
230 /* Parse file */
231 ret = ini_config_parse(init_data->file,
244 ini_config_get_filename(init_data->file));
301 "Using only main configuration file due to errors in merging\n");
311 init_data->file,
319 "Parse error reading configuration file [%s]\n",
628 "libini_config does not support configuration file validataion\n");
701 "libini_config does not support configuration file validataion\n");