Lines Matching refs:directive
51 get_config_option(struct figpar_config options[], const char *directive) in get_config_option() argument
56 if (options == NULL || directive == NULL) in get_config_option()
60 for (n = 0; options[n].directive != NULL; n++) in get_config_option()
61 if (strcmp(options[n].directive, directive) == 0) in get_config_option()
65 figpar_dummy_config.directive = NULL; in get_config_option()
86 char *directive, char *value), uint16_t processing_options) in parse_config() argument
99 char *directive; in parse_config() local
130 directive = value = 0; in parse_config()
196 if ((directive = realloc(directive, n + 1)) == NULL) { in parse_config()
202 r = read(fd, directive, n); in parse_config()
213 directive[n] = '\0'; in parse_config()
217 strtolower(directive); in parse_config()
419 error = unknown(NULL, line, directive, value); in parse_config()
428 for (n = 0; options[n].directive != NULL; n++) { in parse_config()
429 error = fnmatch(options[n].directive, directive, in parse_config()
437 line, directive, value); in parse_config()
454 error = unknown(NULL, line, directive, value); in parse_config()