Lines Matching defs:fp

116 resconf_parsenameserver(irs_resconf_t *conf,  FILE *fp);
118 resconf_parsedomain(irs_resconf_t *conf, FILE *fp);
120 resconf_parsesearch(irs_resconf_t *conf, FILE *fp);
122 resconf_parsesortlist(irs_resconf_t *conf, FILE *fp);
124 resconf_parseoption(irs_resconf_t *ctx, FILE *fp);
130 eatline(FILE *fp) {
133 ch = fgetc(fp);
135 ch = fgetc(fp);
146 eatwhite(FILE *fp) {
149 ch = fgetc(fp);
151 ch = fgetc(fp);
154 ch = eatline(fp);
166 getword(FILE *fp, char *buffer, size_t size) {
176 ch = eatwhite(fp);
190 ch = fgetc(fp);
273 resconf_parsenameserver(irs_resconf_t *conf, FILE *fp) {
281 cp = getword(fp, word, sizeof(word));
285 cp = eatwhite(fp);
299 resconf_parsedomain(irs_resconf_t *conf, FILE *fp) {
304 res = getword(fp, word, sizeof(word));
308 res = eatwhite(fp);
335 resconf_parsesearch(irs_resconf_t *conf, FILE *fp) {
359 delim = getword(fp, word, sizeof(word));
379 delim = getword(fp, word, sizeof(word));
386 resconf_parsesortlist(irs_resconf_t *conf, FILE *fp) {
392 delim = getword(fp, word, sizeof(word));
428 delim = getword(fp, word, sizeof(word));
435 resconf_parseoption(irs_resconf_t *conf, FILE *fp) {
441 delim = getword(fp, word, sizeof(word));
460 delim = getword(fp, word, sizeof(word));
485 FILE *fp = NULL;
513 if ((fp = fopen(filename, "r")) != NULL) {
515 stopchar = getword(fp, word, sizeof(word));
525 rval = resconf_parsenameserver(conf, fp);
527 rval = resconf_parsedomain(conf, fp);
529 rval = resconf_parsesearch(conf, fp);
531 rval = resconf_parsesortlist(conf, fp);
533 rval = resconf_parseoption(conf, fp);
537 stopchar = eatline(fp);
546 fclose(fp);
586 if (fp == NULL)