Lines Matching refs:cfgfile
57 char *cfgfile) in _nscd_init() argument
159 if (cfgfile == NULL) { in _nscd_init()
160 cfgfile = "/etc/nscd.conf"; in _nscd_init()
161 if (access(cfgfile, R_OK) != 0) { in _nscd_init()
168 rc = _nscd_cfg_read_file(cfgfile, &err); in _nscd_init()
172 cfgfile, rc, NSCD_ERR2MSG(err)); in _nscd_init()
178 cfgfile, rc); in _nscd_init()
186 if (cfgfile != NULL) { in _nscd_init()
187 cfgfile_save = strdup(cfgfile); in _nscd_init()
199 char *cfgfile; in _nscd_refresh() local
208 cfgfile = "/etc/nscd.conf"; in _nscd_refresh()
210 cfgfile = cfgfile_save; in _nscd_refresh()
212 if (access(cfgfile, R_OK) != 0) { in _nscd_refresh()
215 cfgfile, NSCD_CFG_FILE_ACCESS_ERROR, in _nscd_refresh()
221 rc = _nscd_cfg_read_file(cfgfile, &err); in _nscd_refresh()
225 cfgfile, rc, NSCD_ERR2MSG(err)); in _nscd_refresh()