Lines Matching refs:directive
55 get_config_option(struct figpar_config options[], const char *directive) in get_config_option() argument
60 if (options == NULL || directive == NULL) in get_config_option()
64 for (n = 0; options[n].directive != NULL; n++) in get_config_option()
65 if (strcmp(options[n].directive, directive) == 0) in get_config_option()
69 figpar_dummy_config.directive = NULL; in get_config_option()
90 char *directive, char *value), uint16_t processing_options) in parse_config() argument
103 char *directive; in parse_config() local
134 directive = value = 0; in parse_config()
201 if ((directive = realloc(directive, n + 1)) == NULL) { in parse_config()
207 r = read(fd, directive, n); in parse_config()
218 directive[n] = '\0'; in parse_config()
222 strtolower(directive); in parse_config()
429 error = unknown(NULL, line, directive, value); in parse_config()
438 for (n = 0; options[n].directive != NULL; n++) { in parse_config()
439 error = fnmatch(options[n].directive, directive, in parse_config()
447 line, directive, value); in parse_config()
464 error = unknown(NULL, line, directive, value); in parse_config()