Lines Matching refs:configfile
4 Subject: [PATCH 2/2] Support parsing <configfile>.d/*.conf
44 +void config_parse_file(const char *configfile) {
52 - if((config_fd = fopen(conf.configfile, "r")) == NULL) {
54 + fprintf(stderr, PROGRAM": Start parsing %s...\n", configfile);
57 + if((config_fd = fopen(configfile, "r")) == NULL) {
59 - conf.configfile, strerror(errno));
60 + configfile, strerror(errno));
68 - error, conf.configfile, line_num);
69 + error, configfile, line_num);
124 - conf.configfile = "/etc/input-event-daemon.conf";
133 + const char *configfile = DEFAULT_CONFIGURE_FILE;
141 - conf.configfile = optarg;
142 + configfile = optarg;
151 + char path[strlen(configfile) + 3];
153 + config_parse_file(configfile);
155 + strcpy(path, configfile);