Lines Matching defs:dir
49 struct directory *dir = NULL;
55 if (dir) {
56 dir = dir->next = malloc(sizeof(struct directory));
58 *directories = dir = malloc(sizeof(struct directory));
62 dir->path = strdup(tmp);
63 create_options(configfile, &(dir->options), NULL);
206 char *getoption_directories(struct directory *dir, char *name) {
209 if(!dir)
214 bar = malloc(strlen(dir->path) + 2);
215 strcpy(bar, dir->path);
220 && (getoption(dir->options, name)))
221 longest = dir;
223 if (getoption(dir->options, name))
224 longest = dir;
228 } while ((dir = dir->next));